- Timestamp:
- Dec 16, 2008, 5:24:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Component_vhdl_instance.cpp
r81 r95 27 27 std::list<Interface_fifo *> * list_interface = (_entity)->get_interfaces_list()->get_interface_list(); 28 28 std::list<Interface_fifo *>::iterator j = list_interface->begin(); 29 bool print_comment = false; 29 30 if (not list_interface->empty()) 30 31 { 31 vhdl->set_body ("------------------------------------------------------");32 vhdl->set_body ("-- Output's Buffer");33 vhdl->set_body ("------------------------------------------------------");34 35 32 while (j != list_interface->end()) 36 33 { … … 48 45 (signal->get_connect_from_signal () != NULL) ) 49 46 { 47 if (not print_comment) 48 { 49 vhdl->set_body ("------------------------------------------------------"); 50 vhdl->set_body ("-- Output's Buffer"); 51 vhdl->set_body ("------------------------------------------------------"); 52 53 print_comment = true; 54 } 55 50 56 // Create name 51 57 std::string signal_name = "signal_"+toString(cpt++); … … 67 73 ++j; 68 74 } 69 vhdl->set_body (""); 70 vhdl->set_body ("------------------------------------------------------"); 71 vhdl->set_body (""); 75 76 if (print_comment) 77 { 78 vhdl->set_body (""); 79 vhdl->set_body ("------------------------------------------------------"); 80 vhdl->set_body (""); 81 } 72 82 } 73 83 }
Note: See TracChangeset
for help on using the changeset viewer.