Académique Documents
Professionnel Documents
Culture Documents
http://www.unhas.ac.id/amil/mk/S1TE/2014_2/TD/
#1
Dr. Amil Ahmad Ilham, S.T., M.IT.
http://www.unhas.ac.id/amil
Materi Kuliah
Bahan I (Sampai MID Test)
SAP I
Dapat didownload di
http://www.unhas.ac.id/amil/mk/S1TE/2014_2/TD/
Rules!
Please be aware that:
No mark (zero) for late assignments without prior
permission or urgent reasons.
No mark (zero) for cheated assignments or exams.
No talks via mobile phone during class.
Silent mode is OK
You can leave class if you have an urgent call.
Penilaian
Mid Test (wajib diikuti)
Total Nilai = 0, jika Mid Test tidak diikuti.
Perbaikan Nilai
Tidak ada (waktu) perbaikan nilai.
Ujian susulan hanya akan diberikan jika
berhalangan hadir pada saat ujian karena:
Sakit atau alasan pribadi lain yang dapat diterima.
Ada pemberitahuan pada saat ujian atau sebelum
ujian
Contact Info
HP: 0853-9883-1853 (SMS and URGENT CALL
ONLY)
Email: amil_ai@yahoo.com
Logic gates
LOGIC GATES
Switch closed:
Short circuit across
switch
Current flows
Light is on
Vout is 0V
Switch-based circuits can easily represent two states:
on/off, open/closed, voltage/no voltage.
N-type
when Gate has positive voltage,
short circuit between #1 and #2
(switch closed)
when Gate has zero voltage,
open circuit between #1 and #2
(switch open)
Terminal #2 must be
connected to GND (0V).
10
Terminal #1 must be
connected to +2.9V.
11
CMOS Circuit
Complementary MOS
Uses both N-type and P-type MOS transistors
P-type
Attached to + voltage
N-type
Attached to GND
For all inputs, make sure that output is either connected to GND or to +,
but not both!
12
Truth table
In
Out
0 V 2.9 V
2.9 V
0V
In
Out
0
13
NOR Gate
0
14
OR Gate
15
Decoder
n inputs, 2n outputs
exactly one output is 1 for each possible input pattern
2-bit
decoder
Note the use of the
bubbles (NOT) in the
input.
16
Multiplexer (MUX)
n-bit selector and 2n inputs, one output
output equals one of the inputs, depending on selector
4-to-1 MUX
17
Full Adder
Add two bits and carry-in,
produce one-bit sum and carry-out.
A B Cin S Cout
0 0
0 0
0 1
0 1
1 0
1 0
1 1
1 1
18
Four-bit Adder
19