Rev | Line | |
---|
[2] | 1 | #ifdef VHDL_TESTBENCH |
---|
| 2 | |
---|
| 3 | /* |
---|
| 4 | * $Id$ |
---|
| 5 | * |
---|
| 6 | * [ Description ] |
---|
| 7 | * |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | #include "Behavioural/include/Vhdl_Testbench.h" |
---|
| 11 | |
---|
| 12 | #include <sstream> |
---|
| 13 | using namespace std; |
---|
| 14 | |
---|
| 15 | namespace morpheo { |
---|
| 16 | namespace behavioural { |
---|
| 17 | |
---|
| 18 | void Vhdl_Testbench::set_input (void) |
---|
| 19 | { |
---|
| 20 | string text = ""; |
---|
| 21 | |
---|
| 22 | while (_list_input_cycle.empty() == false) |
---|
| 23 | { |
---|
| 24 | text += _list_input_cycle.front(); |
---|
| 25 | |
---|
| 26 | _list_input_cycle.pop_front(); |
---|
| 27 | } |
---|
| 28 | |
---|
| 29 | _list_input.push_back(text); |
---|
| 30 | }; |
---|
| 31 | |
---|
| 32 | }; // end namespace behavioural |
---|
| 33 | }; // end namespace morpheo |
---|
| 34 | |
---|
| 35 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.