Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Project Assignment 2018 - A Simple Arithmetic Logic Unit Page 1 of 2 Arithmetic and Logic Units (or ALUs) are found at the core of

image text in transcribed

Project Assignment 2018 - A Simple Arithmetic Logic Unit Page 1 of 2 Arithmetic and Logic Units (or ALUs) are found at the core of microprocessors, where they implement the arithmetic and logic functions offered by the processor (e.g., addition, subtraction, AND'ing two values, etc.). An ALU is a combinational circuit that combines many common logic circuits in one block. Typically, ALU inputs are comprised of two fu N-bit busses, a carry-in, and M select lines that select between the ALU operations. ALU outputs include an N-bit bus for function output and a carry out Figure 1. Arithmetic and logic units Since ALUs operate on binary numbers, the bit-slice desigrn method is indicated. ALU design should follow the same process'M as other bit- slice designs: first, define and understand all inputs and outputs of a bit slice (i.e., prepare a detailed block diagram of the bit slice); second, capture the required logical relationships in some formal method (e.g., a truth table); third, find minimal circuits Figure 2 ALU bilt-siced block (by using K-maps or espresso) or write VHDL code; and fourth, proceed with circuit design and verification Loco" A Ag7..0] BI7..0) A B A B A B Carry out to -Cout Cin Cout Cin F[7.0 Figure 3. Block diagram of ALU composed of bit-sliced blocks A block diagram and operation table for our ALU is shown above. Note in the operation table, entered variables are used to define the functional requirements for the two outputs (F and Cout) of the bit-slice module. Once the ALU operation table is complete, a circuit can be designed following any one of several methods: K-maps can be constructed and minimal circuits can be looped muxes can be used (with an 8:1 mux for F and a 4:1 mux for Cout); the information could be entered into a computer-based minimizer and the resulting equations implemented directly; or we could bypass all the difficult and error-prone structural work and create a behavioral description using Hardware Description Language (such as Verilog or VHDL) Using the bit-slice method, design the VHDL circuit of the ALU described in the operation table and block diagram above. Project Assignment 2018 - A Simple Arithmetic Logic Unit Page 1 of 2 Arithmetic and Logic Units (or ALUs) are found at the core of microprocessors, where they implement the arithmetic and logic functions offered by the processor (e.g., addition, subtraction, AND'ing two values, etc.). An ALU is a combinational circuit that combines many common logic circuits in one block. Typically, ALU inputs are comprised of two fu N-bit busses, a carry-in, and M select lines that select between the ALU operations. ALU outputs include an N-bit bus for function output and a carry out Figure 1. Arithmetic and logic units Since ALUs operate on binary numbers, the bit-slice desigrn method is indicated. ALU design should follow the same process'M as other bit- slice designs: first, define and understand all inputs and outputs of a bit slice (i.e., prepare a detailed block diagram of the bit slice); second, capture the required logical relationships in some formal method (e.g., a truth table); third, find minimal circuits Figure 2 ALU bilt-siced block (by using K-maps or espresso) or write VHDL code; and fourth, proceed with circuit design and verification Loco" A Ag7..0] BI7..0) A B A B A B Carry out to -Cout Cin Cout Cin F[7.0 Figure 3. Block diagram of ALU composed of bit-sliced blocks A block diagram and operation table for our ALU is shown above. Note in the operation table, entered variables are used to define the functional requirements for the two outputs (F and Cout) of the bit-slice module. Once the ALU operation table is complete, a circuit can be designed following any one of several methods: K-maps can be constructed and minimal circuits can be looped muxes can be used (with an 8:1 mux for F and a 4:1 mux for Cout); the information could be entered into a computer-based minimizer and the resulting equations implemented directly; or we could bypass all the difficult and error-prone structural work and create a behavioral description using Hardware Description Language (such as Verilog or VHDL) Using the bit-slice method, design the VHDL circuit of the ALU described in the operation table and block diagram above

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

Larry Ellison Database Genius Of Oracle

Authors: Craig Peters

1st Edition

0766019748, 978-0766019744

More Books

Students also viewed these Databases questions

Question

=+Trainers from headquarters? Local trainers? Independent trainers?

Answered: 1 week ago