Line | |
---|
1 | #ifdef VHDL |
---|
2 | /* |
---|
3 | * $Id$ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/Generic/RegisterFile/include/RegisterFile.h" |
---|
10 | #include "Behavioural/include/Vhdl.h" |
---|
11 | #include "Include/ToString.h" |
---|
12 | namespace morpheo { |
---|
13 | namespace behavioural { |
---|
14 | namespace generic { |
---|
15 | namespace registerfile { |
---|
16 | |
---|
17 | void RegisterFile::vhdl (void) |
---|
18 | { |
---|
19 | Vhdl vhdl (_name); |
---|
20 | |
---|
21 | vhdl.set_library_work (_name + "_Pack"); |
---|
22 | |
---|
23 | vhdl_port (vhdl); |
---|
24 | vhdl_type (vhdl); |
---|
25 | vhdl_signal (vhdl); |
---|
26 | vhdl_body (vhdl); |
---|
27 | |
---|
28 | vhdl.generate_file(); |
---|
29 | }; |
---|
30 | |
---|
31 | }; // end namespace registerfile |
---|
32 | }; // end namespace generic |
---|
33 | }; // end namespace behavioural |
---|
34 | }; // end namespace morpheo |
---|
35 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.