Ignore:
Timestamp:
Jul 8, 2009, 8:40:08 PM (15 years ago)
Author:
rosiere
Message:

1) add constant method
2) test with systemc 2.2.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Platforms/Test/src/test.cpp

    r124 r131  
    322322  //==============================================================================
    323323
    324   sc_clock              *  CLOCK  = new sc_clock ("clock", 1.0, 0.5);   
     324  sc_time period (TIME_PERIOD, TIME_UNIT);
     325  sc_clock              *  CLOCK  = new sc_clock ("clock", period);     
    325326  sc_signal<Tcontrol_t> *  NRESET = new sc_signal<Tcontrol_t> ("NRESET");
    326327
     
    487488
    488489  // initialisation
     490 
    489491  cerr << "<test> Simulation Init" << endl;
    490492
    491   sc_start(0);
     493//   sc_time t (0, TIME_UNIT);
     494//   sc_start(t);
    492495
    493496  cerr << "<test> Simulation Start" << endl;
Note: See TracChangeset for help on using the changeset viewer.