













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
An introduction to digital electronics, focusing on the basic logic functions of not, and, and or elements and their applications in comparison, arithmetic, codes conversion, encoding, decoding, data selection, storage, and counting. The document also covers the concepts of arithmetic functions, code conversion function, encoding function, decoding function, data selection function, and storage function.
Typology: Slides
1 / 21
This page cannot be seen from the preview
Don't miss anything!














-^ Digital systems are generally built fromcombinations of NOT, AND and OR logicelements •^ The combinations of these elements can beused for the followings:^ – Comparison, arithmetic, codes conversion, encoding,
-^ This section will only give introduction to thesecommon logics, while the details will beexplained in future chapters (Chapter 6)
-^ 2 inputs •^ 1 borrow input -^ Multiplier is used for multiplication^ – Two inputs/numbers are multiplied at a time^ – Multiplication is actually a process of multiple time of addition, so
we can also use adder
for this purpose
-^ Divider is used for division^ – Two inputs/numbers are used for this purpose^ – The outputs generated are the quotient and the remainder^ – Similar to multiplier, divider is actually series of subtractions,
comparisons, and shifts
Æ^ adder can be used
in conjunction with
other circuits for this purpose
-^ Do you know ALU??–^
Arithmetic Logic Unit– a unit where allarithmetic operationsare done in amicroprocessor
-^ Encoder – converts information from one form to anotherform •^ Example:^ – Calculator: when button “9” is pressed, then the terminal is HIGH
and being as the input to an encoder. This number “9” is thenconverted into binary, for example “1001” (BCD)
-^ Usage: to retain binary data for a period of time •^ Example of storage devices:^ –^
Flip-flops, registers, semiconductor memories, magnetic disks, magnetictape, and optical disks (CDs)
-^ Flip-flops – a bistable logic circuit that can store only one bit at atime, either 1 or 0 •^ Registers^ –^
a combination of several flip-flops forms registers, 8-bit register isconstructed from eight flip-flops – Shift registers are registers used to shift the bits from one position toanother within the register or out of the register to another circuit
-^ Semiconductor memories – used for storing large numbers of bits.E.g.: ROM (permanently or semipermanently stored), RAM(temporarily stored) •^ Magnetic memories – used for mass storage of binary data. E.g.:floppy disk
-^ Logic elements and functions can be found available in integrated circuit (IC) formbecause–^
Small size, high reliability, low cost, low power consumption
-^ Monolithic IC – an eletronic circuit that is constructed entirely on a single chip ofsilicon•^ Digital IC can be divided into 2:–^
Fixed-function logic – logic function have been fixed by the manufacturer. Need to refer specsheet before using it / cannot be changed– Programmable logic – logic function can be changed based on the program that we write intothe IC
-^ IC Packages–^
DIP (Dual In Line) – the most common– SMT (Surface Mount Technology) – eg. Small outline integrated circuit (SOIC), PLCC(Plastic leaded chip carrier), LCCC (Leadless ceramic chip carrier).– others: SSOP, TSSOP and TVSOP
-^ Types of Programmable Logic Devices–^
SPLD (Single Programmable Logic Device) – there are PAL and GAL– CPLD (Complex Programmable Logic Device)– FPGA (Field Programmable Gate Array)
PLD (ProgrammableLogic Device)