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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/15/06 21:05
Modified:
  06/15/06 21:09

Read: times


 
#118378 - It's probably less than that
Responding to: ???'s previous message
regarding Craig's comment,

"If you really need clock-cycle-by-clock-cycle simulation, you don't need a simulator: You need an emulator. And do emulators even do that? I've never done clock-cycle-by-clock-cycle simulation or emulation. The smallest degree of step-by-step debugging I've done was one instruction at a time, which may be anywhere from 1 to 48 clock cycles depending on the derivative and instruction. "

I'm sure it's much less than 1% of the user base that needs such device specifics, but, in the case of the various timing-related features that actually modify the length of a cycle, that the simulator should reflect those things. Once the simulator gives you incorrect values, it's no longer a simulator. It should simply not provide false information, since that's less useful than none.

True, it could make simulation slower, but, what difference does an order of magnitude make? The simulation proceeds at a high rate with respect to the simulated processor, so what difference does it make whether it's at 5x or 500x the speed of the simulated processor? The display can only be updated at a fixed rate.

I can assure you that there are no "emulators" that can provide you with software that reflects, accurately, the timing of the 89C4x0 family without a hardware environment. That's not necessary. Back in the "old days" when air was clean and sex was dirty, as they say, I wrote lots of simulations. They were not general in nature, and not in a high-level language, but I do have an idea of what a simulator can and, perhaps, should, do.

What I see as the target of most of the 805x simulators I've seen is the guy who wants to find out whether his code runs at all, which he should be able to determine pretty easily over the ocurse of a few minutes' study. It's not targeted at really simulating THE MCU in THE hardware environment, even if it's a pretty simple one.

I'm thinking it's really not fair to leave users out there without a "real" tool with which to simulate the MCU in its target environment. That means it should have an external event table (a schedule) to check for external events, at a minimum, and, perhaps it should be treated more as a hardware device rather than as a software vehicle.

Hardware product vendors seldom produce models of their devices that enable one to simulate them with a simulator capable of integrating them with other vendors' products. SPICE provides a means that might enable that to happen. It's already happened for analog components. If only there were enough pressure to get vendors to support their MCU's with SPICE and IBIS models.

RE




List of 39 messages in thread
TopicAuthorDate
Keilc51 demo version is far too limited            01/01/70 00:00      
   Bona fide?            01/01/70 00:00      
   Raisonance limit is 4k            01/01/70 00:00      
   thats what demo versions are for            01/01/70 00:00      
      I cahllemge you            01/01/70 00:00      
         amazing deduction            01/01/70 00:00      
   hmmm            01/01/70 00:00      
      The 805x series has "gotten away"            01/01/70 00:00      
      Pot. Kettle. Black.            01/01/70 00:00      
         ha ha ha            01/01/70 00:00      
   maybe....            01/01/70 00:00      
      That's why SDCC is preferable            01/01/70 00:00      
         Keil lifetime and SDCC?            01/01/70 00:00      
            Room for improvement.            01/01/70 00:00      
               It happens            01/01/70 00:00      
   the eval is purely a misnomer            01/01/70 00:00      
      Marketingspeak            01/01/70 00:00      
         Well, maybe he's a shill ... or a pimp            01/01/70 00:00      
            what is "device support?" for a compiler            01/01/70 00:00      
               Yes, that's part of it ...            01/01/70 00:00      
                  Pow, smack, whack...            01/01/70 00:00      
                     when you get what you need who cares abo            01/01/70 00:00      
                        You're absolutely right ... sadly enough            01/01/70 00:00      
                           Wrong tool            01/01/70 00:00      
                              you overstate greatly            01/01/70 00:00      
                                 consider the one-clocker            01/01/70 00:00      
                                    I have heard/read they kind of do            01/01/70 00:00      
                                       but only "sort-of"            01/01/70 00:00      
                                          derivative specific and general            01/01/70 00:00      
                                             They should admit they don't            01/01/70 00:00      
                                                the problem is            01/01/70 00:00      
                                                   That's not where the argument should be            01/01/70 00:00      
                              It's probably less than that            01/01/70 00:00      
                                 One more thing ...            01/01/70 00:00      
   Evaluation            01/01/70 00:00      
   well anyway            01/01/70 00:00      
      Open Source            01/01/70 00:00      
         of course,once ive finished everything            01/01/70 00:00      
   wickenhaeuser compiler            01/01/70 00:00      

Back to Subject List