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