[2] | 1 | #ifdef VHDL |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 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/Pattern_History_Table/include/Pattern_History_Table.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 | namespace pattern_history_table { |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | void Pattern_History_Table::vhdl (void) |
---|
| 26 | { |
---|
| 27 | log_printf(FUNC,Pattern_History_Table,"vhdl","Begin"); |
---|
[43] | 28 | |
---|
[42] | 29 | Vhdl * vhdl = new Vhdl (_name); |
---|
[2] | 30 | |
---|
[43] | 31 | _interfaces->set_port (vhdl); |
---|
| 32 | _component ->vhdl_instance(vhdl); |
---|
[2] | 33 | |
---|
| 34 | vhdl_declaration (vhdl); |
---|
| 35 | vhdl_body (vhdl); |
---|
| 36 | |
---|
[42] | 37 | vhdl->generate_file(); |
---|
| 38 | |
---|
| 39 | delete vhdl; |
---|
| 40 | |
---|
[2] | 41 | log_printf(FUNC,Pattern_History_Table,"vhdl","End"); |
---|
| 42 | |
---|
| 43 | }; |
---|
| 44 | |
---|
| 45 | }; // end namespace pattern_history_table |
---|
| 46 | }; // end namespace two_level_branch_predictor |
---|
| 47 | }; // end namespace meta_predictor |
---|
| 48 | |
---|
[48] | 49 | }; // end namespace core |
---|
| 50 | }; // end namespace multi_front_end |
---|
| 51 | }; // end namespace front_end |
---|
| 52 | }; // end namespace prediction_unit |
---|
| 53 | }; // end namespace direction |
---|
| 54 | |
---|
| 55 | |
---|
[2] | 56 | }; // end namespace behavioural |
---|
| 57 | }; // end namespace morpheo |
---|
| 58 | #endif |
---|