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

Last change on this file since 71 was 71, checked in by rosiere, 16 years ago

Modification of Statisctics
Add a new systemC component : Load_Store_Queue (tested with one benchmark and one configuration). Store don't supported the Data Buss Error (Load is supported)

File size: 789 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>
13
14namespace morpheo              {
15namespace behavioural          {
16 
17#undef  FUNCTION
18#define FUNCTION "Vhdl::set_body_component"
19  void Vhdl::set_body_component (std::string         name_instance      ,
20                                 std::string         name_component     ,
21                                 std::list<std::string>   list_port_map      )
22  {
23    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
24
25    set_body(name_instance + " : " + name_component);
26    set_body("port map (");
27    set_list(_list_body, get_list(list_port_map, 1, ",", false));
28    set_body(");");
29
30    log_printf(FUNC,Behavioural,FUNCTION,"End");
31  };
32 
33}; // end namespace behavioural         
34}; // end namespace morpheo             
35
36#endif
Note: See TracBrowser for help on using the repository browser.