Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part - 3 : Description In this part of the lab, you will create a data path for the ALU you build in Part -

Part-3: Description
In this part of the lab, you will create a data path for the ALU you build in Part-1. This data path will consist of 4 registers.
In this lab, we are using the register components. Refer to playwithRegister.dig to get a good starting idea of how this component works.
You will need to address 1 register via the interface select signals to determine which 4-bit register to write the input value to. Then using the D-Flip-flops in Digital.
You will use only one Clock Input to keep the circuit synchronized. That is, with Clock=0, set up your register write values. Once the values are set up, set Clock to 1. For this lab, a manual setting of clock signal from 0 to 1 is needed. Do not create a periodic clock signal.
Part-3: User Interface
You are provided an interface file lab2_part3.dig, start Part-3 from this file. You are not permitted to edit the content inside the dotted lines rectangles.
Figure: lab2_part3.dig Interface
Part-3: Example
In this design, the user can choose out of the 4 registers where to store the 4-bit value which needs to be rotated (inA from part-1) and also which register to store the rotation amount (inB from part-1), using the selwrite register selection inputs. The user ensures they direct these two registers to the correct Register Selection: Read From values for inA
and inB inputs values to the ALU.
In the figure above, we have written the value 5 to Register 3 and the value 1 to Register 1. Then, we read from Register 3 the value 5 to ALU input A and read from Register 1 the value 1 to ALU input B. Rotating 5 left by 1 b it results in {1,0,1,0} displayed in the ALU Output as hexadecimal A.

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_2

Step: 3

blur-text-image_3

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

Ehs 2.0 Revolutionizing The Future Of Safety With Digital Technology

Authors: Tony Mudd

1st Edition

B0CN69B3HW, 979-8867463663

More Books

Students also viewed these Databases questions

Question

Prepare an ID card of the continent Antarctica?

Answered: 1 week ago

Question

What do you understand by Mendeleev's periodic table

Answered: 1 week ago

Question

Additional Factors Affecting Group Communication?

Answered: 1 week ago