






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
Material Type: Assignment; Professor: Lee; Class: Intro to Computer Engr; Subject: Electrical & Computer Engr; University: Georgia Institute of Technology-Main Campus; Term: Fall 2008;
Typology: Assignments
1 / 12
This page cannot be seen from the preview
Don't miss anything!







ECE2030A Introduction to Computer Engineering Fall 2008 Homework Assignment # Assigned 09/08/08 Due in the first 5 min in class 09/15/ No late turn-in accepted
To get the negative complement : (1111 1111 0100 1000) 2 And then add 1. (-183) 10 (1111 1111 0100 1001) 2
Now convert to base 16 (-183) 10 = (FF49) 16
Convert to base 10 (0125) 7 = 0(7^3 ) + 1(7^2 ) + 2(7^1 ) + 5(7^0 ) = 0 + 49 + 14 + 5 (0125) 7 = (68) 10
Now, convert to base 9 (68) 10 = 7(9^1 ) + 5(9^0 )
Convert to base 2 (FFED) 16 = (1111 1111 1110 1101) 2
Notice that the leading (sign) bit is a one; therefore the answer will be negative. Apply two’s complement and add one.
Now convert from base 2 to base 10. = - (2^4 + 2^1 + 2^0 ) 10 = - (16 + 2 + 1 ) 10
Simple binary to hex conversion
Convert the digits of the right hand side one place at a time to base 10. (142)? = (1(?^2 ) + 4(?^1 ) +2(?^0 )) 10
Now solve for? 0 = (?^2 ) + 4(?) -
Using quadratic equation:
Therefore? = -11, or 7. However, base must be positive.
Let s = the unknown base. (5)s(8^2 ) 10 – (50)s(8) 10 + (125)s = 0;
Convert the coefficients one term at a time to base 10. (5)s = 5(s^0 ) = (5) 10 (50)s = 5(s^1 ) + 0(s^0 ) = (5s) 10 (125)s = 1(s^2 ) + 2(s^1 ) + 5(s^0 ) = (s^2 +2s + 5) 10
Method 2. Start with PDN.
F 㐄 䙲A · C ㎗ B · D䙳 · 㐵E ㎗ D㐹 ㎗ C
Remember to invert the entire Boolean equation first.
Then draw the pmos in complementary form.
The final result regardless of the method used:
[Note: with XOR there exist multiple representations for the logic]
Method 1. Start with PUN.
F 㐄 B · D · E ᘘ C ㎗ C · A 㐄 B · D · 㐵E · C ㎗ C · E㐹 ㎗ C · A
㐄 B · D · 㐵E · C ㎗ C · E㐹 · C · A
㐄 䚀B · D ㎗ 㐵E · C ㎗ C · E㐹䚁 · 㐵C ㎗ A㐹
㐄 䙦B · D ㎗ E · C ㎗ C · E䙧 · 㐵C ㎗ A㐹 [Version 1] 㐄 䙦B · D ㎗ 䙦E ㎗ C䙧 · 㐵C ㎗ E㐹䙧 · 㐵C ㎗ A㐹 [Version 2]
Version 1
Version 2
Any combination of the above pmos and nmos designs will work. One possible solution:
Therefore, LHS = RHS
F(A, B,C)=A⋅C+A⋅B+B+ C
SOP: Expand each term to encompass all literals: A 㐄 A · 㐵B ㎗ B㐹 · 㐵C ㎗ C㐹 㐄 A · B · C ㎗ A · B · C ㎗ A · B · C ㎗ A · B · C 㐄 m䙦0䙧 ㎗ m䙦1䙧 ㎗ m䙦2䙧 ㎗ m䙦3䙧 C 㐄 C · 㐵B ㎗ B㐹 · 㐵A ㎗ A㐹 㐄 A · B · C ㎗ A · B · C ㎗ A · B · C ㎗ A · B · C 㐄 m䙦0䙧 ㎗ m䙦2䙧 ㎗ m䙦4䙧 ㎗ m䙦6䙧 B · C 㐄 B · C · 㐵A ㎗ A㐹 㐄 A · B · C ㎗ A · B · C 㐄 m䙦5䙧 ㎗ m䙦1䙧
Therefore F䙦A, B, C䙧 㐄 㔳 m䙦0, 1,2,3,4,5,6䙧
POS: Use the property [X+Y·Z = (X+Y) ·(X+Z)] F䙦A, B, C䙧 㐄 A ㎗ C ㎗ B · C 㐄 A ㎗ 㐵C ㎗ B㐹 · 㐵C ㎗ C㐹 㐄 A ㎗ 㐵C ㎗ B㐹 · 䙦1䙧 㐄 A ㎗ B ㎗ C 㐄 M䙦7䙧
Therefore F䙦A, B, C䙧 㐄 㔷 M䙦7䙧
[Note: the terms of the POS plus the terms of the SOP accounts for all the 8 arrangement of literals]
Note the cells are indexed in the following manner. This is arranged such that only one bit is changed from one adjacent cell to another.
CD AB^00 01 11 00 0 1 3 2 01 4 5 7 6 11 12 13 15 14 10 8 9 11 10
Step 1. Fill in Maxterms and don’t cares CD (^00 01 11 ) AB 00 0 X 01 0 0 11 0 0 0 10 X 0
Step 2. Fill in remainder with 1s CD (^00 01 11 ) AB 00 1 1 0 X 01 1 1 0 0 11 0 0 0 1 10 X 1 0 1
Step 3. Find Largest Prime Implicants CD AB^00 01 11 00 1 1 0 X 01 1 1 0 0 11 0 0 0 1 10 X 1 0 1
The minimal SOP is: SOP 㐄 A · C ㎗ B · C ㎗ A · C · D