source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Sort/src/Sort_vhdl.cpp @ 81

Last change on this file since 81 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: 763 bytes
Line 
1#ifdef VHDL
2/*
3 * $Id: Sort_vhdl.cpp 81 2008-04-15 18:40:01Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Generic/Sort/include/Sort.h"
10#include "Behavioural/include/Vhdl.h"
11
12namespace morpheo                    {
13namespace behavioural {
14namespace generic {
15namespace sort {
16
17
18#undef  FUNCTION
19#define FUNCTION "Sort::vhdl"
20  void Sort::vhdl (void)
21  {
22    log_printf(FUNC,Sort,FUNCTION,"Begin");
23
24    Vhdl * vhdl = new Vhdl (_name);
25
26    _interfaces->set_port(vhdl);
27    _component->vhdl_instance(vhdl);
28
29    vhdl_declaration (vhdl);
30    vhdl_body        (vhdl);
31
32    vhdl->generate_file();
33
34    delete vhdl;
35
36    log_printf(FUNC,Sort,FUNCTION,"End");
37  };
38
39}; // end namespace sort
40}; // end namespace generic
41
42}; // end namespace behavioural
43}; // end namespace morpheo             
44#endif
Note: See TracBrowser for help on using the repository browser.