Ignore:
Timestamp:
Jul 5, 2007, 5:50:19 PM (17 years ago)
Author:
rosiere
Message:

Modification des classes d'encapsulation des interfaces :

  • gère les signaux à écrire dans le vhdl
  • les traces pour le testbench
  • la génération des vhdl structurelles

-> test sur la Pattern History Table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Shifter/SelfTest/src/test.cpp

    r2 r42  
    4444   *********************************************************************/
    4545  sc_clock                                 CLOCK ("clock", 1.0, 0.5);
     46  sc_signal <Tdirection_t>                 NRESET("nreset");
    4647  sc_signal <Tdata_t     >                 SHIFTER_DATA_IN   [param._nb_port];
    4748  sc_signal <Tshift_t    >                 SHIFTER_SHIFT     [param._nb_port];
     
    6162#if (defined(STATISTICS) || defined (VHDL_TESTBENCH))
    6263  (*(_Shifter->in_CLOCK))        (CLOCK);
     64  (*(_Shifter->in_NRESET))       (NRESET);
    6365#endif
    6466  for (uint32_t i=0; i<param._nb_port; i++)
     
    116118
    117119  sc_start(0);
     120
     121  NRESET.write(1);
    118122 
    119123  for (uint32_t x=0; x<6; x++)
Note: See TracChangeset for help on using the changeset viewer.