Difference between revisions of "CoE165 2024 Assignment 05"

From Microlab Classes
Jump to navigation Jump to search
Line 3: Line 3:
 
=== Part 1: Composition of State Machines ===
 
=== Part 1: Composition of State Machines ===
 
* Problem from our textbook (Exercise 3, page 132). Provide a short narrative describing your solution.
 
* Problem from our textbook (Exercise 3, page 132). Provide a short narrative describing your solution.
* Consider the following synchronous composition of two state machines A and B:
+
* Consider the following synchronous composition of two state machines <math>A</math> and <math>B</math>:
  
 
[[File:Screenshot 2024-12-09 at 10.34.24 PM.png|none|800px]]
 
[[File:Screenshot 2024-12-09 at 10.34.24 PM.png|none|800px]]
  
* Construct a single state machine C representing the composition. Which states of the composition are unreachable?
+
* Construct a single state machine <math>C</math> representing the composition. Which states of the composition are unreachable?
  
 
=== Part 2: Synchronous Feedback Composition  ===
 
=== Part 2: Synchronous Feedback Composition  ===

Revision as of 22:38, 9 December 2024

CoE165 Assignment 5

Part 1: Composition of State Machines

  • Problem from our textbook (Exercise 3, page 132). Provide a short narrative describing your solution.
  • Consider the following synchronous composition of two state machines and :
Screenshot 2024-12-09 at 10.34.24 PM.png
  • Construct a single state machine representing the composition. Which states of the composition are unreachable?

Part 2: Synchronous Feedback Composition

  • Problem from our textbook (Exercise 2, page 172). Provide a short narrative describing your solution.
  • Consider the following state machine in a synchronous feedback composition:
Screenshot 2024-12-09 at 10.14.54 PM.png
  1. Is it well-formed? Is it constructive?
  2. If it is well-formed and constructive, then find the output symbols for the first 10 reactions. If not, explain where the problem is.
  3. Show the composition machine, assuming that the composition has no input and that the only output is .

Part 3: Synchronous Feedback Composition

  • Problem from our textbook (Exercise 4, page 173). Provide a short narrative describing your solution.
  • For the following synchronous model, determine whether it is well formed and constructive, and if so, determine the possible sequences of values of the signals and . Note that machine is nondeterministic.
Screenshot 2024-12-09 at 10.28.03 PM.png

Submission

  • Do not forget to add your name and student number at the top of the page.
  • Deadline:
    • Tuesday, December 17, 5pm.
    • Late submissions are not allowed, and will get a score of zero.
  • Submit your PDF file here:
    • Link to be updated soon.