[2] | 1 | #ifdef VHDL |
---|
| 2 | /* |
---|
| 3 | * $Id: Two_Level_Branch_Predictor_vhdl.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
[48] | 9 | #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h" |
---|
[2] | 10 | #include "Behavioural/include/Vhdl.h" |
---|
| 11 | |
---|
| 12 | namespace morpheo { |
---|
| 13 | namespace behavioural { |
---|
[48] | 14 | namespace core { |
---|
| 15 | namespace multi_front_end { |
---|
| 16 | namespace front_end { |
---|
| 17 | namespace prediction_unit { |
---|
| 18 | namespace direction { |
---|
| 19 | |
---|
[2] | 20 | namespace meta_predictor { |
---|
| 21 | namespace two_level_branch_predictor { |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | void Two_Level_Branch_Predictor::vhdl (void) |
---|
| 25 | { |
---|
| 26 | log_printf(FUNC,Two_Level_Branch_Predictor,"vhdl","Begin"); |
---|
[43] | 27 | |
---|
[42] | 28 | Vhdl * vhdl = new Vhdl (_name); |
---|
[2] | 29 | |
---|
[43] | 30 | _interfaces->set_port (vhdl); |
---|
| 31 | _component ->vhdl_instance(vhdl); |
---|
| 32 | |
---|
[2] | 33 | vhdl_declaration (vhdl); |
---|
| 34 | vhdl_body (vhdl); |
---|
| 35 | |
---|
[42] | 36 | vhdl->generate_file(); |
---|
| 37 | |
---|
| 38 | delete vhdl; |
---|
| 39 | |
---|
[2] | 40 | log_printf(FUNC,Two_Level_Branch_Predictor,"vhdl","End"); |
---|
| 41 | |
---|
| 42 | }; |
---|
| 43 | |
---|
| 44 | }; // end namespace two_level_branch_predictor |
---|
| 45 | }; // end namespace meta_predictor |
---|
| 46 | |
---|
[48] | 47 | }; // end namespace core |
---|
| 48 | }; // end namespace multi_front_end |
---|
| 49 | }; // end namespace front_end |
---|
| 50 | }; // end namespace prediction_unit |
---|
| 51 | }; // end namespace direction |
---|
| 52 | |
---|
| 53 | |
---|
[2] | 54 | }; // end namespace behavioural |
---|
| 55 | }; // end namespace morpheo |
---|
| 56 | #endif |
---|