source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/src/Pattern_History_Table_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.3 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/Pattern_History_Table/include/Pattern_History_Table.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 {
22namespace pattern_history_table {
23
24
25  void Pattern_History_Table::vhdl (void)
26  {
27    log_printf(FUNC,Pattern_History_Table,"vhdl","Begin");
28
29    Vhdl * vhdl = new Vhdl (_name);
30
31    _interfaces->set_port     (vhdl);
32    _component ->vhdl_instance(vhdl);
33
34    vhdl_declaration (vhdl);
35    vhdl_body        (vhdl);
36
37    vhdl->generate_file();
38
39    delete vhdl;
40
41    log_printf(FUNC,Pattern_History_Table,"vhdl","End");
42
43  };
44
45}; // end namespace pattern_history_table
46}; // end namespace two_level_branch_predictor
47}; // end namespace meta_predictor
48
49}; // end namespace core
50}; // end namespace multi_front_end
51}; // end namespace front_end
52}; // end namespace prediction_unit
53}; // end namespace direction
54
55
56}; // end namespace behavioural
57}; // end namespace morpheo             
58#endif
Note: See TracBrowser for help on using the repository browser.