Page 1 of 1

SMA S 8 Inputs: C. A (8), S (8) Outputs. Variables tot (8) tot ld top_clr Hd D 2 Init Wait Add cir tot_reg d = 0 Stol -

Posted: Sat May 14, 2022 4:28 pm
by answerhappygod
Sma S 8 Inputs C A 8 S 8 Outputs Variables Tot 8 Tot Ld Top Clr Hd D 2 Init Wait Add Cir Tot Reg D 0 Stol 1
Sma S 8 Inputs C A 8 S 8 Outputs Variables Tot 8 Tot Ld Top Clr Hd D 2 Init Wait Add Cir Tot Reg D 0 Stol 1 (98.42 KiB) Viewed 35 times
It is a soda dispensing machine designed, including the State Machine and the Datapath.
SMA S 8 Inputs: C. A (8), S (8) Outputs. Variables tot (8) tot ld top_clr Hd D 2 Init Wait Add cir tot_reg d = 0 Stol - S tot = 0 tot = tot +A Ic && tot <<S) to && (tot <3 DispSoda d = 1 tot S A B 8-bit comparator It eg A B 8-bit adder S tot its DispChange tot_eq_atapat change = 1 1-3) Which outputs of the magnitude comparator are used? 4-6) Which datapath output is needed to support the comparison tot <S? 7-9) If the HLSM is in state DispSoda, tot is 100, and S is 100, what is the next state? 10-12) In state DispChange, instead of detecting change = 1, if the HLSM is modified to compute the change value, which components need to be added to the datapath? Data operation in state DispChange: CVal = tot - S 1. only It 2. it and eq 3. gt 4. tot_lt_s 5. tot_id 6. tot_lt_eg 7. DispChange 8. Wart 9. init 10. Only a subtractor 11. A subtractor and a register 12. A subiractor, a register, and a comparator