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