Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Functional specification: This design could be used as a simple 4-bit Arithmetic Logic Unit (ALU) within a CPU. The operations are addition and subtraction with

Functional specification:\ This design could be used as a simple 4-bit Arithmetic Logic Unit (ALU) within a CPU. The operations are addition and subtraction with and without carry in; multiplication; bit operations of "and", "or", "inv", "xor", and "mask"; rotate left and right either without carry or through carry; and shift left and right. Four switches control the 4 bit operation, determining which of the 16 functions are implemented in the combinational logic. Nine other slide switches are used to set a Carry-in bit and two four bit operands. The function output is on two of the eight 7-segment displays, and three of the decimal points are used to display a Carry-out bit, a bit that indicates the function result is zero, and a bit that compares the magnitude of the two operands.\ For the below table,\

a=SW[15:12],b=SW[11:8]

, Cin = SW[7], opcode = SW[3:0]; Switch up = 1, switch down

=0

.\

f=a+b+C

in is a 5-bit sum displayed as two hexadecimal digits from 00 to

1F

.\ For multiplication and comparison, treat

a,b

, and

f

as unsigned integers.\

f=a**b

is an 8-bit product displayed as two hexadecimal digits from 00 to E1.\ Complete and implement the missing rows for Digit0.\ Digit7dp, Digit5, Digit5dp, Digit4dp, Digit3, Digit2, and Digit1dp should be off.

image text in transcribed
runctional specitication: This design could be used as a simple 4-bit Arithmetic Logic Unit (ALU) within a CPU. The operations are addition and subtraction with and without carry in; multiplication; bit operations of "and", "or", "inv", "xor", and "mask"; rotate left and right either without carry or through carry; and shift left and right. Four switches control the 4 bit operation, determining which of the 16 functions are implemented in the combinational logic. Nine other slide switches are used to set a Carry-in bit and two four bit operands. The function output is on two of the eight 7-segment displays, and three of the decimal points are used to display a Carry-out bit, a bit that indicates the function result is zero, and a bit that compares the magnitude of the two operands. For the below table, - a= SW[15:12], b = SW[11:8], Cin = SW[7], opcode = SW[3:0]; Switch up = 1, switch down =0. - f=a+b+C in is a 5-bit sum displayed as two hexadecimal digits from 00 to 1F. - For multiplication and comparison, treat a,b, and f as unsigned integers. - f=ab is an 8-bit product displayed as two hexadecimal digits from 00 to E1. - Complete and implement the missing rows for Digit0. - Digit7dp, Digit5, Digit5dp, Digit4dp, Digit3, Digit2, and Digit1dp should be off. runctional specitication: This design could be used as a simple 4-bit Arithmetic Logic Unit (ALU) within a CPU. The operations are addition and subtraction with and without carry in; multiplication; bit operations of "and", "or", "inv", "xor", and "mask"; rotate left and right either without carry or through carry; and shift left and right. Four switches control the 4 bit operation, determining which of the 16 functions are implemented in the combinational logic. Nine other slide switches are used to set a Carry-in bit and two four bit operands. The function output is on two of the eight 7-segment displays, and three of the decimal points are used to display a Carry-out bit, a bit that indicates the function result is zero, and a bit that compares the magnitude of the two operands. For the below table, - a= SW[15:12], b = SW[11:8], Cin = SW[7], opcode = SW[3:0]; Switch up = 1, switch down =0. - f=a+b+C in is a 5-bit sum displayed as two hexadecimal digits from 00 to 1F. - For multiplication and comparison, treat a,b, and f as unsigned integers. - f=ab is an 8-bit product displayed as two hexadecimal digits from 00 to E1. - Complete and implement the missing rows for Digit0. - Digit7dp, Digit5, Digit5dp, Digit4dp, Digit3, Digit2, and Digit1dp should be off

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

Practical Azure SQL Database For Modern Developers Building Applications In The Microsoft Cloud

Authors: Davide Mauri, Silvano Coriani, Anna Hoffma, Sanjay Mishra, Jovan Popovic

1st Edition

1484263693, 978-1484263693

More Books

Students also viewed these Databases questions

Question

=+j Explain IHRMs role in global HR research.

Answered: 1 week ago

Question

=+j Describe an effective crisis management program.

Answered: 1 week ago