source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/src/Read_unit_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: 975 bytes
Line 
1#ifdef VHDL
2/*
3 * $Id: Read_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/Multi_Read_unit/Read_unit/include/Read_unit.h"
10#include "Behavioural/include/Vhdl.h"
11
12namespace morpheo                    {
13namespace behavioural {
14namespace core {
15namespace multi_execute_loop {
16namespace execute_loop {
17namespace multi_read_unit {
18namespace read_unit {
19
20
21#undef  FUNCTION
22#define FUNCTION "Read_unit::vhdl"
23  void Read_unit::vhdl (void)
24  {
25    log_printf(FUNC,Read_unit,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,Read_unit,FUNCTION,"End");
37  };
38
39}; // end namespace read_unit
40}; // end namespace multi_read_unit
41}; // end namespace execute_loop
42}; // end namespace multi_execute_loop
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.