Changes between Version 2 and Version 3 of 2011CaoTme9
- Timestamp:
- Dec 4, 2012, 12:36:29 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
2011CaoTme9
v2 v3 130 130 inline std::vector<Process*>& getProcesses (); 131 131 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 ); 133 134 void toDot ( std::ostream& ); 134 135 void toDot (); … … 201 202 unsigned int _delay; 202 203 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 ); 204 207 ValueType eval (); 205 208 inline Ebm* getExpression (); … … 348 351 public: 349 352 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 ); 352 357 void simulate (); 353 358 void toPatterns ( std::ostream& ); … … 425 430 == C2.3) Simulation effective du circuit additionneur == 426 431 427 Introduisez dans le fichier {{{Adder.c}}} la méth 432 Introduisez 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 434 correspondent. 435