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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/14/06 19:27
Read: times


 
#118321 - consider the one-clocker
Responding to: ???'s previous message
I have to agree that only a very few people actually care about precise simulation. In fact, I'd speculate that the ones who care most about the simulator are the same ones who really don't know ahead of time whether their code is properly designed at all.

As an example, however, I can suggest you consider the one-clocker with the serial port in synchronous mode, i.e. mode 0. That's not a common thing to use anyway, BUT, since the mfg, e.g. Dallas, in the case in which I'm interested, doesnt' tell the little guy anything about the timing of the transmitter or receiver interrupt bit, relative to the instruction sequence, I'm thinking that a simulator author might have enough clout to get 'em to turn loose of that information. With the Dallas one-clocker, for example, you still have to "get around the loop" after clearing the interrupt flag in time to reload the data buffer before the next bit goes undefined. The relationship between the instruction execution engine and the shift register is quite critical. Given proper information input, it would be possible to determine whether a given sequence of instructions, any number of which could possibly be adequate, but some of which clearly would not be, the simulator could save a lot of time with logic analyzer, 'scope, or whatever, and yield useful information more readily. Now, that's just one rather contrived example, but I think, in light of the various timing options available in the DS89C4x0 series, it's a good example of where one could benefit from a precise timing simulation.

The thing that would interest me even more, about such a simulator, would be that it enables one to determine durations of sequences that force changes in the MCU timing. The overarching desire, of course, is to know how long it takes to get from here to there, not in the general case, but in this specific set of code, which does this specific set of things. The goal, of course, is to avoid having to set up hardware in order to make such an estimate or verify it.

Sadly, the KEIL tools don't tell you about how long it takes to get from here to there, nor do they exhibit any features that would help with the problem I posed. They don't support any kind of timing simulation, in fact, if you use the "page-mode" external memory addressing that the Dallas one-clockers support. In fact, when I contacted the KEIL folks about this matter, the answer I got, simply put, was that it was not possible to determine the timing, which, of course, is entirely incorrect. The person with whom I was in contact clearly felt that the memory timing was not deterministic, which, of course, it is, given that one has the entire set of code on hand for any given simulation. What I gathered from that exchange was that they really didn't know that the DS89C4x0 types were one-clockers, and that they have a wide range of variable timings that can be altered under firmware control. They also didn't recognize what the page-mode or extended timings for external memory access really were, so their simulation was incapable of yielding reliable precise timing under any circumstances.

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