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

Last change on this file since 2 was 2, checked in by kane, 17 years ago

Import Morpheo

File size: 627 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  void Vhdl::set_body_component (string         name_instance      ,
19                                 string         name_component     ,
20                                 list<string>   list_port_map      )
21  {
22    set_body(name_instance + " : " + name_component);
23    set_body("port map (");
24    set_list(_list_body, get_list(list_port_map, 1, ",", false));
25    set_body(");");
26  };
27 
28}; // end namespace behavioural         
29}; // end namespace morpheo             
30
31#endif
Note: See TracBrowser for help on using the repository browser.