source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/src/Branch_Target_Buffer_vhdl.cpp @ 81

Last change on this file since 81 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.0 KB
Line 
1#ifdef VHDL
2/*
3 * $Id: Branch_Target_Buffer_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/include/Branch_Target_Buffer.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 {
19
20
21#undef  FUNCTION
22#define FUNCTION "Branch_Target_Buffer::vhdl"
23  void Branch_Target_Buffer::vhdl (void)
24  {
25    log_printf(FUNC,Branch_Target_Buffer,FUNCTION,"Begin");
26
27    Vhdl * vhdl = new Vhdl (_name);
28
29    _interfaces->set_port(vhdl);
30    _component->vhdl_instance(vhdl);
31
32    vhdl->generate_file();
33
34    delete vhdl;
35
36    log_printf(FUNC,Branch_Target_Buffer,FUNCTION,"End");
37  };
38
39}; // end namespace branch_target_buffer
40}; // end namespace prediction_unit
41}; // end namespace front_end
42}; // end namespace multi_front_end
43}; // end namespace core
44
45}; // end namespace behavioural
46}; // end namespace morpheo             
47#endif
Note: See TracBrowser for help on using the repository browser.