Line | |
---|
1 | #ifdef VHDL |
---|
2 | /* |
---|
3 | * $Id$ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h" |
---|
10 | #include "Behavioural/include/Vhdl.h" |
---|
11 | |
---|
12 | namespace morpheo { |
---|
13 | namespace behavioural { |
---|
14 | namespace stage_1_ifetch { |
---|
15 | namespace predictor { |
---|
16 | namespace meta_predictor { |
---|
17 | namespace two_level_branch_predictor { |
---|
18 | namespace branch_history_table { |
---|
19 | |
---|
20 | |
---|
21 | void Branch_History_Table::vhdl (void) |
---|
22 | { |
---|
23 | Vhdl vhdl (_name); |
---|
24 | |
---|
25 | vhdl.set_library_work (_name + "_Pack"); |
---|
26 | vhdl.set_library_work (_name + "_RegisterFile_Pack"); |
---|
27 | vhdl.set_library_work (_name + "_Shifter_Pack"); |
---|
28 | |
---|
29 | vhdl_port (vhdl); |
---|
30 | vhdl_type (vhdl); |
---|
31 | vhdl_signal (vhdl); |
---|
32 | vhdl_body (vhdl); |
---|
33 | |
---|
34 | vhdl.generate_file(); |
---|
35 | }; |
---|
36 | |
---|
37 | }; // end namespace branch_history_table |
---|
38 | }; // end namespace two_level_branch_predictor |
---|
39 | }; // end namespace meta_predictor |
---|
40 | }; // end namespace predictor |
---|
41 | }; // end namespace stage_1_ifetch |
---|
42 | |
---|
43 | }; // end namespace behavioural |
---|
44 | }; // end namespace morpheo |
---|
45 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.