Last change
on this file since 96 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: Return_Address_Stack_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/Return_Address_Stack/include/Return_Address_Stack.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 return_address_stack { |
---|
| 19 | |
---|
| 20 | |
---|
| 21 | #undef FUNCTION |
---|
| 22 | #define FUNCTION "Return_Address_Stack::vhdl" |
---|
| 23 | void Return_Address_Stack::vhdl (void) |
---|
| 24 | { |
---|
| 25 | log_printf(FUNC,Return_Address_Stack,FUNCTION,"Begin"); |
---|
| 26 | |
---|
| 27 | Vhdl * vhdl = new Vhdl (_name); |
---|
| 28 | |
---|
| 29 | _interfaces->set_port(vhdl); |
---|
| 30 | _component->vhdl_instance(vhdl); |
---|
| 31 | |
---|
| 32 | vhdl_declaration (vhdl); |
---|
| 33 | vhdl_body (vhdl); |
---|
| 34 | |
---|
| 35 | vhdl->generate_file(); |
---|
| 36 | |
---|
| 37 | delete vhdl; |
---|
| 38 | |
---|
| 39 | log_printf(FUNC,Return_Address_Stack,FUNCTION,"End"); |
---|
| 40 | }; |
---|
| 41 | |
---|
| 42 | }; // end namespace return_address_stack |
---|
| 43 | }; // end namespace prediction_unit |
---|
| 44 | }; // end namespace front_end |
---|
| 45 | }; // end namespace multi_front_end |
---|
| 46 | }; // end namespace core |
---|
| 47 | |
---|
| 48 | }; // end namespace behavioural |
---|
| 49 | }; // end namespace morpheo |
---|
| 50 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.