Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

[SOLVED] Real PIC Simulator Simulation Speed

Status
Not open for further replies.

tahir4awan

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

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
14,696
Helped
4,804
Reputation
9,625
Reaction score
4,585
Trophy points
1,393
Location
Aberdyfi, West Wales, UK
Activity points
125,207
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
202
Helped
16
Reputation
32
Reaction score
16
Trophy points
1,308
Location
Germany
Activity points
3,032
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
244
Helped
32
Reputation
64
Reaction score
29
Trophy points
1,308
Location
Malappuram, India
Activity points
2,468
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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top