Last change
on this file since 138 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:
1.1 KB
|
Rev | Line | |
---|
[78] | 1 | #ifdef VHDL |
---|
| 2 | /* |
---|
| 3 | * $Id: Direction_Glue_vhdl.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Direction_Glue/include/Direction_Glue.h" |
---|
| 10 | #include "Behavioural/include/Vhdl.h" |
---|
| 11 | |
---|
| 12 | namespace morpheo { |
---|
| 13 | namespace behavioural { |
---|
| 14 | namespace core { |
---|
| 15 | namespace multi_front_end { |
---|
| 16 | namespace front_end { |
---|
| 17 | namespace prediction_unit { |
---|
| 18 | namespace direction { |
---|
| 19 | namespace direction_glue { |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | #undef FUNCTION |
---|
| 23 | #define FUNCTION "Direction_Glue::vhdl" |
---|
| 24 | void Direction_Glue::vhdl (void) |
---|
| 25 | { |
---|
| 26 | log_printf(FUNC,Direction_Glue,FUNCTION,"Begin"); |
---|
| 27 | |
---|
| 28 | Vhdl * vhdl = new Vhdl (_name); |
---|
| 29 | |
---|
| 30 | _interfaces->set_port(vhdl); |
---|
| 31 | _component->vhdl_instance(vhdl); |
---|
| 32 | |
---|
| 33 | vhdl_declaration (vhdl); |
---|
| 34 | vhdl_body (vhdl); |
---|
| 35 | |
---|
| 36 | vhdl->generate_file(); |
---|
| 37 | |
---|
| 38 | delete vhdl; |
---|
| 39 | |
---|
| 40 | log_printf(FUNC,Direction_Glue,FUNCTION,"End"); |
---|
| 41 | }; |
---|
| 42 | |
---|
| 43 | }; // end namespace direction_glue |
---|
| 44 | }; // end namespace direction |
---|
| 45 | }; // end namespace prediction_unit |
---|
| 46 | }; // end namespace front_end |
---|
| 47 | }; // end namespace multi_front_end |
---|
| 48 | }; // end namespace core |
---|
| 49 | |
---|
| 50 | }; // end namespace behavioural |
---|
| 51 | }; // end namespace morpheo |
---|
| 52 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.