Changeset 65 for trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Vhdl_set_body_component_port_map.cpp
- Timestamp:
- Dec 5, 2007, 1:40:16 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Vhdl_set_body_component_port_map.cpp
r43 r65 20 20 void Vhdl::set_body_component_port_map (list<string> & list_port_map , 21 21 string name_port , 22 string name_signal ) 22 uint32_t size_port , 23 string name_signal , 24 uint32_t size_signal ) 23 25 { 24 26 log_printf(FUNC,Behavioural,FUNCTION,"Begin"); 25 set_list(list_port_map, name_port + "\t=>" + name_signal); 27 28 if (size_port > size_signal) 29 throw (ErrorMorpheo ("<Vhdl::set_body_component_port_map> size of port '"+name_port+"' ("+toString(size_port)+") is greater than size of signal '"+name_signal+"' ("+toString(size_signal)+").")); 30 31 string str_size = ""; 32 33 // test if size is different (possible if multi write 34 if (size_port != size_signal) 35 str_size = std_logic_range(size_port); 36 37 set_list(list_port_map, name_port + "\t=>" + name_signal+str_size); 38 26 39 log_printf(FUNC,Behavioural,FUNCTION,"End"); 27 40 };
Note: See TracChangeset
for help on using the changeset viewer.