source: trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_vhdl.cpp @ 50

Last change on this file since 50 was 50, checked in by rosiere, 17 years ago

Changement dans le répertoire "New_Component" afin que les composants nouvellement crées peuvent compiler

File size: 674 bytes
Line 
1#ifdef VHDL
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/@DIRECTORY/include/@COMPONENT.h"
10#include "Behavioural/include/Vhdl.h"
11
12namespace morpheo                    {
13namespace behavioural {
14@NAMESPACE_BEGIN
15
16  void @COMPONENT::vhdl (void)
17  {
18    log_printf(FUNC,@COMPONENT,"vhdl","Begin");
19
20    Vhdl * vhdl = new Vhdl (_name);
21
22    _interfaces->set_port(vhdl);
23    _component->vhdl_instance(vhdl);
24
25    vhdl_declaration (vhdl);
26    vhdl_body        (vhdl);
27
28    vhdl->generate_file();
29
30    delete vhdl;
31
32    log_printf(FUNC,@COMPONENT,"vhdl","End");
33  };
34
35@NAMESPACE_END
36}; // end namespace behavioural
37}; // end namespace morpheo             
38#endif
Note: See TracBrowser for help on using the repository browser.