Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please teach me how to rotate the Alu and implements a bitwise left rotation~ a Specifications: Part-1 Part-1: Description In this part of the lab

Please teach me how to rotate the Alu and implements a bitwise left rotation~

image text in transcribed

a Specifications: Part-1 Part-1: Description In this part of the lab you will build a single operation ALU. This ALU will implement a Bitwise Left Rotation. For this lab assignment you are not allowed to use Digital's Arithmetic components. HINT: You might find the resources listed in the Resources section above especially helpful for building your ALU's operation. The ALU you will be implementing consists of two 4-bit inputs (named A and B) and one 4-bit output (named out). Your ALU must rotate the bits in A by the amount given by B (-15). Part-1: User Interface You are provided an interface file lab2_part1.dig, start Part-1 from this file. You are not permitted to edit the content inside the dotted lines rectangle. Interface (do not edit the content inside this box) Inputs Rotatee: ina, Dan, ina, ina, Dina, O Rotation amount inB, O, inB, O, ind, s, inB, Od Outputs Result of Rotating input A by the amount given by input B: Cut Out32DO Out2 out out Douto Figure: Lab2_parti.dig Interface Part-1: Example In the figure above, the inputs are A = {inA_3, inA_2, inA_1, inA_0} = {0, 1, 0, 0} and B = {inB_3, inB_2, inB_1, inB_@} {0, 0, 1, 0}. Therefore, we must rotate {0, 1, 0, 0} bitwise left by 2 to get {0, 0, 0, 1}. a Specifications: Part-1 Part-1: Description In this part of the lab you will build a single operation ALU. This ALU will implement a Bitwise Left Rotation. For this lab assignment you are not allowed to use Digital's Arithmetic components. HINT: You might find the resources listed in the Resources section above especially helpful for building your ALU's operation. The ALU you will be implementing consists of two 4-bit inputs (named A and B) and one 4-bit output (named out). Your ALU must rotate the bits in A by the amount given by B (-15). Part-1: User Interface You are provided an interface file lab2_part1.dig, start Part-1 from this file. You are not permitted to edit the content inside the dotted lines rectangle. Interface (do not edit the content inside this box) Inputs Rotatee: ina, Dan, ina, ina, Dina, O Rotation amount inB, O, inB, O, ind, s, inB, Od Outputs Result of Rotating input A by the amount given by input B: Cut Out32DO Out2 out out Douto Figure: Lab2_parti.dig Interface Part-1: Example In the figure above, the inputs are A = {inA_3, inA_2, inA_1, inA_0} = {0, 1, 0, 0} and B = {inB_3, inB_2, inB_1, inB_@} {0, 0, 1, 0}. Therefore, we must rotate {0, 1, 0, 0} bitwise left by 2 to get {0, 0, 0, 1}

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

Handbook Of Database Security Applications And Trends

Authors: Michael Gertz, Sushil Jajodia

1st Edition

1441943056, 978-1441943057

More Books

Students also viewed these Databases questions

Question

1. Television more Over watching faceing of many problems ?

Answered: 1 week ago

Question

Is there a link between chronic stress and memory function?

Answered: 1 week ago