Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Real PIC Simulator Simulation Speed

Status
Not open for further replies.

tahir4awan

Full Member level 4
Joined
Nov 29, 2010
Messages
207
Helped
16
Reputation
32
Reaction score
17
Trophy points
1,308
Location
Germany
Activity points
3,067

I use Real PIC Simulator for simulation. But there is a problem of simulation speed.
There are two speeds given in the software
1) Simulation Speed
2) Real Speed

There is a very big difference of timing in real world and software.When I make projects which work in seconds the software works in milliseconds.I mean I made a counter with a clock speed of 1 HZ but when I tested the program in software it was working in milliseconds.
When I changed real speed option given in the software it has no effect.
But changing Simulation speed does slows down the speed.
The problem is how can we know that calculation we have done in our program will work same when we use in real world because there is no option in the software. Please help me if you know about this software.
 

betwixt

Super Moderator
Staff member
Joined
Jul 4, 2009
Messages
15,571
Helped
5,036
Reputation
10,096
Reaction score
4,876
Trophy points
1,393
Location
Aberdyfi, West Wales, UK
Activity points
131,972
I would guess 'simulation' speed is deliberately slowed down so you can visualize the operations and 'Real' sped is as fast as the simulator will run. That depends entirely on the speed of the computer though and will be different from one machie and OS to another. I don't use this software but I would think it safe to consider 'Real' actually means 'unrestricted', in other words not deliberately slowed down. If there is an execution (running) time indicator it will show how many clock cycles have occurred and from that and the clock speed it can show what time would have elapsed in reality. Comparing it to a wall clock proably isn't a valid comparison.

Brian.
 

tahir4awan

Full Member level 4
Joined
Nov 29, 2010
Messages
207
Helped
16
Reputation
32
Reaction score
17
Trophy points
1,308
Location
Germany
Activity points
3,067
I did use Proteus 7 but I don't think Proteus is a real time simulation software because it works with and without Supply voltage. It works with and without clock frequency. I don't think it can be used for real time calculation.
 

thunderboympm

Full Member level 5
Joined
Sep 17, 2007
Messages
243
Helped
32
Reputation
64
Reaction score
29
Trophy points
1,308
Location
Malappuram, India
Activity points
2,469
that is true. But the timing will be accurate. In my experience, the real time that told will be true in my all experiments
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top