Question: P 6 ( 2 0 points ) : You have a modulo - 2 5 6 down counter ( operand counter ) with 8 -

P6(20 points): You have a modulo-256 down counter (operand
counter) with 8-bit output and one-bit input N(the operand counter
counts down for each clock cycle where N=1). Assume that this operand
counter is initially holding an unknown value V. You also have a
second modulo-256 up counter (result counter) to store an 8-bit
mathematical result W(the result counter counts up for each clock
cycle where R=1). Design the following:
I: Design a circuit that outputs Z=1 if the operand counter is nonzero.
II: The following FSM state diagram receives input Z and outputs N
(which decrements the down counter) and R(which increments the up
counter). When the down counter reaches zero, algebraically describe
the value of the up counter W in terms of the initial value of the down
counter V. Also, denote if the answer will be rounded down or rounded
uRRTT to the nearest integer.
RESET
III: Design a FSM state diagram that fills the result counter with the
value W=|??V(5)??|(the result of division rounded down to the nearest integer)
using the one-bit input Z, output is the input which enables the up
counter), and output N(N is the input which enables the down counter).
You only need to draw the state diagram; the destination for each FSM
connection should be specified as above. When the result counter
contains the correct value, the result counter should remain unchanged
for any future clock cycles.
IV: Repeat part II, but produce the result W=|~3V5~|(here, the quotient is
rounded up to the nearest integer).
V: Repeat part II, but produce the result W=|~5V3~|(round up).
 P6(20 points): You have a modulo-256 down counter (operand counter) with

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!