source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Counter_vhdl.cpp @ 2

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

Import Morpheo

File size: 704 bytes
Line 
1#ifdef VHDL
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Generic/Counter/include/Counter.h"
10#include "Behavioural/include/Vhdl.h"
11
12namespace morpheo                    {
13namespace behavioural {
14namespace generic {
15namespace counter {
16
17
18  void Counter::vhdl (void)
19  {
20    log_printf(FUNC,Counter,"vhdl","Begin");
21    Vhdl vhdl (_name);
22
23    vhdl.set_library_work (_name + "_Pack");
24
25    vhdl_port        (vhdl);
26    vhdl_declaration (vhdl);
27    vhdl_body        (vhdl);
28
29    vhdl.generate_file();
30    log_printf(FUNC,Counter,"vhdl","End");
31
32  };
33
34}; // end namespace counter
35}; // end namespace generic
36
37}; // end namespace behavioural
38}; // end namespace morpheo             
39#endif
Note: See TracBrowser for help on using the repository browser.