Changes between Version 2 and Version 3 of 2011CaoTme9


Ignore:
Timestamp:
Dec 4, 2012, 12:36:29 PM (12 years ago)
Author:
jpc
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 2011CaoTme9

    v2 v3  
    130130    inline std::vector<Process*>& getProcesses ();
    131131           Signal*                addSignal    ( const std::string&, SignalType );
    132            Process*               addProcess   ( const std::string&, const std::string&, unsigned int delay );
     132           Process*               addProcess   ( const std::string&
     133                                               , const std::string&, unsigned int delay );
    133134           void                   toDot        ( std::ostream& );
    134135           void                   toDot        ();
     
    201202    unsigned int  _delay;
    202203  public:
    203                          Process       ( BoolNet*, Signal*, const std::string& expression, unsigned int delay=0 );
     204                         Process       ( BoolNet*, Signal*
     205                                       , const std::string& expression
     206                                       , unsigned int delay=0 );
    204207           ValueType     eval          ();
    205208    inline Ebm*          getExpression ();
     
    348351  public:
    349352           Scheduler  ( BoolNet* );
    350     Event* addEvent   ( const std::string& variable, ValueType, unsigned int time, unsigned int delta=0 );
    351     Event* addEvent   ( Signal*, ValueType, unsigned int time, unsigned int delta=0 );
     353    Event* addEvent   ( const std::string& variable
     354                      , ValueType, unsigned int time, unsigned int delta=0 );
     355    Event* addEvent   ( Signal*
     356                      , ValueType, unsigned int time, unsigned int delta=0 );
    352357    void   simulate   ();
    353358    void   toPatterns ( std::ostream& );
     
    425430== C2.3) Simulation effective du circuit additionneur ==
    426431
    427 Introduisez  dans  le fichier  {{{Adder.c}}}  la  méth
     432Introduisez  dans  le fichier  {{{Adder.c}}}  la  méthode ``Scheduler.simulate()``, déterminez
     433à priori, les chronogrammes des sorties, puis vérifiez que ceux obtenus par simulation
     434correspondent.
     435