source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/src/Two_Level_Branch_Predictor_vhdl.cpp @ 48

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

Modification des Makefile : pas de creation inutile de shell

File size: 1.2 KB
Line 
1#ifdef VHDL
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h"
10#include "Behavioural/include/Vhdl.h"
11
12namespace morpheo                    {
13namespace behavioural {
14namespace core {
15namespace multi_front_end {
16namespace front_end {
17namespace prediction_unit {
18namespace direction {
19
20namespace meta_predictor {
21namespace two_level_branch_predictor {
22
23
24  void Two_Level_Branch_Predictor::vhdl (void)
25  {
26    log_printf(FUNC,Two_Level_Branch_Predictor,"vhdl","Begin");
27
28    Vhdl * vhdl = new Vhdl (_name);
29
30    _interfaces->set_port     (vhdl);
31    _component ->vhdl_instance(vhdl);
32
33    vhdl_declaration (vhdl);
34    vhdl_body        (vhdl);
35
36    vhdl->generate_file();
37
38    delete vhdl;
39
40    log_printf(FUNC,Two_Level_Branch_Predictor,"vhdl","End");
41
42  };
43
44}; // end namespace two_level_branch_predictor
45}; // end namespace meta_predictor
46
47}; // end namespace core
48}; // end namespace multi_front_end
49}; // end namespace front_end
50}; // end namespace prediction_unit
51}; // end namespace direction
52
53
54}; // end namespace behavioural
55}; // end namespace morpheo             
56#endif
Note: See TracBrowser for help on using the repository browser.