source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/src/Register_unit_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: 986 bytes
Line 
1#ifdef VHDL
2/*
3 * $Id: Register_unit_vhdl.cpp 81 2008-04-15 18:40:01Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/include/Register_unit.h"
10#include "Behavioural/include/Vhdl.h"
11
12namespace morpheo                    {
13namespace behavioural {
14namespace core {
15namespace multi_execute_loop {
16namespace execute_loop {
17namespace register_unit {
18
19
20#undef  FUNCTION
21#define FUNCTION "Register_unit::vhdl"
22  void Register_unit::vhdl (void)
23  {
24    log_printf(FUNC,Register_unit,FUNCTION,"Begin");
25
26    Vhdl * vhdl = new Vhdl (_name);
27
28    _interfaces->set_port(vhdl);
29    _component->vhdl_instance(vhdl);
30
31    vhdl_declaration (vhdl);
32    vhdl_body        (vhdl);
33
34    vhdl->generate_file();
35
36    delete vhdl;
37
38    log_printf(FUNC,Register_unit,FUNCTION,"End");
39  };
40
41}; // end namespace register_unit
42}; // end namespace execute_loop
43}; // end namespace multi_execute_loop
44}; // end namespace core
45
46}; // end namespace behavioural
47}; // end namespace morpheo             
48#endif
Note: See TracBrowser for help on using the repository browser.