Ignore:
Timestamp:
May 31, 2007, 11:22:29 PM (17 years ago)
Author:
rosiere
Message:

Interface et vhdl_testbench : l'appel aux fonction add_input et add_ouput est maintenant réalisé par la classe Interface (et autre).

2 remarques :

  • tester avec des sous composants (en particulier les sorties d'un est directement relié au sortie d'un autre)
  • Signal_testbench.cpp -> l'optimisé (par exemple pointeur de fonction afin d'éviter le test et le switch)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Signal.cpp

    r31 r38  
    2020    _presence_port (presence_port)
    2121  {
     22    log_printf(FUNC,Behavioural,"Signal","Begin");
     23#ifdef VHDL_TESTBENCH
     24    _signal    = NULL;
     25    _type_info = UNKNOW;
     26#endif
     27    log_printf(FUNC,Behavioural,"Signal","End");
    2228  };
    2329
     
    2834    _presence_port (signal._presence_port)
    2935  {
     36    log_printf(FUNC,Behavioural,"Signal (copy)","Begin");
     37#ifdef VHDL_TESTBENCH
     38    _signal    = signal._signal   ;
     39    _type_info = signal._type_info;
     40#endif
     41    log_printf(FUNC,Behavioural,"Signal (copy)","End");
    3042  };
    3143
    3244  Signal::~Signal ()
    3345  {
     46    log_printf(FUNC,Behavioural,"~Signal","Begin");
     47    log_printf(FUNC,Behavioural,"~Signal","End");
    3448  };
    3549
Note: See TracChangeset for help on using the changeset viewer.