source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interface_testbench.cpp @ 75

Last change on this file since 75 was 75, checked in by rosiere, 16 years ago

Update all component (except front_end) to :

  • new statistics model
  • no namespace std
File size: 654 bytes
RevLine 
[38]1#ifdef VHDL_TESTBENCH
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/include/Interface.h"
10#include "Behavioural/include/Entity.h"
11
12namespace morpheo              {
13namespace behavioural          {
14
[41]15  void Interface::testbench (void)
[40]16  {
[38]17    log_printf(FUNC,Behavioural,"testbench","Begin");
18
19    if (_list_signal->empty()== false)
20      {
[75]21        std::list<Signal*>::iterator i     = _list_signal->begin();
[38]22
23        while (i != _list_signal->end())
24          {
[41]25            (*i)->testbench();
[38]26            ++i;
27          }
28      }
29
30    log_printf(FUNC,Behavioural,"testbench","End");
31  };
32
33}; // end namespace behavioural         
34}; // end namespace morpheo             
35#endif
Note: See TracBrowser for help on using the repository browser.