source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interface_set_port.cpp @ 113

Last change on this file since 113 was 113, checked in by rosiere, 15 years ago

1) Add modelsim simulation systemC
2) Modelsim cosimulation systemC / VHDL is not finish !!!! (cf execute_queue and write_unit)
3) Add multi architecture
5) Add template for comparator, multiplier and divider
6) Change Message
Warning) Various test macro have change, many selftest can't compile

  • Property svn:keywords set to Id
File size: 625 bytes
Line 
1/*
2 * $Id: Interface_set_port.cpp 113 2009-04-14 18:39:12Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Interface.h"
9
10
11namespace morpheo              {
12namespace behavioural          {
13
14#ifdef VHDL
15  void Interface::set_port (Vhdl * & vhdl)
16  {
17    log_printf(FUNC,Behavioural,"set_port (Vhdl)","Begin");
18    if (not _list_signal->empty())
19      {
20        std::list<Signal*>::iterator i     = _list_signal->begin();
21       
22        while (i != _list_signal->end())
23          {
24            (*i)->set_port (vhdl);
25            ++i;
26          }
27      }
28
29    log_printf(FUNC,Behavioural,"set_port (Vhdl)","End");
30  };
31#endif
32
33}; // end namespace behavioural         
34}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.