Changeset 131 for trunk/Platforms/Test


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

Location:
trunk/Platforms/Test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Platforms/Test/Makefile

    r130 r131  
    7676OBJECTS                         =       $(patsubst $(PATH_SRC)/%.cpp,$(PATH_OBJ)/%.o,$(SOURCES))
    7777LOGS                            =       $(patsubst $(PATH_DATA)/%.cfg,$(PATH_LOG)/%.log,$(wildcard $(PATH_DATA)/$(DATA)/*.cfg))
    78 EXEC                            =       $(PATH_BIN)/soft.x
     78
     79BIN                             =       Platforms_Test.x
     80EXEC                            =       $(PATH_BIN)/$(BIN)
    7981EXEC_PREFIX                     =       $(NICE) -n $(PRIORITY)
    8082# $(VALGRIND)
  • 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.