source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interfaces_set_signal.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: 717 bytes
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Interfaces.h"
9
10
11namespace morpheo              {
12namespace behavioural          {
13
14#ifdef VHDL
15#  ifdef VHDL_TESTBENCH
16#undef  FUNCTION
17#define FUNCTION "Interfaces::set_signal"
18  void Interfaces::set_signal (Vhdl * & vhdl)
19  {
20    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
21    if (not _list_interface->empty())
22      {
23        std::list<Interface_fifo*>::iterator i = _list_interface->begin();
24       
25        while (i != _list_interface->end())
26          {
27            (*i)->set_signal (vhdl);
28            ++i;
29          }
30      }
31    log_printf(FUNC,Behavioural,FUNCTION,"End");
32  };
33#  endif
34#endif
35
36}; // end namespace behavioural         
37}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.