[Ktechlab-devel] Multiple PIC clock speeds
    P Zoltan 
    zoltan.padrah at gmail.com
       
    Fri Oct 16 23:42:28 UTC 2009
    
    
  
  I've comitted changes to the trunk that allow setting the clock frequency  
(steps per iteration) for gpsim processors. The current implementation  
allows setting different clock speeds to different PIC instances; however  
I consider the changes a but hacky. Please review it and maybe give some  
ideas.
  piccomponent
- added property "clock_mhz"
- in data changes, if gpsim processor not null, set step/iteration.
    It annoys me that the data changed is called even if the gpsim  
processor is null. Whould there be a warning?
- on creation of gpsim processor, set step/iteration
gpsim processor:
- private member added
- get/set method for it
  Maybe the new member should be set up in constructor...
simulator:
- iterate through the gpsim simulators and run each for the specified steps
  Please test it.
    
    
More information about the Ktechlab-devel
mailing list