source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/src/Rename_unit_vhdl.cpp @ 88

Last change on this file since 88 was 88, checked in by rosiere, 15 years ago

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 871 bytes
Line 
1#ifdef VHDL
2/*
3 * $Id: Rename_unit_vhdl.cpp 88 2008-12-10 18:31:39Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/include/Rename_unit.h"
10#include "Behavioural/include/Vhdl.h"
11
12namespace morpheo                    {
13namespace behavioural {
14namespace core {
15namespace multi_ooo_engine {
16namespace ooo_engine {
17namespace rename_unit {
18
19
20#undef  FUNCTION
21#define FUNCTION "Rename_unit::vhdl"
22  void Rename_unit::vhdl (void)
23  {
24    log_begin(Rename_unit,FUNCTION);
25
26    Vhdl * vhdl = new Vhdl (_name);
27
28    _interfaces->set_port(vhdl);
29    _component->vhdl_instance(vhdl);
30
31    vhdl->generate_file();
32
33    delete vhdl;
34
35    log_end(Rename_unit,FUNCTION);
36  };
37
38}; // end namespace rename_unit
39}; // end namespace ooo_engine
40}; // end namespace multi_ooo_engine
41}; // end namespace core
42
43}; // end namespace behavioural
44}; // end namespace morpheo             
45#endif
Note: See TracBrowser for help on using the repository browser.