- Timestamp:
- Jun 7, 2007, 9:13:47 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Vhdl_Testbench_get_output.cpp
r2 r41 16 16 namespace behavioural { 17 17 18 uint32_t Vhdl_Testbench::get_output (void)19 {20 list<string>::iterator i = _list_output.begin();18 // uint32_t Vhdl_Testbench::get_output (void) 19 // { 20 // list<string>::iterator i = _list_output.begin(); 21 21 22 uint32_t counter = 0;22 // uint32_t counter = 0; 23 23 24 if (i != _list_output.end())25 {26 _vhdl->set_body ("");27 _vhdl->set_body ("with testbench_counter select");28 _vhdl->set_body ("\ttestbench_test <=");24 // if (i != _list_output.end()) 25 // { 26 // _vhdl->set_body (""); 27 // _vhdl->set_body ("with testbench_counter select"); 28 // _vhdl->set_body ("\ttestbench_test <="); 29 29 30 while (i != _list_output.end())31 {32 list<string>::iterator j = i;33 ++i;30 // while (i != _list_output.end()) 31 // { 32 // list<string>::iterator j = i; 33 // ++i; 34 34 35 if (i != _list_output.end())36 _vhdl->set_body ("\t\""+*j+"\" when "+toString(counter++)+",");37 else38 _vhdl->set_body ("\t\""+*j+"\" when others;");39 }40 }35 // if (i != _list_output.end()) 36 // _vhdl->set_body ("\t\""+*j+"\" when "+toString(counter++)+","); 37 // else 38 // _vhdl->set_body ("\t\""+*j+"\" when others;"); 39 // } 40 // } 41 41 42 return counter;43 };42 // return counter; 43 // }; 44 44 45 45 }; // end namespace behavioural
Note: See TracChangeset
for help on using the changeset viewer.