Last change
on this file since 128 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:
526 bytes
|
Rev | Line | |
---|
[88] | 1 | #ifdef VHDL |
---|
| 2 | /* |
---|
| 3 | * $Id: Morpheo_vhdl.cpp 88 2008-12-10 18:31:39Z rosiere $ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "TopLevel/include/Morpheo.h" |
---|
| 10 | #include "Behavioural/include/Vhdl.h" |
---|
| 11 | |
---|
| 12 | namespace morpheo { |
---|
| 13 | |
---|
| 14 | using namespace behavioural; |
---|
| 15 | |
---|
| 16 | #undef FUNCTION |
---|
| 17 | #define FUNCTION "Morpheo::vhdl" |
---|
| 18 | void Morpheo::vhdl (void) |
---|
| 19 | { |
---|
| 20 | log_begin(Morpheo,FUNCTION); |
---|
| 21 | |
---|
| 22 | Vhdl * vhdl = new Vhdl (_name); |
---|
| 23 | |
---|
| 24 | _interfaces->set_port(vhdl); |
---|
| 25 | _component->vhdl_instance(vhdl); |
---|
| 26 | |
---|
| 27 | vhdl->generate_file(); |
---|
| 28 | |
---|
| 29 | delete vhdl; |
---|
| 30 | |
---|
| 31 | log_end(Morpheo,FUNCTION); |
---|
| 32 | }; |
---|
| 33 | |
---|
| 34 | }; // end namespace morpheo |
---|
| 35 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.