Beruflich Dokumente
Kultur Dokumente
Compiled by:
Machmud Effendy
References
1. Budiono Mismail, Dasar dasar Rangkaian Logika Digital, ITB.
2. Anil K.Maini, Digital Electronics, John Wiley & Sons
3. Louis Noshelsky, Introduction to Digital Computer Technology, John Wiley & Sons
4. Samuel C.Lee, Digital Circuit and Logic Design, Prentice Hall.
Session-1.
1. Syllabus and Rule of Lecture
2. Analog Versus Digital
3. Number System : Decimal, Biner, Octal, and Hexadecimal
4. 1s complement , 2s complement
5. Binary to Decimal Conversion, Octal to Decimal Conversion, Hexadecimal to Decimal Conversion
Session-2 and 3
1. Decimal to Binary Conversion, Decimal to Octal Conversion, Decimal to Hexadecimal Conversion
2. Binary to Octal and Octal to Binary, Hex to Binary and Binary to Hexa, Hex to Octal, Octal to Hexa
3. Aritmatical Operation: Addition, substraction, Multiplication, division
Session-4 and 5
1. Binary Coded Decimal (BCD) : BCD to Binary, Binary to BCD
2. Excess-3 Code
3. Gray Code : Binary to Gray Code, Gray Code to Binary
4. Alphanumeric Codes: ASCII Code
5. Seven Segment Display Code
6. Error Detection and Correction Codes: Parity Code, Repetition Code, Hamming Code
Session -6 and 7
1. Logic Gates and Related Devices
Session -8.
1. Middle Test
Session -9.
1. Boolean Algebra and Simplification Techniques I
Session -10.
1. Simplification Techniques II
Session -11.
1. Combinational Circuit and Arithmatic Circuit
Session -12 and 13
1. Flip-Flop and Related Devices: Bistable, Astable, dan Monostable
2. RS Flip-flop, J-K Flip-Flop, D-Flip flop, T Flip-flop
Session -14
1. Counter dan Register
Session -15
1. Application of Digital Circuit
Session -16.
1. Final Test
1
PATIENCE AND PRAYER
SESSION-1
Rule of Lectures:
Attendance=15%, Task and Quiz = 25%, Middle Test = 30%, Final Test=30%.
Each followed the course, must bring handouts
Students who are late up to 20 minutes, not allowed to follow the course.
Shall create a group with at least 4 people.
Analogue,is to express the numerical value of the quantity as a CONTINUOUS RANGE of values
between the two expected extreme values. For example, the temperature of an oven settable
anywhere from 0 to 100 C may be measured to be 65 C or 64.96 C or 64.958 C or even 64.9579 C
and so on, depending upon the accuracy of the measuring instrument. Similarly, voltage across a
certain component in an electronic circuit may be measured as 6.5 V or 6.49 V or 6.487 V or 6.4869 V
Digital, represents the numerical value of the quantity in STEPS OF DISCRETE VALUES. The numerical
values are mostly represented using binary numbers. For example, the temperature of the oven may
be represented in steps of 1 C as 64 C, 65 C, 66 C and so on.
Digital techniques and systems have the advantages of being relatively much easier to design and
having higher accuracy, programmability, noise immunity, easier storage of data and ease of
fabrication in integrated circuit form, leading to availability of more complex functions in a smaller
size. The real world, however, is analogue. Most physical quantities position, velocity, acceleration,
force, pressure, temperature and flowrate, for example are analogue in nature.
Logika positif (active-high logic): tegangan tinggi=1, tegangan rendah=0
x= 0 jika tegangan = 0v
1 jika tegangan = 1.2V /3.3V /5V
2
PATIENCE AND PRAYER
Binary-to-Decimal Conversion
The decimal equivalent of the binary number (1001.0101)2 is determined as follows:
The integer part=1001
The decimal equivalent= (120) +(02 1) +(022) +(123) =1+0+0+8=9
The fractional part= .0101
Therefore, the decimal equivalent=(021) +(122) +(023) +(124) =0+0.25+0 +0.0625=0.3125
Therefore, the decimal equivalent of (1001.0101)2 =9.312510
Octal-to-Decimal Conversion
The decimal equivalent of the octal number (137.21)8 is determined as follows:
The integer part=137
The decimal equivalent=(780) +(381) +(182) =7+24+64=95
The fractional part=.21
The decimal equivalent= (281) +(182) =0.265
Therefore, the decimal equivalent of (137.21)8 =(95.265)10
Hexadecimal-to-Decimal Conversion
The decimal equivalent of the hexadecimal number (1E0.2A)16 is determined as follows:
The integer part=1E0
The decimal equivalent=(0160) +(14161) +(1162) =0+224+256=480
The fractional part=2A
The decimal equivalent=(216 1) +(1016 2) =0.164
Therefore, the decimal equivalent of (1E0.2A)16 =(480.164)10
Example-1
Find the decimal equivalent of the following binary numbers:
(a) 00001110
(b) 10001110
Solution:
(a) The decimal equivalent=020 + 121 + 122 + 123 + 024 + 025 + 026 + 0 x 27
=0+2+4+8+0+0+0+0=14
Therefore, 00001110 represents = 14
(b) The decimal equivalent=020 + 121 + 122 + 123 + 024 + 025 + 026 + 127
=0+2+4+8+0+0+0+128=142
Therefore, 10001110 represents= 142
3
PATIENCE AND PRAYER
4
PATIENCE AND PRAYER
SESSION 2
5
PATIENCE AND PRAYER
6
PATIENCE AND PRAYER
7
PATIENCE AND PRAYER
8
PATIENCE AND PRAYER
9
PATIENCE AND PRAYER
A+3=D F + 1 = 10 A + 9 = 13 C + 5 = 11
A x 3 = 1E F x 3 = 2D A x 9 = 5A C x 5 = 3C
A-3 =7 F-1 =E A-9=1 C-5=7
XX + 3 = XX + 7= XX + A = .. XX + F = ..
XX x 3 = XX x 7= XX x A = .. XX x F = ..
XX - 3 = XX - 7= XX - A = .. XX - F = ..
10
PATIENCE AND PRAYER
SESSION 4
11
PATIENCE AND PRAYER
12
PATIENCE AND PRAYER
13
PATIENCE AND PRAYER
4.3.3 Exercise
14
PATIENCE AND PRAYER
15
PATIENCE AND PRAYER
16
PATIENCE AND PRAYER
4.4.2 EBCDIC
17
PATIENCE AND PRAYER
SESSION 5
18
PATIENCE AND PRAYER
Jika jumlah bit ganjil (termasuk bit parity) berubah pada waktu transmisi, maka bit parity
menjadi tidak benar dan mengindikasikan adanya kesalahan pada waktu pengiriman. Oleh
karena itu, bit parity merupakan kode pendeteksi kesalahan (error detecting code), dan bukan
merupakan kode pengoreksi kesalahan (error correcting code) karena tidak ada cara untuk
menentukan bit mana yang keliru. Data harus diabaikan seluruhnya dan mengulangi lagi
transmisi dari awal. Pada media transmisi yang terganggu, transmisi yang berhasil akan
membutuhkan banyak waktu atau tidak berhasil sama sekali. Parity mempunyai keuntungan,
yaitu hanya menggunakan satu bit saja dan membutuhkan satu saja gerbang XOR untuk men-
generate-nya.
Bit parity checking sering digunakan untuk transmisi karakter ASCII, karena karakter ini hanya
mempunyai 7 bit dan bit ke-8 dapat digunakan untuk bit parity. Sebagai contoh, diasumsikan
pengiriman 4 bit dengan nilai 1001, dengan bit parity terletak di sebelah paling kanan.
Penjelasan transmisi menggunakan even parity, sebagai berikut:
Mekanisme ini dapat mendeteksi kesalahan bit tunggal, karena jika satu bit berubah ketika
melewati jalur yang jelek, maka akan terdapat jumlah angka satu yang tidak benar pada saat
data diterima. Pada contoh di atas, B menghitung nilai parity dan mencocokkan dengan bit
parity pada nilai yang diterima, mengindikasikan bahwa tidak ada kesalahan bit tunggal. Pada
contoh di bawah ini akan terjadi kesalahan transmisi pada bit kedua:
Pada kasus di atas, B menghitung nilai parity (0) tidak sama dengan bit parity (1) pada nilai
yang diterima. Hal ini mengindikasikan terjadi kesalahan. Di bawah ini contoh yang sama
tetapi dengan kesalahan pada bit parity-nya sendiri.
Sekali lagi, B menghitung keseluruhan odd parity, dan mengindikasikan kesalahan bit. Ada
keterbatasan pada skema parity ini, yaitu ketika ada kesalahan pada pengiriman data dengan bit
yang salah berjumlah genap seperti pada contoh di bawah ini:
20
PATIENCE AND PRAYER
21
PATIENCE AND PRAYER
22
PATIENCE AND PRAYER
23
PATIENCE AND PRAYER
24
PATIENCE AND PRAYER
6.2 Logic Gates
6.2.1 OR-Gate
25
PATIENCE AND PRAYER
26
PATIENCE AND PRAYER
27
PATIENCE AND PRAYER
28
PATIENCE AND PRAYER
29
PATIENCE AND PRAYER
30
PATIENCE AND PRAYER
31
PATIENCE AND PRAYER
32
PATIENCE AND PRAYER
6.2.8 Inhibit-Gate
33
PATIENCE AND PRAYER
34
PATIENCE AND PRAYER
35
PATIENCE AND PRAYER
6.2.11 Trisate Logic Gates
36
PATIENCE AND PRAYER
6.2.13 Schmitt Gates
37
PATIENCE AND PRAYER
38
PATIENCE AND PRAYER
6.2.14 IEEE (Institute of Electrical and Electronis Engineer)/ANSI (American National Standard
Institue) Standards Symbol
39
PATIENCE AND PRAYER
40
PATIENCE AND PRAYER
41