source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Vhdl_set_body_component.cpp @ 43

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

Modif mineur : ajout d'info de débug

Release non stable

File size: 790 bytes
Line 
1#ifdef VHDL
2
3/*
4 * $Id$
5 *
6 * [ Description ]
7 *
8 */
9
10#include "Behavioural/include/Vhdl.h"
11
12#include <sstream>
13using namespace std;
14
15namespace morpheo              {
16namespace behavioural          {
17 
18#undef  FUNCTION
19#define FUNCTION "Vhdl::set_body_component"
20  void Vhdl::set_body_component (string         name_instance      ,
21                                 string         name_component     ,
22                                 list<string>   list_port_map      )
23  {
24    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
25
26    set_body(name_instance + " : " + name_component);
27    set_body("port map (");
28    set_list(_list_body, get_list(list_port_map, 1, ",", false));
29    set_body(");");
30
31    log_printf(FUNC,Behavioural,FUNCTION,"End");
32  };
33 
34}; // end namespace behavioural         
35}; // end namespace morpheo             
36
37#endif
Note: See TracBrowser for help on using the repository browser.