source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Vhdl_set_alias.cpp @ 69

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

Station de reservation : systemC et VHDL ok

File size: 932 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_alias"
20  void Vhdl::set_alias (string      name1 ,
21                        string      type1 ,
22                        string      name2 ,
23                        string      range2)
24  {
25    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
26    set_list(_list_alias, "alias "+ name1+"\t: "+type1+"\tis "+name2+"\t"+range2);
27    log_printf(FUNC,Behavioural,FUNCTION,"End");
28  };
29
30  void Vhdl::set_alias (string      name1 ,
31                        uint32_t    size1 ,
32                        string      name2 ,
33                        string      range2)
34  {
35    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
36    set_alias(name1, std_logic(size1),name2,range2);
37    log_printf(FUNC,Behavioural,FUNCTION,"End");
38  };
39 
40}; // end namespace behavioural         
41}; // end namespace morpheo             
42
43#endif
Note: See TracBrowser for help on using the repository browser.