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

Last change on this file was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 739 bytes
Line 
1#ifdef VHDL
2/*
3 * $Id: Counter_vhdl.cpp 81 2008-04-15 18:40:01Z rosiere $
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.