









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An introduction to arithmetic logic units (alus), which are the main computation units in most computer systems. Alus perform various functions such as addition, subtraction, or, and, etc. The document also covers rom-based moore machine timing, the functionality of alu chips, and expanding alus to form larger ones. Students will learn how alus are synchronized with a clock, how to determine alu outputs for given inputs, and how to model control as a state machine.
Typology: Study notes
1 / 16
This page cannot be seen from the preview
Don't miss anything!










Arithmetic Logic Unit (ALU)
Function Conditions
DataA DataB
DataOut
Think of ALU as a number of other arithmetic and logic blocks in a single box! Function selects the block
Adder Subtract
Performs 8 functions
Eight-bit ALU formed from 2 four-bit ALUs
In Out
Enable
If Enable asserted, Out = In Otherwise Out open-circuit
Clk Load
Data stored on rising edge if Load is asserted (e.g. Load = 1)
Determine values for Function, LoadA, LoadB
Function
LoadA A B LoadB
Determine values for Function, LoadA, LoadB
Model control as a state machine. Determine control outputs for each state
States S0 = 00 S1 = 01 S2 = 10
Present State Next State Function LoadA LoadB
PS
NS
0101110 1001001 0010110
Function, LoadA, LoadB
Note: No minimization! One line in ROM for each state
PS
NS
0101110 1001001 0010110
Function
LoadA A B LoadB