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
642 Downloads
Updated 9 Apr 2012

View License

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 (2025). 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 Linux
Categories
Find more on Simulink in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0