Last change
on this file since 61 was
43,
checked in by rosiere, 17 years ago
|
Modif mineur : ajout d'info de débug
Release non stable
|
File size:
924 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 | using namespace std; |
---|
14 | |
---|
15 | namespace morpheo { |
---|
16 | namespace behavioural { |
---|
17 | |
---|
18 | #undef FUNCTION |
---|
19 | #define FUNCTION "Vhdl::set_port" |
---|
20 | void Vhdl::set_port (string name , |
---|
21 | direction_t direction, |
---|
22 | string type ) |
---|
23 | { |
---|
24 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
25 | set_list (_list_port, name + "\t: " + direction_toString(direction) + " " + type); |
---|
26 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
27 | }; |
---|
28 | |
---|
29 | void Vhdl::set_port (string name , |
---|
30 | direction_t direction, |
---|
31 | uint32_t size ) |
---|
32 | { |
---|
33 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
34 | set_port(name,direction,std_logic(size)); |
---|
35 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
36 | }; |
---|
37 | |
---|
38 | }; // end namespace behavioural |
---|
39 | }; // end namespace morpheo |
---|
40 | |
---|
41 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.