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