Changeset 132 for trunk/Platforms


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

Location:
trunk/Platforms/Test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Platforms/Test/data/debug/debug.cfg

    r129 r132  
    11${MORPHEO_TOPLEVEL}/IPs/systemC/processor/Morpheo/Files/debug.sim
    22${MORPHEO_TOPLEVEL}/IPs/systemC/processor/Morpheo/Files/Morpheo.gen
    3 ${MORPHEO_TOPLEVEL}/IPs/systemC/processor/Morpheo/Files/Instance_x1_w1_0.cfg
     3${MORPHEO_TOPLEVEL}/IPs/systemC/processor/Morpheo/Files/Instance_x1_w1_1.cfg
    44${MORPHEO_TOPLEVEL}/Softwares/Test/Test_000/bin/soft.x
    550
  • 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.