Changeset 53 for trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/SelfTest/src/test.cpp
- Timestamp:
- Sep 6, 2007, 6:30:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/SelfTest/src/test.cpp
r50 r53 33 33 cout << "<" << name << "> : Simulation SystemC" << endl; 34 34 35 #ifdef STATISTICS 36 morpheo::behavioural::Parameters_Statistics * _parameters_statistics = new morpheo::behavioural::Parameters_Statistics (5,50); 37 #endif 38 35 39 @COMPONENT * _@COMPONENT = new @COMPONENT (name.c_str(), 36 40 #ifdef STATISTICS 37 morpheo::behavioural::Parameters_Statistics(5,50),41 _parameters_statistics, 38 42 #endif 39 *_param);43 _param); 40 44 41 45 #ifdef SYSTEMC … … 43 47 * Déclarations des signaux 44 48 *********************************************************************/ 45 sc_clock * CLOCK;46 sc_signal<Tcontrol_t> * NRESET;49 sc_clock * in_CLOCK; 50 sc_signal<Tcontrol_t> * in_NRESET; 47 51 48 52 string rename; 49 53 50 CLOCK= new sc_clock ("clock", 1.0, 0.5);51 NRESET= new sc_signal<Tcontrol_t> ("NRESET");54 in_CLOCK = new sc_clock ("clock", 1.0, 0.5); 55 in_NRESET = new sc_signal<Tcontrol_t> ("NRESET"); 52 56 53 57 /******************************************************** … … 57 61 cout << "<" << name << "> Instanciation of _@COMPONENT" << endl; 58 62 59 (*(_@COMPONENT->in_CLOCK)) (*( CLOCK));60 (*(_@COMPONENT->in_NRESET)) (*( NRESET));63 (*(_@COMPONENT->in_CLOCK)) (*(in_CLOCK)); 64 (*(_@COMPONENT->in_NRESET)) (*(in_NRESET)); 61 65 62 66 … … 100 104 101 105 delete _@COMPONENT; 106 #ifdef SYSTEMC 107 delete _parameters_statistics; 108 #endif 102 109 }
Note: See TracChangeset
for help on using the changeset viewer.