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