Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

During the in-lab, you will be implementing the ALU block. As part of the design process, you need to develop an appropriate set of test

image text in transcribed

During the in-lab, you will be implementing the ALU block. As part of the design process, you need to develop an appropriate set of test vectors to verify basic functionality. Write a set of test vectors to verify that all 7 ALU operations work as designed. For each ALUOp operation you should generate 3 tests with randomly chosen different values for the BusA and BusB inputs and generate the appropriate output for each set of inputs for that function. Assume that the inputs to your ALU are the following: BusA(6301-the first ALU data value BusBI63:0] - the second ALU data value ALUCtrl[3:0]- the ALU control Assume the following outputs: Zero - single bit output flag that indicates the result of the current operation is a 0 BusWI63:0]-The result of the operation Cut and paste your test vectors below in a CSV text table format similar to this: Test name, ALUCtrl, BusA, BusB, Zero, BusW ADD1, 2, 20, 4500, 0, 4520 ADD2 Note all numbers should be in hex, without the leading "Ox" During the in-lab, you will be implementing the ALU block. As part of the design process, you need to develop an appropriate set of test vectors to verify basic functionality. Write a set of test vectors to verify that all 7 ALU operations work as designed. For each ALUOp operation you should generate 3 tests with randomly chosen different values for the BusA and BusB inputs and generate the appropriate output for each set of inputs for that function. Assume that the inputs to your ALU are the following: BusA(6301-the first ALU data value BusBI63:0] - the second ALU data value ALUCtrl[3:0]- the ALU control Assume the following outputs: Zero - single bit output flag that indicates the result of the current operation is a 0 BusWI63:0]-The result of the operation Cut and paste your test vectors below in a CSV text table format similar to this: Test name, ALUCtrl, BusA, BusB, Zero, BusW ADD1, 2, 20, 4500, 0, 4520 ADD2 Note all numbers should be in hex, without the leading "Ox

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

Step: 3

blur-text-image

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

Relational Database Technology

Authors: Suad Alagic

1st Edition

354096276X, 978-3540962762

Students also viewed these Databases questions

Question

Does it avoid using personal pronouns (such as I and me)?

Answered: 1 week ago

Question

Does it clearly identify what you have done and accomplished?

Answered: 1 week ago