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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/25/05 19:08
Read: times


 
#88481 - Simulator shortcomings
Responding to: ???'s previous message
Erik Malund said:
A simulator can be valuable in working out general problems (e.g. why does the RPM calculator give the wrong result), but only an emulator and help you with specific problems (e.g. why does the RPM not get stored from the port)

Erik

A simulator can sometimes fail to help you figure out even these "general problems" though, as often times some of the conditions inside the simulator do not match those that would be present in physical hardware. For example, simulators often start out with memory zeroed out, whereas this is not typically the case in hardware. I was recently simulating code which summed the elements of an array, and I had a bug in which I included in the sum a byte one past the upper bound of the array. Because that location was otherwise unused, and initialized to zero in the simulator, my code simulated just fine, but generated incorrect results on real hardware.

In short: emulators have a real value.

--Sasha Jevtic

List of 21 messages in thread
TopicAuthorDate
I want to use the cygnal C8051Fxxx            01/01/70 00:00      
   worth $99 of anyone's money?!            01/01/70 00:00      
   What do you expect?            01/01/70 00:00      
   tools            01/01/70 00:00      
   Cygnal            01/01/70 00:00      
      basically free - it depends            01/01/70 00:00      
         Exchange rates            01/01/70 00:00      
            Stuff Farnell            01/01/70 00:00      
               Weird            01/01/70 00:00      
               Which version ?            01/01/70 00:00      
                  Oh well...            01/01/70 00:00      
               Amazing ICE :)            01/01/70 00:00      
                  Amazing ICE            01/01/70 00:00      
      Limits?            01/01/70 00:00      
         Different Limits            01/01/70 00:00      
   Thanks            01/01/70 00:00      
      In Circuit Emulator            01/01/70 00:00      
         Simulator shortcomings            01/01/70 00:00      
            yes            01/01/70 00:00      
               The problem with ICEs...            01/01/70 00:00      
         come out of hiding!            01/01/70 00:00      

Back to Subject List