source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/src/Front_end_vhdl.cpp @ 88

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

Almost complete design
with Test and test platform

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