Ignore:
Timestamp:
Jul 11, 2009, 6:39:35 PM (15 years ago)
Author:
rosiere
Message:

1) add constant method - compatibility with SystemC
2) add Script to test sensitive list
3) fix bug in sensitive list

File:
1 edited

Legend:

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

    r131 r132  
    321321  //===== [ SIGNAL ]==============================================================
    322322  //==============================================================================
    323 
     323#ifdef SYSTEMCASS_SPECIFIC
     324  sc_clock              *  CLOCK  = new sc_clock ("clock", 1.0, 0.5); 
     325#else
    324326  sc_time period (TIME_PERIOD, TIME_UNIT);
    325327  sc_clock              *  CLOCK  = new sc_clock ("clock", period);     
     328#endif
    326329  sc_signal<Tcontrol_t> *  NRESET = new sc_signal<Tcontrol_t> ("NRESET");
    327330
     
    491494  cerr << "<test> Simulation Init" << endl;
    492495
    493 //   sc_time t (0, TIME_UNIT);
    494 //   sc_start(t);
     496  sc_time t (0, TIME_UNIT);
     497  sc_start(t);
    495498
    496499  cerr << "<test> Simulation Start" << endl;
Note: See TracChangeset for help on using the changeset viewer.