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

Last change on this file since 2 was 2, checked in by kane, 17 years ago

Import Morpheo

File size: 645 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    Vhdl vhdl (_name);
20
21    vhdl.set_library_work (_name + "_Pack");
22
23    vhdl_port        (vhdl);
24    vhdl_declaration (vhdl);
25    vhdl_body        (vhdl);
26
27    vhdl.generate_file();
28    log_printf(FUNC,@COMPONENT,"vhdl","End");
29
30  };
31
32@NAMESPACE_END
33}; // end namespace behavioural
34}; // end namespace morpheo             
35#endif
Note: See TracBrowser for help on using the repository browser.