Professional Documents
Culture Documents
Computer Organization and Architecture Week 2
Computer Organization and Architecture Week 2
ARCHITECTURE
IKSAN BUKHORI, M.PHIL.
SUPPLEMENTARY: BINARY AND DECIMAL
REPRESENTATION
DECIMAL BINARY
Remainder 1101
13
1 0
:2
6
0
1× 2 =1
1
:2
:2
3
1 0 ×2 =0
2
:2
1 1 1× 2 =4
3
0 1× 2 =8
CANONICAL FORM OF BOOLEAN EXPRESSION
(CONT’D)
MINTERM AND MAXTERM
A Minterm mi is a complete argument vector (a,b,c,...,x) for which a Boolean function f(a,b,c,...,x)
delivers the value ‘1’ in SOP canonical form
A Maxterm Mi is a complete argument vector (a,b,c,...,x) for which a Boolean function f(a,b,c,...,x)
delivers the value '0’ in POS canonical form
MINTERMS FROM VALUES
We know that, when Boolean variables are in the form of minterm, the variables will appear in the product. There are
the following steps for getting the shorthand notation for minterm.
• In the first step, we will write the term consisting of all the variables
• Next, we will write 0 in place of all the complement variables such as ~A or A'.
• We will write 1 in place of all the non-complement variables such as A or b.
• Now, we will find the decimal number of the binary formed from the above steps.
• In the end, we will write the decimal number as a subscript of letter m(minterm). Let's take some example to
understand the theory of shorthand notation
EXAMPLES: SHORTHAND NOTATION FOR MINTERM
Example:
MAXTERMS FROM VALUES
We know that, when Boolean variables are in the form of minterm, the variables will appear in the product. There are
the following steps for getting the shorthand notation for minterm.
• In the first step, we will write the term consisting of all the variables
• Next, we will write 1 in place of all the complement variables such as ~A or A'.
• We will write 0 in place of all the non-complement variables such as A or b.
• Now, we will find the decimal number of the binary formed from the above steps.
• In the end, we will write the decimal number as a subscript of letter M(minterm). Let's take some example to
understand the theory of shorthand notation
EXAMPLES: SHORTHAND NOTATION FOR MINTERM
Example:
SIMPLIFICATION OF BOOLEAN EXPRESSION
AND KARNAUGH MAP
EXAMPLE 1: ALGEBRAIC SIMPLIFICATION
First of all, by tracing through all wires, we can see that the output is
EXAMPLE 1: ALGEBRAIC SIMPLIFICATION
This now is the simplest form of the original expression. The logic circuit thus looks as follows
EXAMPLE II: ALGEBRAIC SIMPLIFICATION
Solution:
HOW TO DESIGN LOGIC CIRCUIT
Boolean
Logic Spec Truth Table Simplify
Formula
HOW TO DESIGN LOGIC CIRCUIT: EXAMPLE
Design a logic circuit with three inputs A, B, and C and whose output is HIGH only when the majority of
the inputs are HIGH
KARNAUGH MAP
Karnaugh Map (or as what is commonly called in the business, K-map), is a tool that can make algebraic
simplification of logic expression easier and more structured
It is also commonly used to convert a truth table to its corresponding logic circuit
Theoretically, it can be used for any number of input variables, but its practical usefulness is limited to
five or six input variables
THANK YOU