Changeset 15 for trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_vhdl_port.cpp
- Timestamp:
- Apr 5, 2007, 4:17:30 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_vhdl_port.cpp
r2 r15 9 9 #include "Behavioural/@DIRECTORY/include/@COMPONENT.h" 10 10 11 #ifdef VHDL_TESTBENCH 12 # define VHDL_SET_PORT(name,direction,size) do {vhdl.set_port (name,direction,size); _vhdl_testbench->set_port (name,direction,size);} while(0) 13 #else 14 # define VHDL_SET_PORT(name,direction,size) vhdl.set_port (name,direction,size) 15 #endif 16 11 17 namespace morpheo { 12 18 namespace behavioural { … … 18 24 19 25 vhdl.set_port (" in_CLOCK" , IN, 1); 20 vhdl.set_port(" in_NRESET", IN, 1);26 VHDL_SET_PORT (" in_NRESET", IN, 1); 21 27 22 28 log_printf(FUNC,@COMPONENT,"vhdl_port","End");
Note: See TracChangeset
for help on using the changeset viewer.