Jump to content
Sign in to follow this  
TomF

Simulator Speed

Recommended Posts

Not sure if its a bug?

 

If i set the simulator clock to < 100k, the simulator simulates at 100k.

 

Im trying to simulate a device running at 32kHz, and the simulator appears to be running the code at 0.3MHz (300k)

 

?

 

 

 

 

Share this post


Link to post
Share on other sites

TomF

Not sure if its a bug?

 

If i set the simulator clock to < 100k, the simulator simulates at 100k.

 

Im trying to simulate a device running at 32kHz, and the simulator appears to be running the code at 0.3MHz (300k)

Not a bug :-)

 

The simulator always runs as fast as it can.

Telling the simulation environment a different clock rate tells the plugins what the clock speed is. This enables the stopwatch plugin (for example) to report times in standard units rather than just ticks, or the LCD plugin to determine how many clock ticks for it's fixed time delays.

 

Regards

Dave

Share this post


Link to post
Share on other sites

Your content will need to be approved by a moderator

Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×