ALU
Abstraction and Implementation of ALU (Arithmetic Logic Unit) in Hardware Design Language and Java™.
Arithmetic Logic Unit (ALU)
The Hack ALU computes a fixed set of functions on given two 16-bit inputs, out of which the function can be one of the possible eighteen functions.
We instruct the ALU which function to compute using six input bits, called control bits to the selected binary values.


Implementation of ALU in HDL
The ALU can be implemented using some of the gates we've learnt earlier.
Implementation of ALU in Java™
Similar to the Implementation in HDL
Last updated