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

Last change on this file since 42 was 41, checked in by rosiere, 17 years ago

Vhdl_Testbench : Modification du testbench. Maintenant complétement encapsuler dans la classe "Interfaces".
Suppression de la class Vhdl_Testbench dans un avenir proche :D
Suppression du répertoire Configuration.old

File size: 520 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
[29]15  void Interfaces::set_port (Vhdl * & vhdl)
16  {
[31]17    if (not _list_interface->empty())
[29]18      {
[40]19        list<Interface_fifo*>::iterator i     = _list_interface->begin();
[29]20       
[31]21        while (i != _list_interface->end())
[29]22          {
[38]23            (*i)->set_port (vhdl);
[29]24            ++i;
25          }
26      }
27  };
[40]28#endif
[29]29
30}; // end namespace behavioural         
31}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.