Searching \ for ' Faster Delay Simulation' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/timers.htm?key=delay
Search entire site for: 'Faster Delay Simulation'.

No exact or substring matches. trying for part
PICList Thread
'[PICLIST] Faster Delay Simulation'
2001\03\12@183010 by Thomas N

picon face
Hi everyone,

I wrote a 1 second delay subroutine in MPLAB and when I simulated it, it
took about 5 minutes (or more) in real-time to finish.  Is there any way I
can speed this delay up? (close to 1 second real time?) I have a Pentium 1G.

Thank you in advance
Thomas
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

--
http://www.piclist.com hint: To leave the PICList
spam_OUTpiclist-unsubscribe-requestTakeThisOuTspammitvma.mit.edu


2001\03\12@185048 by Scott Dattalo

face
flavicon
face
On Mon, 12 Mar 2001, Thomas N wrote:

> Hi everyone,
>
> I wrote a 1 second delay subroutine in MPLAB and when I simulated it, it
> took about 5 minutes (or more) in real-time to finish.  Is there any way I
> can speed this delay up? (close to 1 second real time?) I have a Pentium 1G.

On a 1G pentium, gpsim will simulate that in about 700mSec +/- a few milli
seconds.

http://www.dattalo.com/gnupic/gpsim.html

Scott

--
http://www.piclist.com hint: To leave the PICList
.....piclist-unsubscribe-requestKILLspamspam@spam@mitvma.mit.edu


2001\03\12@203410 by Thomas N

picon face
I think the GPSIM is not designed for Window (it's for Linux).  I am using
Window 98, so this software doesn't work for me.

Is there any tweak in MPLAB to speed up the simulation?
Thomas


{Quote hidden}

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

--
http://www.piclist.com hint: To leave the PICList
@spam@piclist-unsubscribe-requestKILLspamspammitvma.mit.edu


2001\03\12@204651 by Andrew Warren

flavicon
face
Thomas N <KILLspamPICLISTKILLspamspamMITVMA.MIT.EDU> wrote:

> I think the GPSIM is not designed for Window (it's for Linux).  I am
> using Window 98, so this software doesn't work for me.
>
> Is there any tweak in MPLAB to speed up the simulation?

Thomas:

Why not just add a conditional-assembly directive to your code, so
the program will be built dfifferently for the simulator than for the
real product?  For example:

   DEBUG   SET     1       ;1 = Shorten all delay loops.
                           ;0 = Don't.
   ....

   DELAY_1_SECOND:

               IF (DEBUG)
           MOVLW   1       ;Do a short delay for the simulator.
               ELSE
           MOVLW   100     ;Do a normal-length delay.
               ENDIF

           MOVWF   COUNT

           ... delay loop here ...

           DECFSZ  COUNT
           GOTO    LOOP

           RETURN

-Andy


=== Andrew Warren --- RemoveMEaiwTakeThisOuTspamcypress.com
=== IPD Systems Engineering, CYSD
=== Cypress Semiconductor Corporation
===
=== Opinions expressed above do not
=== necessarily represent those of
=== Cypress Semiconductor Corporation

--
http://www.piclist.com hint: To leave the PICList
spamBeGonepiclist-unsubscribe-requestspamBeGonespammitvma.mit.edu


2001\03\12@220423 by Thomas N

picon face
Dear Andy,

It's a great idea.  I never think about it!  So it seems like there is no
"tweak" to speed up MPLAB simulation, right?
Thomas


{Quote hidden}

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

--
http://www.piclist.com hint: To leave the PICList
RemoveMEpiclist-unsubscribe-requestTakeThisOuTspamspammitvma.mit.edu


2001\03\12@222734 by hard Prosser

flavicon
face
There is a utility "speed.exe" available somewhere that can speed up MPLAB
by generating mouse interrupts or something. Possibly the latest version of
MPLAB doesn't benefit but earlier versions did run noticeably faster if you
rattled your mouse around the screen while carrying out simulations.

Richard P



Dear Andy,

It's a great idea.  I never think about it!  So it seems like there is no
"tweak" to speed up MPLAB simulation, right?
Thomas


{Quote hidden}

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

--
http://www.piclist.com hint: To leave the PICList
@spam@piclist-unsubscribe-request@spam@spamspam_OUTmitvma.mit.edu

--
http://www.piclist.com hint: To leave the PICList
spamBeGonepiclist-unsubscribe-requestspamKILLspammitvma.mit.edu


2001\03\12@223639 by Scott Dattalo

face
flavicon
face
On Tue, 13 Mar 2001, Thomas N wrote:

> I think the GPSIM is not designed for Window (it's for Linux).  I am using
> Window 98, so this software doesn't work for me.

gpsim was not designed for Linux per se. I wrote it using GNU/Linux tools. But
some poor speed starved Window's user is trying to port gpsim to Windows.

Scott

--
http://www.piclist.com hint: To leave the PICList
.....piclist-unsubscribe-requestspam_OUTspammitvma.mit.edu


'[PIC]:Re: Faster Delay Simulation'
2001\03\13@030339 by Vasile Surducan

flavicon
face
part 1 26 bytes content-type:TEXT/PLAIN; charset=US-ASCIIhere is speed.zip
Vasile


part 2 15278 bytes content-type:APPLICATION/ZIP; name="speed.zip" (decode)

part 3 154 bytes
--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2001\03\14@013650 by Thomas N

picon face
Thank you for the program, Vasile. It really helps!
Thomas


>From: Vasile Surducan <TakeThisOuTvasile.....spamTakeThisOuTL30.ITIM-CJ.RO>
>Reply-To: pic microcontroller discussion list <TakeThisOuTPICLISTKILLspamspamspamMITVMA.MIT.EDU>
>To: .....PICLISTspamRemoveMEMITVMA.MIT.EDU
>Subject: [PIC]:Re: Faster Delay Simulation
>Date: Tue, 13 Mar 2001 10:01:41 +0200
>
>here is speed.zip
>Vasile
><< speed.zip >>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


More... (looser matching)
- Last day of these posts
- In 2001 , 2002 only
- Today
- New search...