source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Select_Priority_Fixed/src/Select_Priority_Fixed_vhdl_port.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: 819 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
11namespace morpheo {
12namespace behavioural {
13namespace generic {
14namespace select {
15namespace select_priority_fixed {
16
17  void Select_Priority_Fixed::vhdl_port (Vhdl * & vhdl)
18  {
19    log_printf(FUNC,Select_Priority_Fixed,"vhdl_port","Begin");
20
21#ifdef VHDL
22    interfaces->set_port(vhdl);
23#endif
24#ifdef VHDL_TESTBENCH
25    interfaces->set_port(_vhdl_testbench);                     
26   _vhdl_testbench->set_clock    ("in_CLOCK",true);
27#endif   
28
29   log_printf(FUNC,Select_Priority_Fixed,"vhdl_port","End");
30  };
31
32}; // end namespace select_priority_fixed
33}; // end namespace select
34}; // end namespace generic
35
36}; // end namespace behavioural
37}; // end namespace morpheo             
38#endif
Note: See TracBrowser for help on using the repository browser.