source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Register/src/Branch_Target_Buffer_Register_vhdl.cpp

Last change on this file was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1#ifdef VHDL
2/*
3 * $Id: Branch_Target_Buffer_Register_vhdl.cpp 81 2008-04-15 18:40:01Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Register/include/Branch_Target_Buffer_Register.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 branch_target_buffer {
19namespace branch_target_buffer_register {
20
21
22#undef  FUNCTION
23#define FUNCTION "Branch_Target_Buffer_Register::vhdl"
24  void Branch_Target_Buffer_Register::vhdl (void)
25  {
26    log_printf(FUNC,Branch_Target_Buffer_Register,FUNCTION,"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,Branch_Target_Buffer_Register,FUNCTION,"End");
41  };
42
43}; // end namespace branch_target_buffer_register
44}; // end namespace branch_target_buffer
45}; // end namespace prediction_unit
46}; // end namespace front_end
47}; // end namespace multi_front_end
48}; // end namespace core
49
50}; // end namespace behavioural
51}; // end namespace morpheo             
52#endif
Note: See TracBrowser for help on using the repository browser.