Question

Finite State Machine Diagram, Datapath and Controller. Give a complete RTL design (the three components just...

Finite State Machine Diagram, Datapath and Controller. Give a complete RTL design (the three components just mentioned) for a system that divides two 8-bit unsigned integers, x and y, using the division by subtraction algorithm (you may need to look this up). The circuit should have two 8-bit outputs, the quotient q, and the remainder, r.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Remainder computation algorithm invokes additional elements in the datapath: Arithmetic
Logic Unit (ALU) and up/down counter. ALU is, in a sense, a custom block, its
functionality is design specific. For this particular algorithm ALU should handle addition,
subtraction and right/left shift operations, as well as comparison.
The complete block scheme below Figure.

The control unit gets feedback from datapath via six (X6-X1) signals. X1 indicates whether

the content of RG1 equals the content of RG2. X2 signals whether the value stored in RG1

is greater than the value of RG2. X3 is the most significant bit of RG2. X4 is the sign bit of

RG1. Signals X5 and X6 indicate when content of counter and RG1 equal zero.The Datapath of GCD circuit below figure.

Add a comment
Know the answer?
Add Answer to:
Finite State Machine Diagram, Datapath and Controller. Give a complete RTL design (the three components just...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Datapath To make the calculator work, you have to create datapath components for the Datapath subcircuit:...

    Datapath To make the calculator work, you have to create datapath components for the Datapath subcircuit: Create an ALU that can calculate the result for the basic arithmetic operations (addition, subtraction, multiplication, division) for two 8-bit values. The ALU should output the needed result depending on the selected operation. Use 3 registers to store the first number, selected operator and second number. Remember that registers store the values on the input during a rising edge in the clock input (default...

  • Design a state machine that implements the following description: Let’s design a simple controller for an...

    Design a state machine that implements the following description: Let’s design a simple controller for an elevator. The elevator can be at one of two floors: first or second. There is a button that controls the elevator (one input), and it has two values: up or down. Also, there are two lights in the elevator that indicate the current floor: blue for first, and yellow for second. At each time step, the controller checks the current floor and current input...

  • 3. Finite State Machine. Using a ROM based finite state machine (FSM), design a bi-directional repetitive...

    3. Finite State Machine. Using a ROM based finite state machine (FSM), design a bi-directional repetitive 3-bit modulo-6 (0,1,2,3,4,5) counter (see Table 3). The design has one input named Dir and three outputs named B2, B1 and BO. The outputs (B2, B1 and BO) are dependent upon being in the present state only. After each clock pulse, when Dir is at logic "O', the outputs (B2, B1, BO) step through the count sequence in following order:- 0,1,2,3,4,5. After each clock...

  • I need help with 2,3,4 please 1. Design a sequential circuit for a vending machine controller...

    I need help with 2,3,4 please 1. Design a sequential circuit for a vending machine controller where a product sells for 30 cents, and the machine takes quarters, and dimes only. It also releases 5 cents, 15 cents and 20 cents for changes. Show the complete design using D-FFs including the Transition Diagram, Transition Table and combinational circuits. 2. Carry out a step by step procedure of Booth algorithm in multiplying the two 6-bit2's complement numbers: a. Multiplicand: 010011 Multiplier:...

  • 7. (10 pts.) You have been tasked to design a combinational unsigned integer divider circuit with...

    7. (10 pts.) You have been tasked to design a combinational unsigned integer divider circuit with a two-bit dividend, Al1:0], a two-bit divisor, B[1:0], and a two-bit quotient, Ql1:0]: The circuit computes A[1:0]/B[1:0 Q[1:0] Divisor B[1:0] can never have a value of 00 i.e. division by 0 is not allowed. Quotient Ql1:0] is always rounded to the closest integer e.g. 01/10 01 (i) (2 pts) Draw the block diagram of the system annotating inputs and outputs clearly. (ii) 4 pts)...

  • Design the following finite state machine (FSM). It has two 1-bit inputs (in1 and in2) and...

    Design the following finite state machine (FSM). It has two 1-bit inputs (in1 and in2) and two 1-bit outputs (out1 and out2). The first output (out1) bit should be equal to one if, on both of the last two cycles, in1 and in2 were EQUAL to each other; otherwise, out1 should equal zero. The second output (out2) should be equal to 1 if, on the last cycle, in1 and in2 were NOT EQUAL to each other; otherwise, out2 should equal...

  • Finite state machine (FSM) counter design: Gray codes have a useful property in that consecutive numbers differ in only a single bit position. Table 1 lists a 3-bit modulo 8 Gray code representing the...

    Finite state machine (FSM) counter design: Gray codes have a useful property in that consecutive numbers differ in only a single bit position. Table 1 lists a 3-bit modulo 8 Gray code representing the numbers 0 to 7. Design a 3-bit modulo 8 Gray code counter FSM. a) First design and sketch a 3-bit modulo 8 Gray code counter FSM with no inputs and three outputs, the 3-bit signal Q2:0. (A modulo N counter counts from 0 to N −...

  • In this lab, you will design a finite state machine to control the tail lights of...

    In this lab, you will design a finite state machine to control the tail lights of an unsual car. There are three lights on each side that operate in sequence to indicate thedirection of a turn. Figure ! shows the tail lights and Figure 2 shows the flashing sequence for (a) left turns and (b) right rums. ZOTTAS Figure 28:8: BCECECece BCECECECes BCECECECB BCECECBCB 8888 Figure 2 Part 1 - FSM Design Start with designing the state transition diagram for...

  • 2. To demonstrate a Mealy state machine, let's design a simple arbiter between two requesting entities. We're g...

    2. To demonstrate a Mealy state machine, let's design a simple arbiter between two requesting entities. We're going to have two request inputs: reqA and reqB. And two outputs: grantA and grantB. Any combination of requests can be asserted at any time: one of them, both of them, or neither. But at most only one grant can be asserted in any given cycle; if neither request is asserted then neither grant should be asserted. We'll need a state machine to...

  • This C++ Program consists of: operator overloading, as well as experience with managing dynamic memory allocation...

    This C++ Program consists of: operator overloading, as well as experience with managing dynamic memory allocation inside a class. Task One common limitation of programming languages is that the built-in types are limited to smaller finite ranges of storage. For instance, the built-in int type in C++ is 4 bytes in most systems today, allowing for about 4 billion different numbers. The regular int splits this range between positive and negative numbers, but even an unsigned int (assuming 4 bytes)...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT