Last change
on this file since 107 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
771 bytes
|
Rev | Line | |
---|
[67] | 1 | #ifdef VHDL |
---|
| 2 | /* |
---|
| 3 | * $Id: Queue_vhdl.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/Generic/Queue/include/Queue.h" |
---|
| 10 | #include "Behavioural/include/Vhdl.h" |
---|
| 11 | |
---|
| 12 | namespace morpheo { |
---|
| 13 | namespace behavioural { |
---|
| 14 | namespace generic { |
---|
| 15 | namespace queue { |
---|
| 16 | |
---|
| 17 | |
---|
| 18 | #undef FUNCTION |
---|
| 19 | #define FUNCTION "Queue::vhdl" |
---|
| 20 | void Queue::vhdl (void) |
---|
| 21 | { |
---|
| 22 | log_printf(FUNC,Queue,FUNCTION,"Begin"); |
---|
| 23 | |
---|
| 24 | Vhdl * vhdl = new Vhdl (_name); |
---|
| 25 | |
---|
| 26 | _interfaces->set_port(vhdl); |
---|
| 27 | _component->vhdl_instance(vhdl); |
---|
| 28 | |
---|
| 29 | vhdl_declaration (vhdl); |
---|
| 30 | vhdl_body (vhdl); |
---|
| 31 | |
---|
| 32 | vhdl->generate_file(); |
---|
| 33 | |
---|
| 34 | delete vhdl; |
---|
| 35 | |
---|
| 36 | log_printf(FUNC,Queue,FUNCTION,"End"); |
---|
| 37 | }; |
---|
| 38 | |
---|
| 39 | }; // end namespace queue |
---|
| 40 | }; // end namespace generic |
---|
| 41 | |
---|
| 42 | }; // end namespace behavioural |
---|
| 43 | }; // end namespace morpheo |
---|
| 44 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.