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