source: trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Interfaces.h @ 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: 1.5 KB
Line 
1#ifndef morpheo_behavioural_Interfaces_h
2#define morpheo_behavioural_Interfaces_h
3
4/*
5 * $Id$
6 *
7 * [ Description ]
8 *
9 */
10
11#include <stdint.h>
12#include <iostream>
13#include <list>
14#include "Behavioural/include/Interface.h"
15#include "Include/ToString.h"
16#include "Include/Debug.h"
17#ifdef VHDL
18#include "Behavioural/include/Vhdl.h"
19#endif
20#ifdef VHDL_TESTBENCH
21#include "Behavioural/include/Vhdl_Testbench.h"
22#endif
23
24using namespace std;
25
26namespace morpheo              {
27namespace behavioural          {
28
29  class Interfaces
30  {
31    // -----[ fields ]----------------------------------------------------
32  private   : list<Interface>       _list_interface;
33
34    // -----[ methods ]---------------------------------------------------
35  public    :                       Interfaces            (void);
36
37  public    :                       ~Interfaces           ();
38
39  public    : void                  set_interface         (Interface interface);
40  public    : string                get_interface         (void);
41
42#ifdef VHDL
43  public    : void                  set_port              (Vhdl           * & vhdl          );
44#endif
45#ifdef VHDL_TESTBENCH
46  public    : void                  set_port              (Vhdl_Testbench * & vhdl_testbench);
47#endif
48
49  public    : XML                   toXML                 (void);
50
51  public    : friend ostream&       operator<<            (ostream& output_stream,
52                                                           morpheo::behavioural::Interfaces & x);
53
54  };
55
56}; // end namespace behavioural         
57}; // end namespace morpheo             
58
59#endif
Note: See TracBrowser for help on using the repository browser.