Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please show all work legibly and thanks so much for the explanation! Will rate when I get to it! : ) P6 (20 points): You

Please show all work legibly and thanks so much for the explanation! Will rate when I get to it! : )

image text in transcribed

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 up to the nearest integer RESET ZINR 1/10 0/00 0/00 0/00 0/00 0/00 1100 11 100 ( III: Design a FSM state diagram that fills the result counter with the value W = (the result of division rounded down to the nearest integer) using the one-bit input Z. output R (R 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. 5 3V IV: Repeat part II, but produce the result W rounded up to the nearest integer). V: Repeat part II, but produce the result W-(round up (here, the quotient is 5V 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 up to the nearest integer RESET ZINR 1/10 0/00 0/00 0/00 0/00 0/00 1100 11 100 ( III: Design a FSM state diagram that fills the result counter with the value W = (the result of division rounded down to the nearest integer) using the one-bit input Z. output R (R 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. 5 3V IV: Repeat part II, but produce the result W rounded up to the nearest integer). V: Repeat part II, but produce the result W-(round up (here, the quotient is 5V

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2019 Wurzburg Germany September 16 20 2019 Proceedings Part 2 Lnai 11907

Authors: Ulf Brefeld ,Elisa Fromont ,Andreas Hotho ,Arno Knobbe ,Marloes Maathuis ,Celine Robardet

1st Edition

3030461467, 978-3030461461

More Books

Students also viewed these Databases questions