source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Select_Priority_Fixed/src/Select_Priority_Fixed_vhdl.cpp @ 29

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

Changement de classes de gestions des Interfaces.

-> simplification pour les déclarations de ports, application pour le composant Select_Priority_Fixed.
-> !!! essayer de supprimer la redondance dans les fichierx xxx_vhdl_testbench_transition.cpp

File size: 871 bytes
Line 
1#ifdef VHDL
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Generic/Select/Select_Priority_Fixed/include/Select_Priority_Fixed.h"
10#include "Behavioural/include/Vhdl.h"
11
12namespace morpheo                    {
13namespace behavioural {
14namespace generic {
15namespace select {
16namespace select_priority_fixed {
17
18
19  void Select_Priority_Fixed::vhdl (void)
20  {
21    log_printf(FUNC,Select_Priority_Fixed,"vhdl","Begin");
22
23    Vhdl * vhdl = new Vhdl (_name);
24
25    vhdl->set_library_work (_name + "_Pack");
26
27    vhdl_port        (vhdl);
28    vhdl_declaration (vhdl);
29    vhdl_body        (vhdl);
30
31    vhdl->generate_file();
32    log_printf(FUNC,Select_Priority_Fixed,"vhdl","End");
33
34  };
35
36}; // end namespace select_priority_fixed
37}; // end namespace select
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.