EL071 - Sistem Digital
EL071 - Sistem Digital
COURSE MODULE
DIGITAL SYSTEM
EL071 -2 credits
[1]
Machine Translated by Google
FOREWORD
We give thanks and respect to the presence of Allah SWT, because above
His permission, so that we can complete the Digital Systems module
This.
Drafting team
[2]
Machine Translated by Google
LIST OF CONTENTS
Cover Page
[3]
Machine Translated by Google
[4]
Machine Translated by Google
[5]
Machine Translated by Google
implementation of lectures
3. Students are able to understand
Binary, Octal, Decimal number systems
and Hexadecimal.
[6]
Machine Translated by Google
problems
given in the question
Karnough Map.
Karnough.
code changes.
problems
given in the question
[7]
Machine Translated by Google
MEETING 1
NUMBER SYSTEM
Achievements : 1. Students can take part
Learning lectures according to contract
lectures
2. Students are capable
apply values
inner virtue
implementation of lectures
3. Students are able to understand
Binary, Octal, number system
Decimal and Hexadecimal.
[8]
Machine Translated by Google
deep application
lectures
1.11.Number Operations
Hexadecimal
Digital Implementation.
Digital Computer.
[9]
Machine Translated by Google
Erlangga, 1996
[10]
Machine Translated by Google
Course Weight
Learning Outcomes
2. Able to apply basic digital systems including binary number systems, gates
Lecture Schedule
deep application
lectures
[11]
Machine Translated by Google
7. Number System
Hexadecimal
11.Number Operations
Hexadecimal
4. Number Conversion
Hexadecimal
basic logic
2. Truth Table.
4. OR logic gate.
(NOT)
algebraically
Logic
6. Implementation Suite
Boolean Expressions
[12]
Machine Translated by Google
until Meeting 6
8 Face to face MIDTERM EXAM
2. Binary complement
12 Face to face 1. D flip-flop
2. JK flip-flop
3. SR flip-flop
13 E-Learning 1. T flip-flop
14 E-Learning 1. Asynchronous Binary Up
Counters
3. Asynchronous Up Down
Counters
4. Synchronous Binary Up
Counters
1. 6. Synchronous Binary Up
Down Counter
to 14
16 Face to face Final exams
[13]
Machine Translated by Google
Assessment Percentage
5. Responsibility
6. Be humble
7. Tolerance
8. Cooperation
9. Manners
[14]
Machine Translated by Google
Each number system has a Base or Radix (r), namely its number
Writing Numbers
A number N = dn dn-1 dn-2 .......... d2 d1 d0 d-1 d-2.......
Where :
dn = the digit with the highest weight and is written on the leftmost
d0 = digit with a weight of one and written last before the comma
Example :
Number Weight
decimal number. The weight of the number will depend on the radix and the order of the digits
the digits.
[15]
Machine Translated by Google
Example :
(N)r = dnr n + dn-1r n-1 + .... + d3r 3 + d2r 2 + d1r 1 + d0r 0 + d-1r -1 + d-2r -2 + ....
Example :
The Binary System is a number system that only uses two symbols
(0.1). This number is usually said to have a radix of 2 and is usually called
simplicity of the way, where the binary digits 0 and 1 are related to
• The binary system can only process binary numbers or binary coded numbers from
(binary) This results in that the numbers are given in another form
must be converted to binary form first before being processed by a system
[16]
Machine Translated by Google
digital at the end of the process the results (in binary form) can be converted
23 22 21 20 2 -1 2 -2 2 -3
Example :
1 0 0 1 (2) = …… (10)
So 1 0 0 1 (2) = 9 (10)
0 0 0 1 1
0 0 1 0 2
0 0 1 1 3
0 1 0 0 4
[17]
Machine Translated by Google
0 1 0 1 5
0 1 1 0 6
0 1 1 1 7
1 0 0 0 8
1 0 0 1 9
1 0 1 0 10
1 0 1 1 11
1 1 0 0 12
1 1 0 1 13
1 1 1 0 14
1 1 1 1 15
[18]
Machine Translated by Google
absolute, for example a voltage of 3.6 Volts will be considered the same as a voltage of 4.3
Volts, namely, both have a HIGH logic value. This does not apply in
analog system. In the analog system, the exact/certain value of voltage is something
The octal number system has a base or radix of 8 with the digits being 0, 1,
2, 3, 4, 5, 6, and 7.
83 828180 8 -1 8 -2 8 -3
Most Least
Octal
Significant Significant
point
Digits Digits
Example :
[19]
Machine Translated by Google
The decimal number system has a base or radix of 10 with the digits being
0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.
Most Least
Decimals
Significant Significant
point
Digits Digits
Decimal Integer
[20]
Machine Translated by Google
position, namely the base value raised to the power of the position.
Decimal Fractions
A decimal value that contains a fractional value after a comma, for example value
The hexadecimal number system has a base or radix of 16 with its digits
Most Least
Hexadec.
Significant Significant
point
Digits Digits
[21]
Machine Translated by Google
Hexadecimal Example
0+1=1
1+0=1
Example :
[22]
Machine Translated by Google
1-0=1
1-1=0
left).
Example :
When adding octal numbers, add them sequentially starting with the digits
to the right. If the sum result is more than 7 then carry will occur
Example :
[23]
Machine Translated by Google
Example :
Example :
11 Carry (Transfer) 1
[24]
Machine Translated by Google
129
197+
326
Example :
99 -
18
Example :
[25]
Machine Translated by Google
SUMMARY
There are 4 types of number systems, namely Binary number system, Number system
Octal, Decimal number system, and Hexadecimal number system. Every system
The number has a Base or Radix (r), namely the number of numbers and digits
EXERCISE
a. (10.01)2 e. (3.26)10
b. (10011001101)2 f. (43.9)10
c. (552.31)8 g. (90d,2f)16
d. (74.52)8 h. (6,af)16
[26]
Machine Translated by Google
3. Calculate:
a. 1011(2) + 10011(2) = ....... (2)
[27]
Machine Translated by Google
MEETING 2
NUMBER CONVERSION
Hexadecimal
Digital Implementation.
Digital Computer.
[28]
Machine Translated by Google
Erlangga, 1996
[29]
Machine Translated by Google
order from the digit with the lightest weight (Least Significant Digit / LSD).
Octal Digits 0 1 2 3 4 5 6 7
Binary
000 001 010 011 100 101 110 111
Equivalents
Example :
3 2 4
how to calculate the weight of the binary number first and continue
by dividing the weight of the number (in the form of a decimal number) by
dividing factor 8.
Example :
(1 1 0 1 0 1 0 0) (2)
x x x x x x x x
27 26 25 24 23 22 21 20
128+ 64 + 0 + 16 + 0 + 4 + 0 + 0 = 212(10)
The second step, divide the weight value of the binary number (in the form of a number
[30]
Machine Translated by Google
26 : 8 = 3, remaining 2
3 : 8 = 0, remaining 3 MSD
Example :
(1 0 0 1) (2)
x x x x
23 22 21 20
8+0+0+1 = 9(10)
Grouping is done in order of the digit with the lightest weight (Least
Example :
[31]
Machine Translated by Google
(0001)(1101)(0010)
Example :
(1 1 1 0 1 0 0 1 0) (2)
x x x x x x x x x
28 27 26 25 24 23 22 21 20
The second step, divide the weight value of the binary number (in the form of a number
29 : 16 = 1, remainder 13 = D
1 : 16 = 0, remaining 1 MSD
[32]
Machine Translated by Google
Example :
(54 2) 8
how to calculate the weight of Octal numbers first and continue with
divide the weight of the number (in the form of a decimal number) by factors
divider 2.
Example :
(5 4 2) (8)
x x x
82 81 80
320 + 32 + 2 = 354(10)
The second step, divide the weight value of the octal number (in the form of a number
88 : 2 = 44, remaining 0
[33]
Machine Translated by Google
44 : 2 = 22, remaining 0
22 : 2 = 11, remaining 0
11 : 2 = 5, remaining 1
5 : 2 = 2, remaining 1
2 : 2 = 1, remaining 0
1 : 2 = 0, remaining 1 MSD
like converting binary numbers to decimal numbers. That is the first time
all you have to do is multiply each digit by the appropriate weight. Next
Example :
one digit octal number to three digit binary number. The second stage is
[34]
Machine Translated by Google
Example :
(54 2) 8
(0001)(0110)(0010)
Example :
(5 4 2)8
x x x
82 81 80
320 + 32 + 2 = 354(10)
The second step, divide the weight value of the octal number (in the form of a number
22 : 16 = 1, remaining 6
1 : 16 = 0, remaining 1 MSD
[35]
Machine Translated by Google
the desired new number (until the result = 0). The remainder of each division
will be the digits of the new number. The remainder of the first division
becomes the rightmost digit (LSD) and the remainder of the last division becomes
This is done by repeatedly dividing the decimal number by the dividing factor
is 2.
Example :
22 : 2 = 11, remaining 0
11 : 2 = 5, remaining 1
5 : 2 = 2, remaining 1
2 : 2 = 1, remaining 0
1 : 2 = 0, remaining 1 MSD
Example :
48 : 8 = 6 , remaining 0
[36]
Machine Translated by Google
Example :
23 : 16 = 1 , remaining 7
1 : 16 = 0 , remaining 1 MSD
Example :
(A C 2) 16
10 12 2
[37]
Machine Translated by Google
Example :
(10 12 2) (16)
x x x
The second step, divide the weight value of the Hexadecimal number (in the form
86 : 2 = 43, remaining 0
43 : 2 = 21, remaining 1
21 : 2 = 10, remaining 1
10 : 2 = 5, remaining 0
5 : 2 = 2, remaining 1
2 : 2 = 1, remaining 0
1 : 2 = 0, remaining 1 MSD
digits of a hexadecimal number to four digits of a binary number. The second stage is
converts each three digit binary number to one digit octal number.
[38]
Machine Translated by Google
Example :
(5 A 8) 16
5 10 8
Example :
(5 A 8) (16)
(5 10 8) (16)
x x x
1280+160+8 = 1448(10)
The second step, divide the weight value of the Hexadecimal number (in the form
[39]
Machine Translated by Google
22 : 8 = 2, remaining 6
2 : 8 = 0, remaining 2 MSD
just like converting octal numbers to decimal which consists of two stages.
That is, the first thing you have to do is multiply each digit in it
Example :
SUMMARY
A certain base will be made into a number with another base. In general
calculate the weight of the number (in decimal number form), next
[40]
Machine Translated by Google
EXERCISE
= = =
3. 987(10) .......... (8) .......... (16) ....... (2)
= = =
4. ADE(16) .......... (2) ............ (8) ....... (10)
[41]
Machine Translated by Google
MEETING 3
LOGIC GATES
Achievements : Students are able to understand
Learning various kinds of logic gates
basis, truth table, Gate
AND logic, OR logic gates,
Inverter logic gate (NOT).
[42]
Machine Translated by Google
Digital Implementation.
Digital Computer.
Erlangga, 1996
[43]
Machine Translated by Google
[44]
Machine Translated by Google
Input Output
A BX = A + B
0 0 0
0 1 1
1 0 1
1 1 1
From table 3.1 it appears that the output logic that occurs is very dependent
– When the input logic A and B both have logic 0, then the output logic is X
is 0.
– When both inputs A and B have logic 1, then the output logic X is 1.
The AND logical operation is the same as ordinary multiplication of the numbers 1 and 0.
The logical AND operation will produce a logical output of 1 if and only if
from an input variable that has logic 0, the output logic is obtained
will have a value of 0.
2 input. From the truth table it appears that if all the logic variables
input value is 1 then the output logic will have a value of 1. Conversely, if it is minimal
if one of the inputs has logic 0, then the output logic will have a value of 0.
[45]
Machine Translated by Google
The Boolen equation expression for the AND logic gate is:
Q=A.B
The truth table for the AND logic gate can be seen in table 3.2:
Table 3.2 Truth table for AND logic gate with 2 inputs
Input Output
A BQ = A . B
0 0 0
0 1 0
1 0 0
1 1 1
[46]
Machine Translated by Google
In table 3.3 is the truth table for the 3 input OR logic gate and
4 inputs.
Table 3.3 Truth table for AND logic gates with 3 inputs and 4 inputs
switch. To understand the working principle of the AND logic gate, you can see
figure 3.4. In figure 3.4, two switches A and B are shown arranged
in series which is used to turn on the lights. The light will just turn on
if switch A and switch B are active/closed/have a value of 1. Meanwhile the light will remain on
turns off if no switches are active or only one switch is active
[47]
Machine Translated by Google
The pin configuration for logic gate ICs can be seen in Figure 3.5.
[48]
Machine Translated by Google
from the TTL family ( Transistors Logic ) and ICs from the CMOS family
( Complementary Metal-Oxide-Silicon). TTL ICs are marked with the initial numbers 74LSXX
or 74HCXX, while CMOS ICs begin with the letters CDXXXX. Each IC
have their own weaknesses and advantages. The main difference between TTL IC and IC
CMOS can be seen in table 3.4.
IC No – TTL IC – CMOS
has a value of 1. The logical OR operation will produce a logical 0 if all variables are
[49]
Machine Translated by Google
there is a value of 0.
The truth table for the OR logic gate is shown in table 3.5
A BQ = A + B
0 0 0
0 1 1
1 0 1
1 1 1
[50]
Machine Translated by Google
Table 3.6 Truth table for OR logic gates with 3 inputs and 4 inputs
[51]
Machine Translated by Google
Logic gates can be found on the market in the form of chips or ICs.
The following is an IC for an OR logic gate.
1. IC from the TTL family: 74LS32 quad 2 input OR GATE
2. IC from the CMOS family: CD4071 quad 2 input OR GATE
3. IC from the CMOS family: CD4075 Tripe 3 input OR GATE
4. IC from the CMOS family: CD4072 Dual 4 input OR GATE
[52]
Machine Translated by Google
The truth table for the NOT logic gate is as in table 3.7
A Q=
0 1
1 0
If the input (A) = "1", then the output (Y) = "0", and vice versa, input
(A) = “0”, then the output is (Y) = “1”.
[53]
Machine Translated by Google
The NOT logic gate IC pin configuration can be seen in Figure 3.10.
[54]
Machine Translated by Google
Answer:
Example question 2
[55]
Machine Translated by Google
SUMMARY
Logic gates are three basic types of logic gates, namely gates
AND logic, OR logic gates and NOT logic gates.
EXERCISE
[56]
Machine Translated by Google
MEETING 4
BOOLEAN ALGEBRA
algebraically
Logic
Boolean Expressions
Digital Implementation.
[57]
Machine Translated by Google
Digital Computer.
Erlangga, 1996
[58]
Machine Translated by Google
Boolean algebra uses the values 1 and 0 as input and output. Value 0
and 1 corresponds to the binary number system. Boolean algebra is basic
in designing digital circuits and use in computing equipment
modern today. In digital electronic circuits, condition "1" is expressed by
voltage is 5V and the condition "0" is expressed as a voltage of 0V or can also be
with the OFF condition as logic "0" and ON as logic "1".
There are 2 types of theorems in Boolean algebra, namely variable theorems
single and multiple variable theorems.
[59]
Machine Translated by Google
The plural variable theorem is generally the same as the theorem in algebra
[60]
Machine Translated by Google
A
X = AB + C
B C
A
X = (A+B) C
B C
[61]
Machine Translated by Google
Boolean operational expressions contain the two basic operations, namely AND and
OR. The AND operation is carried out first (X = AB + C, where AB is processed first
formerly). This is because the priority of multiplication is higher than addition.
For the second example (A+B) it is processed first (X = (A+B) C).
If a NOT gate/Inverter is present in a logic circuit, then
the gate's output will be equal to the inverse of its input, which is normal
expressed with a sign and is pronounced “bar” or “accent”.
Figure 4.2 Example of a logic gate circuit containing a NOT logic gate
[62]
Machine Translated by Google
[63]
Machine Translated by Google
[64]
Machine Translated by Google
SUMMARY
EXERCISE
1. Prove Boole's theorem using a truth table.
2. Determine the value are: A = 1, B = 1, C = 0, D = 1.
[65]
Machine Translated by Google
MEETING 5
LOGIC GATES
NAND AND NOR
Achievements : Students are able to form
Learning NAND and NOR gates as well
construct a truth table.
[66]
Machine Translated by Google
Erlangga, 1996
[67]
Machine Translated by Google
The Boolean equation for a NAND logic gate can be written as follows.
A BQ =
0 0 1
0 1 1
1 0 1
1 1 0
It can be seen from the truth table that the output of the NAND logic gate (Q) will be
is 1 if any or all of the inputs are 0, only if all
the input has a value of 1 (A = 1, B = 1)
[68]
Machine Translated by Google
The following is the pin configuration of several NAND logic gate ICs
[69]
Machine Translated by Google
The Boolean equation for a NOR logic gate can be written as follows.
A B Q=
0 0 1
0 1 0
1 0 0
1 1 0
[70]
Machine Translated by Google
It can be seen from the truth table that the output of the NOR logic gate (Q) will be
has a value of 1 if all inputs are 0, and will have a value of 0 if any
The input value is 1.
The following are several examples of NOR logic gate IC leg configurations.
[71]
Machine Translated by Google
SUMMARY
1. NAND logic gates are a combination of AND logic gates and gates
NOT logic, or AND logic gates that have an inverter on
the output.
2. The NOR gate is a combination of an OR gate with
A inverter(NOT).
EXERCISE
[72]
Machine Translated by Google
MEETING 6
LOGIC GATES
EX-OR AND EX-NOR
Achievements : Students are able to form
Digital Implementation.
Digital Computer.
[73]
Machine Translated by Google
Erlangga, 1996
[74]
Machine Translated by Google
[75]
Machine Translated by Google
Table 6.1 Truth table for EX-OR logic gate with 2 inputs
Input Output
A B Q
0 0 0
0 1 1
1 0 1
1 1 0
It can be seen from the truth table that if one of the two inputs is 1 (High), then
The output X will be 1 (High). If the input is 0 (Low) all or
all values are 1 (high), then the output X will have a value of 0 (Low).
Apart from having 2 inputs, Ex-OR logic gates also have 3 inputs
variable. The symbol for a logic gate with 3 variable inputs can be seen as shown in
the following image.
The Boolean algebra for Ex-OR with 3 variable inputs can be written as follows
A truth table for Ex-OR logic with 3 variable inputs can be created
as seen in table 6.2.
[76]
Machine Translated by Google
Table 6.2 Truth table for EX-OR logic gate with 3 inputs
Figure 6.3 Ex-OR logic made from OR, AND and NAND logic gates
[77]
Machine Translated by Google
Ex-OR logic gates can also be formed from NAND logic gates only, namely:
Figure 6.4 Ex-OR logic formed from NAND logic gates only
Figure 6.5 IC 74LS86 and 4030 quad 2 input Ex-OR pin configuration
[78]
Machine Translated by Google
The Ex-NOR logic gate is a combination of an Ex-OR logic gate with a gate
NOT logic.
Figure 6.6 Combined Ex-OR logic gate and NOT logic gate form
Ex-NOR logic
The Boolean algebra for the Ex-NOR logic gate can be written as follows:
Input Output
A B Q
0 0 1
0 1 0
1 0 0
1 1 1
[79]
Machine Translated by Google
The Boolean algebra for an Ex-NOR logic gate with 3 variable inputs is:
Then the truth table for Ex-NOR logic can be created as shown in the table
6.4.
Figure 6.9 logic circuit formed from NOT, OR and AND logic gates
to form Ex-NOR logic
[80]
Machine Translated by Google
[81]
Machine Translated by Google
SUMMARY
EXERCISE
[82]
Machine Translated by Google
MEETING 7
REVIEW MEETING 1 TO
MEETING 6
Achievements : Students are able to review
with meeting 6.
Digital Implementation.
Digital Computer.
[83]
Machine Translated by Google
Erlangga, 1996
[84]
Machine Translated by Google
The Binary System is a number system that only uses two symbols
(0.1). This number is usually said to have a radix of 2 and is usually called
base 2 numbers, each binary digit is called a bit. The octal number system has
base or radix 8 with digits 0, 1, 2, 3, 4, 5, 6, and 7. Number system
decimal has a base or radix of 10 with the digits being 0, 1, 2, 3, 4, 5, 6, 7, 8,
and 9. The hexadecimal number system has a base or radix of 16 with its digits
are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e and f. Where A = 10, B = 11, C= 12,
D = 13 , E = 14 and F = 15.
[85]
Machine Translated by Google
Q=A.B
Q=A+B
Boolean algebra uses the values 1 and 0 as input and output. Value 0
[86]
Machine Translated by Google
NAND logic gates are a combination of AND logic gates and gates
NOT logic, or AND logic gate which has an inverter at the output.
The Boolean equation for a NAND logic gate can be written as
following.
[87]
Machine Translated by Google
The Ex-NOR logic gate is a combination of the Ex-OR logic gate with
NOT logic gate.
The Boolean algebra for the Ex-NOR logic gate can be written as follows:
[88]
Machine Translated by Google
SUMMARY
1. There are 4 types of number systems, namely Binary number system, Number system
Octal, Decimal number system, and Hexadecimal number system. Every
This number system has a Base or Radix (r), which is the number
numbers and Digits (d) used in a number.
2. Number conversion is a process in which one number system with
A certain base will be made into a number with another base. In general
to convert certain numbers to certain numbers can be done
by calculating the weight of the number (in decimal number form),
Next, the conversion is carried out to the desired number by means of
perform division by the radix of the target number until it is finished.
3. There are three types of basic logic gates, namely AND logic gates, gates
OR Logic and NOT Logic Gates.
4. Boolean algebra is the basis for designing digital circuits and
used in today's modern computing equipment.
5. NAND logic gates are a combination of AND logic gates and gates
NOT logic, or AND logic gates that have an inverter on
the output.
6. A NOR gate is a combination of an OR gate and an OR gate
inverter(NOT).
7. Ex-OR logic gates are usually used to create operating circuits
Adder and Half-Adder special arithmetic and calculations.
8. The Ex-NOR logic gate is used to form the operating circuit
arithmetic and checking data such as ADDERS, SUBTRACTORS or PARITY
CHECKERS.
[89]
Machine Translated by Google
EXERCISE
[90]
Machine Translated by Google
MEETING 8
MIDTERM EXAM
Achievements : Students are able to answer
Digital Implementation.
Digital Computer.
[91]
Machine Translated by Google
Erlangga, 1996
[92]
Machine Translated by Google
[93]
Machine Translated by Google
MEETING 9
K-MAP (MINIMATION)
Achievements : Students are able to understand maps
Learning Karnough.
Discussion
Digital Implementation.
Digital Computer.
Erlangga, 1996
[94]
Machine Translated by Google
[95]
Machine Translated by Google
9.1. Minimization
K-Map Rules
1. Each group formed cannot contain any cells
contains zero values
[96]
Machine Translated by Google
[97]
Machine Translated by Google
[98]
Machine Translated by Google
[99]
Machine Translated by Google
Problems example
[100]
Machine Translated by Google
01
11
1 The same thing is the number 1 at the back, because it is located at the back
(second) then it is B (B is taken from the K-Map table above). If the same
the number 0 in second place is . It has been mentioned above that
[101]
Machine Translated by Google
number 0 = Bar/ .
10
11
1 The same is the number 1 in front, because it is located in front
(first) then it is A (A is taken from the K-Map table above). If the same
the number 0 in the first sequence is . It has been mentioned above that
number 0 = Bar/ .
So the conclusion from the example above is from the equation:
H = AB + B + A can be simplified using K-Map to BA / AB
(can be reversed alphabetically but must be 1 friend or cannot be reversed with
letters separated by addition or subtraction).
Problems example
[102]
Machine Translated by Google
Grouping the K map into 001 + 011 + 101 + 111 is the method
simplification by writing the same number (1 circle) and
translate it into letters like A, B, C.
The method :
011
011
101
111
The same 1 is the third 1 from the front, because it is located third
from the front then it is C (C is taken from the K-Map table above). If the same
the number 0 in the third place is . it has been mentioned above
that the number 0 = Bar/ .
So the conclusion from the example above is from the equation:
H = ABC + BC+ C+AC can be simplified using K-Map to C.
[103]
Machine Translated by Google
Simplification of 4 variables
Note: Bar =
Problems example
H=
Bar / is usually written as the number 0 while the number 1 is without Bar /
And it can be simplified further as follows
[104]
Machine Translated by Google
Grouping the K map into 1111 + 1011 and 1111 + 1110 and 1110 +
1100. The method above simplifies it from the far right side by side
leftmost in 1 row.
The simplification method is by writing the same number (1 circle) and
translate it into letters like A, B, C, D.
The method :
1111
1011
0 = Bar/ .
[105]
Machine Translated by Google
SUMMARY
EXERCISE
[106]
Machine Translated by Google
MEETING 10
K-MAP (IMPLICATIONS)
Achievements : Students are able to understand maps
Learning Karnough.
Sub Principal : 10.1. Sum Of Product (Minterm)
Discussion 10.2. Product Of Sum (Maxterm)
Bibliography : 1. Malvino, Principles and
Digital Implementation.
Design
[107]
Machine Translated by Google
Erlangga, 1996
2009
[108]
Machine Translated by Google
State the function into the form of SOPs and minterm functions
appropriate !
Solution:
Steps taken:
– Explain the multiplication.
A, B, C, D = 1
[109]
Machine Translated by Google
11111011111010100111 110001100100
15 11 14 10 7 12 6 4
Example :
appropriate!
Completion
Remember :
Remember :
So it becomes
[110]
Machine Translated by Google
0000000100100011
0 1 2 3
0000000110001001
0 1 8 9
SUMMARY
[111]
Machine Translated by Google
EXERCISE EXAMPLES
Solution:
f(A,B,C,D) = m (0, 1, 2, 3, 6, 7, 12, 13, 14, 15)
a. Corresponding K-Map
[112]
Machine Translated by Google
Group 2 :
[113]
Machine Translated by Google
Group 3 :
[114]
Machine Translated by Google
Group 2 :
Group 3 :
[115]
Machine Translated by Google
EXERCISE
1. State the function into the form of SOPs and minterm functions
in accordance !
appropriate!
[116]
Machine Translated by Google
MEETING 11
CODE CHANGING
Achievements : Students are able to understand
Digital Implementation.
Erlangga, 1996
[117]
Machine Translated by Google
[118]
Machine Translated by Google
(Binary-code decimal). This BCD code consists of 4 (four) bits, 5 bits, and
which is more than 5 bits, which means each decimal number represents 4 bits
The BCD code consisting of 4 bits that is commonly used is BCD 8421
6 = 0110
8 = 1000
4 = 0100
Answer :
7 = 0111
2 = 0010
8 = 1000
9 = 1001
From the example above, it can be seen that each decimal number represents 4 bits
BCD 8421. Because the BCD 8421 code is the most basic type of code,
binary numbers, and the BCD code 8421 can be made into a conversion table like
[119]
Machine Translated by Google
Table 11.1 Conversion Table for Decimal Numbers, Binary Numbers and BCD Numbers
Decimal Binary BCD
0 0 0000
1 1 0001
2 10 0010
3 11 0011
4 100 0100
5 101 0101
6 110 0110
7 111 0111
8 1000 1000
9 1001 1001
From table 11.1 it can be seen that to convert decimal numbers to BCD
It's very easy as long as the BCD from decimal 0 to 9 is memorized correctly and BCD
Of course it's easier than adding BCD because the result of adding BCD if
more than 9, then the sum result will be wrong. More details can be found
[120]
Machine Translated by Google
Example :
7+ 111+ 0111+
is right. However, the BCD addition, 1101 is not recognized in the BCD code.
This means that the BCD addition is not complete. how to solve it?
which exists. This means that BCD only uses 10 possibilities, namely from 0000 to
with 1001.
0001 0110
0111+
0001 1101
0110+
0010 0011
28 0010 1000
45 0011 1111
0110+
0100 0101
[121]
Machine Translated by Google
From the 3 examples above, it can be seen that each sum results in more
from 1001, then 0110 must be added.
[122]
Machine Translated by Google
Note that the sign bit is not complemented but kept constant
as 1 to indicate a negative number. Here are some additional examples
of negative numbers expressed in 1's complement form.
[123]
Machine Translated by Google
- 14 = 10001
-7.25 = 1000.10
- 326 = 1010111001
[124]
Machine Translated by Google
1st and 2nd's complement, positive numbers are always in binary form
actually and with sign bit 0. The difference lies in the representation
the negative numbers. Use of 1's complement forms and
2's complement due to its use makes it possible to perform operations
subtraction using only the addition operation. This is important because
means that a digital machine can use the same circuit for
both add and subtract, therefore saving space
and tools.
[125]
Machine Translated by Google
Note that the sign bit of the added and the added two-
both are 0 and the sign bit of the sum is 0, indicating that
this number is positive. Also note that the plus ones and the ones
add is made to have the same number of bits. This should always be done
in the 2nd complement system.
Note that the sign bits are also involved in the process
summation. It turns out that a carry is generated at the position of the addition result
final. This carry is always ignored, so the final sum is equal to 00101 (+5).
[126]
Machine Translated by Google
[127]
Machine Translated by Google
Example :
SUMMARY
EXERCISE
[128]
Machine Translated by Google
MEETING 12
FLIP FLOP
Achievements : Students are able to understand
Learning flip-flop working principle and
use
Sub Principal : 12.1. Flip Flop Definition
Discussion 12.2. SR Flip Flop
12.3. JK Flip Flop
12.4. D Flip Flop
Bibliography : 1. Malvino, Principles and
Digital Implementation.
[129]
Machine Translated by Google
Erlangga, 1996
2009
[130]
Machine Translated by Google
The basic Flip-Flop circuit can be composed of two NAND or NOR gates
gate. If it is composed of NAND gates, it is called a NAND gate latch or system
simply called a latch, as shown in figure 12.1 (a). Two NANDs
The gate is crossed between the NAND gate-1 output connected to one of the NAND gate-2
inputs, and vice versa. The gate output (output latch) is named Q and Q'.
Under normal conditions the two outputs are opposite to each other. Latch input is given
names SET and RESET. Figure 12.1 (b) shows the symbol of a NAND gate latch.
[131]
Machine Translated by Google
1 1 Q (unchanged)
0 1 Q = 1; Q' = 0
1 0 Q = 0; Q' = 1
0 0 Uncertain
[132]
Machine Translated by Google
0 0 Q (unchanged)
1 0 Q = 1; Q' = 0
0 1 Q = 0; Q' = 1
1 1 Uncertain
[133]
Machine Translated by Google
[134]
Machine Translated by Google
[135]
Machine Translated by Google
From figure 12.5 it can be seen that the FF output is not affected by the leading edge
negative of the clock pulse. Also note that the S and R levels are missing
clock. The S and R inputs are essentially controller inputs, which are
controls which state the FF output goes to when a clock pulse occurs. Clock input
The input gets triggered when it transitions to negative. That little circle
[136]
Machine Translated by Google
[137]
Machine Translated by Google
3. The second clock pulse gets J=0 and K=0 when making the transition
positively, this causes the output Q to remain at its previous state i.e
Q=0.
4. The third clock pulse gets J=1 and K=0 when making the transition
positively, this causes the output Q=1.
5. The fourth clock pulse gets J=1 and K=1 when making the transition
positively, this causes FF to toggle so that the output Q is opposite of
previous condition, namely being Q=0.
[138]
Machine Translated by Google
[139]
Machine Translated by Google
[140]
Machine Translated by Google
SUMMARY
EXERCISE
[141]
Machine Translated by Google
MEETING 13
T - FLIP FLOP
Achievements : Students are able to understand
Learning principle Work flip-flop and
use
Sub Principal : 13.1.T flip-flop
Discussion
[142]
Machine Translated by Google
Erlangga, 1996
2009
[143]
Machine Translated by Google
[144]
Machine Translated by Google
The T-FF circuit is formed from SR-FF by utilizing the Set relationship
and Reset as well as outputs Q and Q' which are fed back to inputs S and R. T-
FF formed from JK-FF only needs to add the value "1" to the J inputs
and K (remember nature toggle from JK-FF). The T-FF circuit is formed from D FF only
by adding a simple combinational circuit to the input.
FF JK working principle:
• The two inputs (J and K) are combined into one so that only one exists
one way in and you will get a flip-flop that has an output
reversed from before.
• Output (Q) will always be toggle or contrary to previous conditions,
If a logic 1 input is given, the output condition will be
remains or is the same as the previous output condition when given input
logic 0.
• If the flip-flop output state is 0, then after a trigger signal
the next state becomes 1 and if the state is 1, then there is
trigger state changes to 0.
[145]
Machine Translated by Google
0 Qn Hold / remain
1 Toogle
or
[146]
Machine Translated by Google
SUMMARY
EXERCISE
[147]
Machine Translated by Google
MEETING 14
COUNTERS
Achievements : Students are able to understand
Decade
[148]
Machine Translated by Google
Digital Implementation.
Design
Erlangga, 1996
2009
[149]
Machine Translated by Google
Figure 14.1
[150]
Machine Translated by Google
In the above circuit, the J and K inputs of all the flip-flops are made in
state 1. Before the first pulse to be counted enters the input, then
all output counters L4, L3, L2 and L1 are made to 0 first by running
When the first pulse moves from 1 to 0, the flip-flop output A will be
changes from 0 to 1, Output B will remain constant due to the signal entering the clock input
changed from 0 to 1. The 3rd and 4th flips also didn't change because they haven't
there is a change in the clock input. So it can be concluded that after the pulse
(from 1 to 0) so that the output of flip-flop 2 becomes 1. While flip flops 3 and 4
the output has not changed because the input clock pulse has not
And so on until the 15th pulse comes. The four circuit outputs
The counter will be worth 1111. Once the 16th pulse is entered (change from 1 to 0)
The working principle of this counter is the opposite of the up counter, namely counting
binary numbers in order starting from top to bottom (from large to small).
The working principle of this counter is also no different from the up counter, only each output
flip-flop is taken from the output Q, while the input is connected to Q from the flip-flop
A B C D
Figure 14.2
[151]
Machine Translated by Google
[152]
Machine Translated by Google
Figure 14.3
then in this synchronour counter the pulse that you want to count is entered
each flip-flop simultaneously (together) so that the output of each flip-flop changes
Figure 14.4
[153]
Machine Translated by Google
The same as the synchronous binary up counter above, only the circuit is different
This performs calculations from top to bottom. The circuit can be seen at
figure 14.5.
Figure 14.5
Figure 14.6
Figure 14.7
[154]
Machine Translated by Google
Apart from being able to count pulses, the counter can also be used as a divider
frequency. The output frequency of a flip-flop is half the frequency
the input. So, a counter that uses four flip-flops will
divides the input frequency by 16 (f output = 1/16 f input).
SUMMARY
EXERCISE
[155]
Machine Translated by Google
MEETING 15
REVIEW OF MEETING MATERIALS 9
UNTIL MEETING 14
Achievements : Students are able to review
with meeting 14
Sub Principal : 15.1. Review Meeting Materials
Discussion 9 to meeting 14
Bibliography : 1. Malvino, Principles and
Digital Implementation.
Design
[156]
Machine Translated by Google
Erlangga, 1996
Sublime, 2009
[157]
Machine Translated by Google
K-Map Rules
• Each group formed cannot contain cells containing zero values
• A group may form horizontally or vertically, but not
can be diagonal.
• The number of cells per group allowed is 2n . Such as 1, 2, 4, 8, and
so on
• Each group must be formed with a large number of cells so that
produce as few groups as possible
• Every cell that contains the value 1, must be part of a group
• Groups are allowed to overlap
• Groups are allowed by Wrapping
A boolean function can be expressed in the form of SOP (Sum of Product), namely
the sum of multiplications.
•
[158]
Machine Translated by Google
The BCD code consisting of 4 bits that is commonly used is BCD 8421
because it is identical to binary numbers up to 9 decimal numbers and above 9
different from binary numbers.
The T-FF circuit is formed from SR-FF by utilizing the Set and Reset relationships
as well as outputs Q and Q' which are fed back to inputs S and R. The T-FF circuit
formed from JK-FF, you only need to add the value "1" to the J and K inputs
(remember nature toggle from JK-FF). The T-FF circuit is formed from D FF only
by adding a simple combinational circuit to the input.
[159]
Machine Translated by Google
SUMMARY
[160]
Machine Translated by Google
FF.
binary numbers.
EXERCISE
appropriate!
[161]
Machine Translated by Google
MEETING 16
FINAL EXAMS
Achievements : Students are able to answer
Digital Implementation.
Design
[162]
Machine Translated by Google
Erlangga, 1996
2009
[163]
Machine Translated by Google
c. Create a K-Map
b. Create a K-Map
[164]
Machine Translated by Google
FACULTY OF ENGINEERING
[165]