Last change
on this file since 46 was
43,
checked in by rosiere, 17 years ago
|
Modif mineur : ajout d'info de débug
Release non stable
|
File size:
987 bytes
|
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 = new Vhdl (_name); |
---|
24 | |
---|
25 | _interfaces->set_port (vhdl); |
---|
26 | _component ->vhdl_instance(vhdl); |
---|
27 | |
---|
28 | vhdl_declaration (vhdl); |
---|
29 | vhdl_body (vhdl); |
---|
30 | |
---|
31 | vhdl->generate_file(); |
---|
32 | |
---|
33 | delete vhdl; |
---|
34 | }; |
---|
35 | |
---|
36 | }; // end namespace branch_history_table |
---|
37 | }; // end namespace two_level_branch_predictor |
---|
38 | }; // end namespace meta_predictor |
---|
39 | }; // end namespace predictor |
---|
40 | }; // end namespace stage_1_ifetch |
---|
41 | |
---|
42 | }; // end namespace behavioural |
---|
43 | }; // end namespace morpheo |
---|
44 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.