source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interface_fifo.cpp @ 40

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

Interface et Signal, c'est deux classes enregistres la valeurs des signaux à chaque cycle ... étape préparatoire avan le changement de la classe Vhdl_Testbench

File size: 1.5 KB
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Interface_fifo.h"
9
10namespace morpheo              {
11namespace behavioural          {
12
13  Interface_fifo::Interface_fifo  (string         name        ,
14                                   direction_t    direction   ,
15                                   localisation_t localisation):
16    Interface (name        , 
17               direction   ,
18               localisation)
19  {
20    log_printf(FUNC,Behavioural,"Interface_fifo","Begin");
21
22    _list_signal_val = new (list<Signal*>);
23    _list_signal_ack = new (list<Signal*>);
24
25#ifdef VHDL_TESTBENCH
26    _test_exhaustive = true;
27#endif
28
29    log_printf(FUNC,Behavioural,"Interface_fifo","End");
30  };
31
32  Interface_fifo::Interface_fifo  (const Interface_fifo & interface_fifo) :
33    Interface (interface_fifo._name        , 
34               interface_fifo._direction   ,
35               interface_fifo._localisation)
36  {
37    log_printf(FUNC,Behavioural,"Interface_fifo (copy)","Begin");
38
39    _list_signal_val = interface_fifo._list_signal_val;
40    _list_signal_ack = interface_fifo._list_signal_ack;
41
42#ifdef VHDL_TESTBENCH
43    _test_exhaustive = interface_fifo._test_exhaustive;
44#endif
45
46    log_printf(FUNC,Behavioural,"Interface_fifo (copy)","End");
47  };
48 
49  Interface_fifo::~Interface_fifo ()
50  {
51    log_printf(FUNC,Behavioural,"~Interface_fifo","Begin");
52
53    delete _list_signal_val;
54    delete _list_signal_ack;
55
56    log_printf(FUNC,Behavioural,"~Interface_fifo","End");
57  };
58
59}; // end namespace behavioural         
60}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.