Question: Q 2 . Develop a minimum state HLSM that calculates the integer square root of a non - negative integer. The system initializes in the
Q Develop a minimum state HLSM that calculates the integer square root of a nonnegative integer.
The system initializes in the IDLE state, awaiting input.
INPUTNUMBER is the bit unsigned integer for which the square root is to be calculated.
The algorithm commences when INPUTNUMBER is received.
The system employs an iterative calculation method where:
It starts with a SQUARE value of
It uses a DELTA value beginning at
It increases SQUARE by DELTA as long as SQUARE is less than or equal to
INPUTNUMBER.
DELTA is increased by after each iteration.
Once SQUARE exceeds INPUTNUMBER, the system will calculate and output the integer
square root, which is derived from the final DELTA value.
The system must handle continuous operations, being ready to accept a new INPUTNUMBER
after completing a calculation.
Please note : in the following example table, the value of the square root, delta occurs in the
row following the square value.
a Draw a minimum state HLSM to represent the above system.
b Draw the circuit representing the datapath of this system.
c Draw the control unit and connect it to the datapath with correct labeling.
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
