Professional Documents
Culture Documents
Slides were adopted and modified, with many thanks, from previous
versions belong to:
Prof. Ibrahim Kamel
example: binary adder
Design a circuit that adds two n-bit binary
numbers
0 0
0 1
Add two 5-bit
-- -- numbers:
0 1 1 1
1 1 01001
0 1 +11010
-- ---- --------------
1 10 1 0 0 0 11
carry
24/10/2009 cs221 – sherif khattab 5
Binary add/subtract
we can follow the same steps as before:
l step 1: specification
- 2n inputs
- n+1 outputs
- truth table
l step 2: simplification
l step 3: implementation
l step 3: implementation
l K-Maps: