2-bit ALU
Version 1.0.0.0 (11.1 KB) by
Syperia
A simple example arithmetic logic unit (2-bit ALU) that does AND, OR, NOT, and addition
f0 and f1 stands for 1 operation
f1 f0 operation
===============
0 0 addition
0 1 NOT of A
1 0 OR
1 1 AND
Cite As
Syperia (2026). 2-bit ALU (https://www.mathworks.com/matlabcentral/fileexchange/36074-2-bit-alu), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2011a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |