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