source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interfaces_set_port.cpp @ 81

Last change on this file since 81 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 682 bytes
Line 
1/*
2 * $Id: Interfaces_set_port.cpp 81 2008-04-15 18:40:01Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Interfaces.h"
9
10
11namespace morpheo              {
12namespace behavioural          {
13
14#ifdef VHDL
15#undef  FUNCTION
16#define FUNCTION "Interfaces::set_port"
17  void Interfaces::set_port (Vhdl * & vhdl)
18  {
19    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
20    if (not _list_interface->empty())
21      {
22        std::list<Interface_fifo*>::iterator i     = _list_interface->begin();
23       
24        while (i != _list_interface->end())
25          {
26            (*i)->set_port (vhdl);
27            ++i;
28          }
29      }
30    log_printf(FUNC,Behavioural,FUNCTION,"End");
31  };
32#endif
33
34}; // end namespace behavioural         
35}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.