[78] | 1 | #ifdef VHDL |
---|
| 2 | /* |
---|
| 3 | * $Id: Branch_Target_Buffer_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/Branch_Target_Buffer/Branch_Target_Buffer_Glue/include/Branch_Target_Buffer_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 branch_target_buffer { |
---|
| 19 | namespace branch_target_buffer_glue { |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | #undef FUNCTION |
---|
| 23 | #define FUNCTION "Branch_Target_Buffer_Glue::vhdl" |
---|
| 24 | void Branch_Target_Buffer_Glue::vhdl (void) |
---|
| 25 | { |
---|
| 26 | log_printf(FUNC,Branch_Target_Buffer_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,Branch_Target_Buffer_Glue,FUNCTION,"End"); |
---|
| 41 | }; |
---|
| 42 | |
---|
| 43 | }; // end namespace branch_target_buffer_glue |
---|
| 44 | }; // end namespace branch_target_buffer |
---|
| 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 |
---|