


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Prob 1 (15pts)
Prob 2 (35pts) Prob 3 (15pts)
Prob 4 (35pts)
TOTAL (100pts)
a) (6pts) (-37) + (+58) in signed magnitude
_ _ _ _ _ _ _ _ (-37)
_ _ _ _ _ _ _ _ ( )
b) (6pts) (-58) + (-37) in 1โs complement (do not use 2โs complement)
_ _ _ _ _ _ _ _ (-58)
_ _ _ _ _ _ _ _ ( )
c) (3pts) (-58) + (+37) in 2โs complement
_ _ _ _ _ _ _ _ (-58)
_ _ _ _ _ _ _ _ ( )
2-bit comparator
The controller produces two output signals: T to dispense a ticket, and R to reject the inserted coin.
a) (9pts) draw the corresponding state diagram. You should have 4 states only, and your arc label should follow BA / TR format. b) (9pts) build the corresponding state table. Name your state bits P and Q for MSB and LSB, respectively. c) (9pts) derive the simplified equations for D flip-flop inputs and outputs using K- maps. Use BA for rows and PQ for columns. d) (8pts) draw the logic diagram of the controller.
no coin
nickel dime
bad coin