source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interfaces_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: 810 bytes
Line 
1/*
2 * $Id: Interfaces_set_port.cpp 113 2009-04-14 18:39:12Z 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//         Signal * clock = get_clock();
31//         if (clock != NULL)
32//           vhdl->set_port_clock (clock->get_name());
33      }
34
35    log_printf(FUNC,Behavioural,FUNCTION,"End");
36  };
37#endif
38
39}; // end namespace behavioural         
40}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.