|
Last change
on this file since 88 was
88,
checked in by rosiere, 17 years ago
|
|
Almost complete design
with Test and test platform
|
-
Property svn:keywords set to
Id
|
|
File size:
962 bytes
|
| Rev | Line | |
|---|
| [88] | 1 | #ifdef VHDL |
|---|
| 2 | /* |
|---|
| 3 | * $Id: OOO_Engine_Glue_vhdl.cpp 88 2008-12-10 18:31:39Z rosiere $ |
|---|
| 4 | * |
|---|
| 5 | * [ Description ] |
|---|
| 6 | * |
|---|
| 7 | */ |
|---|
| 8 | |
|---|
| 9 | #include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/OOO_Engine_Glue/include/OOO_Engine_Glue.h" |
|---|
| 10 | #include "Behavioural/include/Vhdl.h" |
|---|
| 11 | |
|---|
| 12 | namespace morpheo { |
|---|
| 13 | namespace behavioural { |
|---|
| 14 | namespace core { |
|---|
| 15 | namespace multi_ooo_engine { |
|---|
| 16 | namespace ooo_engine { |
|---|
| 17 | namespace ooo_engine_glue { |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | #undef FUNCTION |
|---|
| 21 | #define FUNCTION "OOO_Engine_Glue::vhdl" |
|---|
| 22 | void OOO_Engine_Glue::vhdl (void) |
|---|
| 23 | { |
|---|
| 24 | log_begin(OOO_Engine_Glue,FUNCTION); |
|---|
| 25 | |
|---|
| 26 | Vhdl * vhdl = new Vhdl (_name); |
|---|
| 27 | |
|---|
| 28 | _interfaces->set_port(vhdl); |
|---|
| 29 | _component->vhdl_instance(vhdl); |
|---|
| 30 | |
|---|
| 31 | vhdl_declaration (vhdl); |
|---|
| 32 | vhdl_body (vhdl); |
|---|
| 33 | |
|---|
| 34 | vhdl->generate_file(); |
|---|
| 35 | |
|---|
| 36 | delete vhdl; |
|---|
| 37 | |
|---|
| 38 | log_end(OOO_Engine_Glue,FUNCTION); |
|---|
| 39 | }; |
|---|
| 40 | |
|---|
| 41 | }; // end namespace ooo_engine_glue |
|---|
| 42 | }; // end namespace ooo_engine |
|---|
| 43 | }; // end namespace multi_ooo_engine |
|---|
| 44 | }; // end namespace core |
|---|
| 45 | |
|---|
| 46 | }; // end namespace behavioural |
|---|
| 47 | }; // end namespace morpheo |
|---|
| 48 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.