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

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

Modif mineur : ajout d'info de débug

Release non stable

File size: 739 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
22    Vhdl * vhdl = new Vhdl (_name);
23
24    _interfaces->set_port     (vhdl);
25    _component ->vhdl_instance(vhdl);
26
27    vhdl_declaration (vhdl);
28    vhdl_body        (vhdl);
29
30    vhdl->generate_file();
31
32    delete vhdl;
33    log_printf(FUNC,Counter,"vhdl","End");
34
35  };
36
37}; // end namespace counter
38}; // end namespace generic
39
40}; // end namespace behavioural
41}; // end namespace morpheo             
42#endif
Note: See TracBrowser for help on using the repository browser.