Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE STOP SUBMITTING THE SAME WRONG ANSWER TO THIS QUESTION. This has been asked a handful of times and the same exact wrong answer keeps

image text in transcribed

PLEASE STOP SUBMITTING THE SAME WRONG ANSWER TO THIS QUESTION. This has been asked a handful of times and the same exact wrong answer keeps getting submitted quickly preventing anyone else from answering. The answer should involve a FOUR BIT selector and include ALL arithmetic and logic functions given. The WRONG answer constantly copy/pasted to this question uses a 3 bit selector and omits many of the functions. Please, if you don't know, DON'T ANSWER! Let somebody else try and stop getting thumbs down.

The 74LS181 is an ALU chip with the following function table. Input A, input B, and output F are 4-bits each. (a) Write VHDL code to implement the logic functions of the chip. You are free to select any VHDL design style i.e. Dataflow, structural, behavioral or mixed. (b) Write VHDL code to implement the arithmetic functions of the chip. You are free to select any VHDL design style i.e. Dataflow, structural, behavioral or mixed. ACTIVE-LOW DATA SELECTION M = H LOGIC FUNCTIONS M = L; ARITHMETIC OPERATIONS Cn = L Cn = H (no carry) (with carry) F = A MINUS 1 F = A S3 S2 S1 SO L L L L F = A 1 L L H F = AB MINUS 1 F = AB L L H L F = AB F = A +B F = 1 L L H L L H L F = AB MINUS 1 F = AB F = MINUS 1 (2's COMP) F = ZERO F = A PLUS (A + B) F = A PLUS (A + B) PLUS 1 F = AB PLUS (A + B) F = AB PLUS (A + B) PLUS 1 F = A MINUS B MINUS 1 F = A MINUS B L H L F = A +B F = B F = A B F = A + B H L H H L L H H H H L L L H L H L H F = AB F = A B F = B H L L F = A +B F = A PLUS (A + B) F = A PLUS B F = AB PLUS (A + B) F = (A + B) F = A PLUS A F = AB PLUS A F = (A + B) PLUS 1 F = A PLUS (A + B) PLUS 1 F = A PLUS B PLUS 1 F = AB PLUS (A + B) PLUS 1 F = (A + B) PLUS 1 F = A PLUS A PLUS 1 F = AB PLUS A PLUS 1 H L H H F = A + B F = 0 H H L L H H L H F = AB F = AB H H H L F = AB PLUS A F = A F = AB PLUS A PLUS 1 F = A PLUS 1 H H F = A The 74LS181 is an ALU chip with the following function table. Input A, input B, and output F are 4-bits each. (a) Write VHDL code to implement the logic functions of the chip. You are free to select any VHDL design style i.e. Dataflow, structural, behavioral or mixed. (b) Write VHDL code to implement the arithmetic functions of the chip. You are free to select any VHDL design style i.e. Dataflow, structural, behavioral or mixed. ACTIVE-LOW DATA SELECTION M = H LOGIC FUNCTIONS M = L; ARITHMETIC OPERATIONS Cn = L Cn = H (no carry) (with carry) F = A MINUS 1 F = A S3 S2 S1 SO L L L L F = A 1 L L H F = AB MINUS 1 F = AB L L H L F = AB F = A +B F = 1 L L H L L H L F = AB MINUS 1 F = AB F = MINUS 1 (2's COMP) F = ZERO F = A PLUS (A + B) F = A PLUS (A + B) PLUS 1 F = AB PLUS (A + B) F = AB PLUS (A + B) PLUS 1 F = A MINUS B MINUS 1 F = A MINUS B L H L F = A +B F = B F = A B F = A + B H L H H L L H H H H L L L H L H L H F = AB F = A B F = B H L L F = A +B F = A PLUS (A + B) F = A PLUS B F = AB PLUS (A + B) F = (A + B) F = A PLUS A F = AB PLUS A F = (A + B) PLUS 1 F = A PLUS (A + B) PLUS 1 F = A PLUS B PLUS 1 F = AB PLUS (A + B) PLUS 1 F = (A + B) PLUS 1 F = A PLUS A PLUS 1 F = AB PLUS A PLUS 1 H L H H F = A + B F = 0 H H L L H H L H F = AB F = AB H H H L F = AB PLUS A F = A F = AB PLUS A PLUS 1 F = A PLUS 1 H H F = 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

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

Database Concepts

Authors: David M. Kroenke

1st Edition

0130086509, 978-0130086501

More Books

Students also viewed these Databases questions

Question

1. EF CECEUF.

Answered: 1 week ago

Question

4. Who should be invited to attend?

Answered: 1 week ago

Question

How do modern Dashboards differ from earlier implementations?

Answered: 1 week ago