source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Vhdl_Testbench_set_input.cpp @ 2

Last change on this file since 2 was 2, checked in by kane, 17 years ago

Import Morpheo

File size: 557 bytes
Line 
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>
13using namespace std;
14
15namespace morpheo              {
16namespace 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.