1 | #ifdef VHDL |
---|
2 | /* |
---|
3 | * $Id: Pattern_History_Table_vhdl_body.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/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h" |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | namespace core { |
---|
14 | namespace multi_front_end { |
---|
15 | namespace front_end { |
---|
16 | namespace prediction_unit { |
---|
17 | namespace direction { |
---|
18 | |
---|
19 | namespace meta_predictor { |
---|
20 | namespace two_level_branch_predictor { |
---|
21 | namespace pattern_history_table { |
---|
22 | |
---|
23 | |
---|
24 | void Pattern_History_Table::vhdl_body (Vhdl * & vhdl) |
---|
25 | { |
---|
26 | log_printf(FUNC,Pattern_History_Table,"vhdl_body","Begin"); |
---|
27 | |
---|
28 | // vhdl->set_body ("-- Output : always at '1'"); |
---|
29 | // for (uint32_t i=0; i<_param._nb_branch_complete; i++) |
---|
30 | // vhdl->set_body ("out_BRANCH_COMPLETE_ACK_"+toString(i)+" <= '1';"); |
---|
31 | // for (uint32_t i=0; i<_param._nb_prediction ; i++) |
---|
32 | // vhdl->set_body ("out_PREDICT_ACK_"+toString(i)+" <= '1';"); |
---|
33 | // vhdl->set_body (""); |
---|
34 | |
---|
35 | log_printf(FUNC,Pattern_History_Table,"vhdl_body","End"); |
---|
36 | }; |
---|
37 | |
---|
38 | }; // end namespace pattern_history_table |
---|
39 | }; // end namespace two_level_branch_predictor |
---|
40 | }; // end namespace meta_predictor |
---|
41 | |
---|
42 | }; // end namespace core |
---|
43 | }; // end namespace multi_front_end |
---|
44 | }; // end namespace front_end |
---|
45 | }; // end namespace prediction_unit |
---|
46 | }; // end namespace direction |
---|
47 | |
---|
48 | |
---|
49 | }; // end namespace behavioural |
---|
50 | }; // end namespace morpheo |
---|
51 | #endif |
---|