Question: An Iterative Function Oops ! . . . I Did It Again [ 4 0 points ] Consider the iterative function f ( x )
An Iterative Function Oops I Did It Again points
Consider the iterative function
fx a x b
where a and b are fixed bit constants, and x is an bit register that is iteratively
updated according to
xnext a xcurrent b
Example Iteration
Suppose a b Start with an initial bit value x Then the iteration
proceeds as follows in decimal just for illustration:
x
x
x
x
x
x
x
x
x
x
x
xbut in bit arithmetic, this wraps around!
so
x
Once we reach values beyond the representable range of bits, the arithmetic wraps
around ie it is computed modulo Therefore, repeated iteration can generate
interesting results. In this particular example, the value x becomes a fixed point
because further updates do not change x
Problem
You have two bit constant inputs a a a and b b b and an bit
variable register x x x that you load externally. The goal is to iteratively
compute
x a x b
on each clock cycle. If and when the circuit reaches a fixed point ie xnext xcurrent
it should set a Done signal to and place the final x value on an bit output Z
In your design, you can use the following blocks without specifying their internal
structure: D flipflops, multiplexers, adder circuits, and a comparator circuit from
Homework Specify everything else.
EE Fall
a Multiplier Units. points
Explain how to implement an bit unsigned multiplier for the product ax
You may choose a simple shiftandadd design or a similar approach.
bbit
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
