Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Digital Electronics I: Overview of Basic Logic Functions and Combinational Circuits, Slides of Digital Electronics

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

2011/2012

Uploaded on 02/17/2012

minh
minh ๐Ÿ‡ฒ๐Ÿ‡พ

4.4

(14)

12 documents

1 / 21

Related documents


Partial preview of the text

Download Digital Electronics I: Overview of Basic Logic Functions and Combinational Circuits and more Slides Digital Electronics in PDF only on Docsity! EEE130 Digital Electronics I Lecture #1_2 Dr. Shahrel A. Suandi 1-4 Overview of Basic Logic Functions โ€ข Digital systems are generally built from combinations of NOT, AND and OR logic elements โ€ข The combinations of these elements can be used for the followings: โ€“ Comparison, arithmetic, codes conversion, encoding, decoding, data selection, storage and โ€ข This section will only give introduction to these common logics, while the details will be explained in future chapters (Chapter 6) Subtractor, multiplier and divider โ€ข Subtractor is used for subtraction โ€“ Requires 3 inputs: โ€ข 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 all arithmetic operations are done in a microprocessor The Code Conversion Function โ€ข Code โ€“ set of bits arranged in a unique pattern and used to represent specified information โ€ข Function of code converter โ€“ to convert one code to another form of code โ€ข Example: โ€“ Binary BCD (binary coded decimal) โ€“ Binary gray code โ€ข BCD โ€“ binary codes that represent decimal digits. There are only 10 code groups in the BCD systems โ€ข Gray Code โ€“ used to minimize error, especially in servo (shaft position encoders). Is unweighted and is not an arithmetic code. There are no specific weights assigned to the bit positions The Encoding Function โ€ข Encoder โ€“ converts information from one form to another form โ€ข Example: โ€“ Calculator: when button โ€œ9โ€ is pressed, then the terminal is HIGH and being as the input to an encoder. This number โ€œ9โ€ is then converted into binary, for example โ€œ1001โ€ (BCD) The Storage Function โ€ข Usage: to retain binary data for a period of time โ€ข Example of storage devices: โ€“ Flip-flops, registers, semiconductor memories, magnetic disks, magnetic tape, and optical disks (CDs) โ€ข Flip-flops โ€“ a bistable logic circuit that can store only one bit at a time, either 1 or 0 โ€ข Registers โ€“ a combination of several flip-flops forms registers, 8-bit register is constructed from eight flip-flops โ€“ Shift registers are registers used to shift the bits from one position to another 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 Examples of registers(1 ) - serial shift register - Serial bits on input line 0101 โ€” 010 โ€” 0 0 01โ€” oO ]] Oo = J 0 0 0 | Initially, the register contains only invalid data or all zeros as shown here. First bit (1) is shifted serially into the register. Second bit (0) is shifted serially into register and first bit is shifted right. Third bit (1) is shifted into register and the first and second bits are shifted right. Fourth bit (0) is shifted into register and the first, second, and third bits are shifted right. The register now stores all four bits and is full. Examples of registers(2) - parallel shift register - Parallel bits on input lines 0 T โ€œ| ~ || Initially, the register is empty, O O O O containing only nondata zeros. 1 || All bits are shifted in and O ] O 1 stored simultaneously. 1-5 Fixed Function Integrated Circuit (IC) (2) โ€ข Pins Numbering โ€“ Pin 1 always marked by an identifier like small dot, a notch, or beveled edge โ€ข Complexity Classification for Fixed-Function ICs โ€“ SSI (Small-scale integration) โ€“ 10 gates โ€“ MSI (Medium-scale integration) โ€“ 10โ€”100 gates โ€“ LSI (Large-scale integration) โ€“ 100โ€”10,000 gates โ€“ VLSI (Very large-scale integration) โ€“ 10,000โ€”100,000 gates โ€“ ULSI (Ultra large-scale integration) -- >100,000 gates โ€ข Integrated Circuits Technology โ€“ You will come across MOSFETs, CMOS, TTL etc. in this topic 1-6 Introduction to Programmable Logic โ€ข 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 (Programmable Logic Device) Programming Process โ€ข Design Entry โ€ข Functional Simulation โ€ข Synthesis โ€ข Implementation โ€ข Timing simulation โ€ข Download Other Equipments โ€ข The Logic Analyzer โ€ข Signal Generator โ€“ Waveform generator, function generator โ€ข Others: โ€“ DC Power Supply Example Digital System 3. MOG) Number of Keypad for emvering tablets per bottle number of tablets. per bottle PP Binary code for preset number Code of lublets per bottle converter :: a fo HIGH closes valve On-site display of _ and advanees Binary code for y total tablets bottled conveyor, LOW actual number of a keeps valve open. tablets in bottle 55u One pulse icine from sensor for each tablet advances counter by'1. HIGH causes new sum to be stored. Pulse resets counter to zero n when next bottle is in place. (Current toral sum A binary code for the total number of tablets is transferred in serial form t along this line for remote display and computer inventory control. x Switching sequence control input
Docsity logo



Copyright ยฉ 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved