| Line | |
|---|
| 1 | #ifdef VHDL |
|---|
| 2 | /* |
|---|
| 3 | * $Id$ |
|---|
| 4 | * |
|---|
| 5 | * [ Description ] |
|---|
| 6 | * |
|---|
| 7 | */ |
|---|
| 8 | |
|---|
| 9 | #include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue/include/Register_unit_Glue.h" |
|---|
| 10 | #include "Behavioural/include/Vhdl.h" |
|---|
| 11 | |
|---|
| 12 | namespace morpheo { |
|---|
| 13 | namespace behavioural { |
|---|
| 14 | namespace core { |
|---|
| 15 | namespace multi_execute_loop { |
|---|
| 16 | namespace execute_loop { |
|---|
| 17 | namespace register_unit { |
|---|
| 18 | namespace register_unit_glue { |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | #undef FUNCTION |
|---|
| 22 | #define FUNCTION "Register_unit_Glue::vhdl" |
|---|
| 23 | void Register_unit_Glue::vhdl (void) |
|---|
| 24 | { |
|---|
| 25 | log_printf(FUNC,Register_unit_Glue,FUNCTION,"Begin"); |
|---|
| 26 | |
|---|
| 27 | Vhdl * vhdl = new Vhdl (_name); |
|---|
| 28 | |
|---|
| 29 | _interfaces->set_port(vhdl); |
|---|
| 30 | _component->vhdl_instance(vhdl); |
|---|
| 31 | |
|---|
| 32 | vhdl_declaration (vhdl); |
|---|
| 33 | vhdl_body (vhdl); |
|---|
| 34 | |
|---|
| 35 | vhdl->generate_file(); |
|---|
| 36 | |
|---|
| 37 | delete vhdl; |
|---|
| 38 | |
|---|
| 39 | log_printf(FUNC,Register_unit_Glue,FUNCTION,"End"); |
|---|
| 40 | }; |
|---|
| 41 | |
|---|
| 42 | }; // end namespace register_unit_glue |
|---|
| 43 | }; // end namespace register_unit |
|---|
| 44 | }; // end namespace execute_loop |
|---|
| 45 | }; // end namespace multi_execute_loop |
|---|
| 46 | }; // end namespace core |
|---|
| 47 | |
|---|
| 48 | }; // end namespace behavioural |
|---|
| 49 | }; // end namespace morpheo |
|---|
| 50 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.