source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/src/Two_Level_Branch_Predictor_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.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/include/Two_Level_Branch_Predictor.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 {
18
19
20  void Two_Level_Branch_Predictor::vhdl (void)
21  {
22    log_printf(FUNC,Two_Level_Branch_Predictor,"vhdl","Begin");
23
24    Vhdl * vhdl = new Vhdl (_name);
25
26    _interfaces->set_port     (vhdl);
27    _component ->vhdl_instance(vhdl);
28
29    vhdl_declaration (vhdl);
30    vhdl_body        (vhdl);
31
32    vhdl->generate_file();
33
34    delete vhdl;
35
36    log_printf(FUNC,Two_Level_Branch_Predictor,"vhdl","End");
37
38  };
39
40}; // end namespace two_level_branch_predictor
41}; // end namespace meta_predictor
42}; // end namespace predictor
43}; // end namespace stage_1_ifetch
44
45}; // end namespace behavioural
46}; // end namespace morpheo             
47#endif
Note: See TracBrowser for help on using the repository browser.