source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Vhdl_set_alias.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: 946 bytes
RevLine 
[2]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 
[43]17#undef  FUNCTION
18#define FUNCTION "Vhdl::set_alias"
[71]19  void Vhdl::set_alias (std::string      name1 ,
20                        std::string      type1 ,
21                        std::string      name2 ,
22                        std::string      range2)
[2]23  {
[43]24    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
[2]25    set_list(_list_alias, "alias "+ name1+"\t: "+type1+"\tis "+name2+"\t"+range2);
[43]26    log_printf(FUNC,Behavioural,FUNCTION,"End");
[2]27  };
[69]28
[71]29  void Vhdl::set_alias (std::string      name1 ,
[69]30                        uint32_t    size1 ,
[71]31                        std::string      name2 ,
32                        std::string      range2)
[69]33  {
34    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
35    set_alias(name1, std_logic(size1),name2,range2);
36    log_printf(FUNC,Behavioural,FUNCTION,"End");
37  };
[2]38 
39}; // end namespace behavioural         
40}; // end namespace morpheo             
41
42#endif
Note: See TracBrowser for help on using the repository browser.