- Timestamp:
- Dec 12, 2007, 5:02:47 PM (17 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component
- Files:
-
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/include/New_Component.h
r57 r69 108 108 #endif 109 109 110 #ifdef VHDL_TESTBENCH 111 private : void vhdl_testbench_transition (void); 112 #endif 110 private : void end_cycle (void); 113 111 }; 114 112 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_end_cycle.cpp
r59 r69 1 #ifdef VHDL_TESTBENCH2 1 /* 3 2 * $Id$ … … 9 8 #include "Behavioural/@DIRECTORY/include/@COMPONENT.h" 10 9 11 namespace morpheo 10 namespace morpheo { 12 11 namespace behavioural { 13 12 @NAMESPACE_BEGIN 14 13 15 14 #undef FUNCTION 16 #define FUNCTION "@COMPONENT:: vhdl_testbench_transition"17 void @COMPONENT::vhdl_testbench_transition()15 #define FUNCTION "@COMPONENT::end_cycle" 16 void @COMPONENT::end_cycle () 18 17 { 19 18 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 20 19 20 #ifdef STATISTICS 21 _stat->add(); 22 #endif 23 24 #ifdef VHDL_TESTBENCH 21 25 // Evaluation before read the ouput signal 22 // sc_start(0); 23 26 // sc_start(0); 24 27 _interfaces->testbench(); 28 #endif 25 29 26 30 log_printf(FUNC,@COMPONENT,FUNCTION,"End"); … … 30 34 }; // end namespace behavioural 31 35 }; // end namespace morpheo 32 #endif -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_transition.cpp
r53 r69 20 20 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); 21 21 22 #ifdef STATISTICS 23 _stat->add(); 24 #endif 25 26 #ifdef VHDL_TESTBENCH 27 vhdl_testbench_transition (); 28 #endif 22 end_cycle (); 29 23 30 24 log_printf(FUNC,@COMPONENT,FUNCTION,"End");
Note: See TracChangeset
for help on using the changeset viewer.