source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/src/Branch_History_Table_vhdl.cpp @ 2

Last change on this file since 2 was 2, checked in by kane, 17 years ago

Import Morpheo

File size: 1.0 KB
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
12namespace morpheo                    {
13namespace behavioural {
14namespace stage_1_ifetch {
15namespace predictor {
16namespace meta_predictor {
17namespace two_level_branch_predictor {
18namespace 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.