Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/11/06 18:49
Read: times


 
#124085 - maybe not quite ...
Responding to: ???'s previous message
A simulator is a computer program that runs on a computer. If it runs the user code without being present in the user's target hardware, it's probably a simulator. I say "probably" only because some hardware emulators will run code without being plugged into the target hardware.

A simulator makes no pretense of excuting in real time. It makes no pretense of reproducing the hardware interactions of the simulated object. It makes limited claim to produce simulated output. A really useful simulator does everything that a hardware emulator does, with the exception of interacting with real hardware. It doesn't matter how slowly of rapidly it runs, aside from allowing the user to go out for lunch while it runs, because all its operations are recorded and can be examined later, it allows the introduction of simulated stimuli from a schedule, and it records the simulator's response to those simulated stimuli.

Some simulators are well-developed and offer features similar to those provided by a monitor running the user code. Others simply offer a raw execution engine interpreting the code and executing it in order to present the effects of each instruction. Usefulness varies a great deal. In most cases, the simulator is capable of showing the logical result of execution of a set of code within a prespecified environment. In the simplest cases, gross assumptions are made about the environment and those can not easily be altered. In most cases, memory contents can be modified, but other hardware simulation is entirely unsupported. In others, the simulator is capable of interpreting an event schedule and processing inputs from that event schedule, producing approriate responses to the stimuli presented. In rare cases, precise timing is calculated in order to provide information about timing in response to scheduled stimuli.

A simulator is software. An emulator is harddware. Emulators interface with the target hardware. They seldom do everything the vendors claim, and, to my experience, NEVER do everything you want. Once you've got 'em, you're stuck.

RE








List of 13 messages in thread
TopicAuthorDate
simulators            01/01/70 00:00      
   can you say "GOOGLE"?            01/01/70 00:00      
      definitely, had I got the answer from GOOGLE w            01/01/70 00:00      
         PIC->MPLAB            01/01/70 00:00      
         Obviously, you didn't look            01/01/70 00:00      
   PIC + ARM            01/01/70 00:00      
      No, NO, NO and NO            01/01/70 00:00      
         difference?            01/01/70 00:00      
            maybe in Timbuktu            01/01/70 00:00      
               maybe not quite ...            01/01/70 00:00      
   On the subject of PIC            01/01/70 00:00      
      Dont mention pics,unless you need a job.            01/01/70 00:00      
         I don't like 'em, but some people do ...            01/01/70 00:00      

Back to Subject List