source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/src/Pattern_History_Table_vhdl.cpp @ 43

Last change on this file since 43 was 43, checked in by rosiere, 17 years ago

Modif mineur : ajout d'info de débug

Release non stable

File size: 1.1 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/Pattern_History_Table/include/Pattern_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 pattern_history_table {
19
20
21  void Pattern_History_Table::vhdl (void)
22  {
23    log_printf(FUNC,Pattern_History_Table,"vhdl","Begin");
24
25    Vhdl * vhdl = new Vhdl (_name);
26
27    _interfaces->set_port     (vhdl);
28    _component ->vhdl_instance(vhdl);
29
30    vhdl_declaration (vhdl);
31    vhdl_body        (vhdl);
32
33    vhdl->generate_file();
34
35    delete vhdl;
36
37    log_printf(FUNC,Pattern_History_Table,"vhdl","End");
38
39  };
40
41}; // end namespace pattern_history_table
42}; // end namespace two_level_branch_predictor
43}; // end namespace meta_predictor
44}; // end namespace predictor
45}; // end namespace stage_1_ifetch
46
47}; // end namespace behavioural
48}; // end namespace morpheo             
49#endif
Note: See TracBrowser for help on using the repository browser.