- Timestamp:
- Apr 14, 2009, 8:39:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Vhdl_set_body_component.cpp
r81 r113 17 17 #undef FUNCTION 18 18 #define FUNCTION "Vhdl::set_body_component" 19 void Vhdl::set_body_component (std::string name_instance , 20 std::string name_component , 21 std::list<std::string> list_port_map ) 19 void Vhdl::set_body_component (std::string name_instance , 20 std::string name_component , 21 std::string name_architecture, 22 std::string name_package , 23 std::list<std::string> list_port_map ) 22 24 { 23 25 log_printf(FUNC,Behavioural,FUNCTION,"Begin"); 24 26 25 set_body(name_instance + " : " + name_component); 27 name_architecture = test_architecture(name_architecture); 28 29 set_body(name_instance + " : entity " + name_package + "." + name_component + " (" + name_architecture + ")"); 30 // set_body(name_instance + " : " + name_component); 26 31 set_body("port map ("); 27 set_list(_ list_body, get_list(list_port_map, 1, ",", false));32 set_list(_architecture[name_architecture]._list_body, get_list(list_port_map, 1, ",", false)); 28 33 set_body(");"); 29 34
Note: See TracChangeset
for help on using the changeset viewer.