- Timestamp:
- Jun 7, 2007, 9:13:47 PM (17 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component.cpp
r40 r41 44 44 #endif 45 45 46 #ifdef VHDL_TESTBENCH47 log_printf(INFO,@COMPONENT,"@COMPONENT","Creation of a testbench");48 49 _vhdl_testbench = new Vhdl_Testbench (_name);50 #endif51 52 46 #ifdef VHDL 53 47 // generate the vhdl … … 78 72 log_printf(FUNC,@COMPONENT,"~@COMPONENT","Begin"); 79 73 80 #ifdef VHDL_TESTBENCH81 log_printf(INFO,@COMPONENT,"~@COMPONENT","Generate Testbench file");82 83 // generate the test bench84 _vhdl_testbench->generate_file();85 delete _vhdl_testbench;86 #endif87 88 74 #ifdef STATISTICS 89 75 log_printf(INFO,@COMPONENT,"~@COMPONENT","Generate Statistics file"); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_vhdl_port.cpp
r40 r41 19 19 _interfaces->set_port(vhdl); 20 20 21 #ifdef VHDL_TESTBENCH22 _interfaces->set_port(_vhdl_testbench);23 _vhdl_testbench->set_clock ("in_CLOCK",true);24 #endif25 26 21 log_printf(FUNC,@COMPONENT,"vhdl_port","End"); 27 22 }; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_vhdl_testbench_transition.cpp
r40 r41 20 20 sc_start(0); 21 21 22 _interfaces->testbench(_vhdl_testbench); 23 24 // add_test : 25 // - True : the cycle must be compare with the output of systemC 26 // - False : no test 27 _vhdl_testbench->add_test(true); 28 29 _vhdl_testbench->new_cycle (); // always at the end 22 _interfaces->testbench(); 30 23 31 24 log_printf(FUNC,@COMPONENT,"vhdl_testbench_transition","End");
Note: See TracChangeset
for help on using the changeset viewer.