IAS0430 MICROPROCESSOR SYSTEMS

Similar documents
[2 credit course- 3 hours per week]

Combinational vs Sequential

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

S.K.P. Engineering College, Tiruvannamalai UNIT I

VU Mobile Powered by S NO Group

DIGITAL ELECTRONICS MCQs

Chapter 2. Digital Circuits

TYPICAL QUESTIONS & ANSWERS

WINTER 14 EXAMINATION

MODULE 3. Combinational & Sequential logic

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous)

DIGITAL CIRCUIT COMBINATORIAL LOGIC

WINTER 15 EXAMINATION Model Answer


Computer Architecture and Organization

Advanced Devices. Registers Counters Multiplexers Decoders Adders. CSC258 Lecture Slides Steve Engels, 2006 Slide 1 of 20

AIM: To study and verify the truth table of logic gates

TEST-3 (DIGITAL ELECTRONICS)-(EECTRONIC)

Solution to Digital Logic )What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it,

ECE 263 Digital Systems, Fall 2015

Principles of Computer Architecture. Appendix A: Digital Logic

B. Sc. III Semester (Electronics) - ( ) Digital Electronics-II) BE-301 MODEL ANSWER (AS-2791)

TIME SCHEDULE. MODULE TOPICS PERIODS 1 Number system & Boolean algebra 17 Test I 1 2 Logic families &Combinational logic

Computer Systems Architecture

Chapter 4. Logic Design

Lecture 8: Sequential Logic

Saturated Non Saturated PMOS NMOS CMOS RTL Schottky TTL ECL DTL I I L TTL

CHAPTER 4: Logic Circuits

Introduction. NAND Gate Latch. Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1

IC TECHNOLOGY Lecture 2.

Minnesota State College Southeast

Music Electronics Finally DeMorgan's Theorem establishes two very important simplifications 3 : Multiplexers

Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 151) Pass Marks: 24

Logic Gates, Timers, Flip-Flops & Counters. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

North Shore Community College

Microprocessor Design

SEQUENTIAL LOGIC. Satish Chandra Assistant Professor Department of Physics P P N College, Kanpur

CHAPTER 4: Logic Circuits


Chapter Contents. Appendix A: Digital Logic. Some Definitions

DHANALAKSHMI SRINIVASAN INSTITUTE OF RESEARCH AND TECHNOLOGY CS6201-DIGITAL PRINCIPLE AND SYSTEM DESIGN. I Year/ II Sem PART-A TWO MARKS UNIT-I

ME 515 Mechatronics. Introduction to Digital Electronics

Department of Computer Science and Engineering Question Bank- Even Semester:

MODULAR DIGITAL ELECTRONICS TRAINING SYSTEM

Logic. Andrew Mark Allen March 4, 2012

Logic Design Viva Question Bank Compiled By Channveer Patil

Chapter 8 Sequential Circuits

DIGITAL SYSTEM DESIGN UNIT I (2 MARKS)

Introduction to Microprocessor & Digital Logic

Contents Circuits... 1

COMP2611: Computer Organization. Introduction to Digital Logic

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: Sequential Circuits

1 Hour Sample Test Papers: Sample Test Paper 1. Roll No.

TRAINING KITS ON DIGITAL ELECTRONIC EXPERIMENTS. Verify Truth table for TTL IC s AND, NOT, & NAND GATES

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of

IT T35 Digital system desigm y - ii /s - iii

CprE 281: Digital Logic

Sequential Logic and Clocked Circuits

DepartmentofElectronicEngineering NEDUniversity ofengineering &Technology LABORATORY WORKBOOK DIGITAL LOGIC DESIGN (TC-201)

CHAPTER1: Digital Logic Circuits

Notes on Digital Circuits

Chapter 7 Memory and Programmable Logic

LORDS INSTITUTE OF ENGINEERING & TECHNOLOGY

Chapter 9 MSI Logic Circuits

Helping Material of CS302

Chapter 3. Boolean Algebra and Digital Logic

TWO MARK QUESTIONS EE6301 DIGITAL LOGIC CIRCUITS

MODU LE DAY. Class-A, B, AB and C amplifiers - basic concepts, power, efficiency Basic concepts of Feedback and Oscillation. Day 1

CS6201 UNIT I PART-A. Develop or build the following Boolean function with NAND gate F(x,y,z)=(1,2,3,5,7).

Find the equivalent decimal value for the given value Other number system to decimal ( Sample)

UNIT-3: SEQUENTIAL LOGIC CIRCUITS

CSE115: Digital Design Lecture 23: Latches & Flip-Flops

Hardware Design I Chap. 5 Memory elements

Asynchronous (Ripple) Counters

Digital Integrated Circuits EECS 312

Notes on Digital Circuits

QUICK GUIDE COMPUTER LOGICAL ORGANIZATION - OVERVIEW

ELCT201: DIGITAL LOGIC DESIGN

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: Sequential Circuits

UNIVERSITI TEKNOLOGI MALAYSIA

Subject : EE6301 DIGITAL LOGIC CIRCUITS

I B.SC (INFORMATION TECHNOLOGY) [ ] Semester II CORE : DIGITAL COMPUTER FUNDAMENTALS - 212B Multiple Choice Questions.

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

Come and join us at WebLyceum

(CSC-3501) Lecture 7 (07 Feb 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

Digital Electronic Circuits and Systems

For Teacher's Use Only Q Total No. Marks. Q No Q No Q No

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

List of the CMOS 4000 series Dual tri-input NOR Gate and Inverter Quad 2-input NOR gate Dual 4-input NOR gate

Experiment 8 Introduction to Latches and Flip-Flops and registers

Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 3 Logistics

LAB #4 SEQUENTIAL LOGIC CIRCUIT

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

MC9211 Computer Organization

R13 SET - 1 '' ''' '' ' '''' Code No: RT21053

DIGITAL TECHNICS. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

CS302 Glossary. address : The location of a given storage cell or group of cells in a memory; a unique memory location containing one byte.

Transcription:

IAS0430 MICROPROCESSOR SYSTEMS Fall 2018 The 2nd lecture Martin Jaanus U02-308 martin.jaanus@ttu.ee 620 2110, 56 91 31 93 Learning environment : http://isc.ttu.ee Materials : http://isc.ttu.ee/martin

Topics The digital electronics in analogue world Logic functions ( not, nand,nor,xor...) Realization of logic functions (DTL, TTL, KMOP...) Devices with memory (decoders,multiplexers) Devices with memory (triggers,counters)

Digital electronics Digital ( latin language digitis finger, digit) A digital signal is a signal that is being used to represent data as a sequence of discrete values; at any given time it can only take on one of a finite number of valuespõhiline kasutus on kahendsüsteem, sest seda on lihtne kasutada (signaal kas on või ei ole) This contrasts with an analog signal, which represents continuous values; at any given time it represents a real number within a continuous range of values. Usually in digital electronics has also time discrete values.

Binary system Two possible values The simpliest digital system. Bitt. 0 False, missing, low level 1- True, present, high level Fuzzy logic is a form of many-valued logic in which the truth values of variables may be any real number between 0 and 1. It is employed to handle the concept of partial truth, where the truth value may range between completely true and completely false.

The Binary system in elecronics Current based (industrial electronis, automation) 0-4 ma, 1 20 ma, if current is missing, circuit is faulty. In consumer electronics usually voltage based: 0 0...0.5 V, 1 2.4...(3.3 V, 5 V) In industial communication and electronics can be also used other levels 0 >>5 V, 1 < -5V...-24 V (RS232) Logic states can be coded into AC voltage or current -: amplitude,frequency, phase. Modern communication technology. Separation zone

History 1705 Binary system (0,1) Gottfried Wilhelm Leibniz 1886 Georg Boole algebra (logic gates), relay logic 1907 The usage of Audion (electon valve) in NAND gate. 1924 predecessors of modern logic gates. 1941 The first electonically programmable device (Konrad Zuze, Z3), used electronic valves. 1953 The first fully semiconductor based computer. 1958 The first logic IC. Digital control module of automation(1973) USSR

History The usage of simple logic gates has decreased because of usage microprocessors, but anyway those components are hidden inside those devices. The usage of simle logic gates is required when speed is important. Digital control module of automation(1982) USSR

The Binary system in elecronics It is neccecarry that logic gates confirm states, positive feedback is required: The transfer function of inverter.

Logical operation - negation Without this operation the digital electronics is not possible! 0 1 ja 1 0 Y=X X Y X Y

Logical operation negation (inversion) The simpliest way to use one transistor. Transistor must be in closed or saturated state. Discrete components TTL CMOS The CMOS technology is the most popular, it does not consume energy in static state.

Logical operation negation (inversion) The problem in digital circuit transfer to others state must be as quick as possible! Current The solution : Decrease supply voltage (power depends of root of voltage ) and if it is possible working frequency. Cooling Parasitic capacitors need to recharged!

Connecting digital devices The programmer sees only 0 and 1 In real circuit there are existing voltages and currents They are always analogue values! When you design circuits you must take it into account! The next gate consumes energy (CMOS switching, TTL continiously), the output must allow it. In usual case there is possible connect to output 10 next inputs. Low Low High Low High High

Logical operation OR The gate with at least 2 inputs. The output is 1 kui at least one input is 1. Y=X1+X2+...Xn X1 X2 Y X1 X2 Y

Logical operation OR The simpliest realization use diodes. Example from consumer electonics Device is powered from battery OR from power network. Drawback voltage drop in diode is 0.7 V The dicrete elements can used in simpliest application. It is not used inside IC! (1973)

Logical operation AND The gate with at least 2 inputs. The output is 1 if all inputs are 1. Y=X1*X2*...Xn X1 X2 Y X1 X2 Y

Logical operation AND The simpliest realization use diodes.. This operation happens when you connect open collector gates. Data busses (näit I2C) The discrete elements can used in simplest application. It is not used inside IC! Vcc

Combined operations To get all logic funcionality you should have negation (NOT) and one of these AND or OR gate. If you have them, no more is physically required. The basic logic gates are NAND (the most popular) or NOR gates. 1973 The Soviet Union, Texas Instruments 1966

NAND One possible basic logic block The cascade connection of AND and NOT gates. The output is 1 if at least one input is 0 Y=X1*X2*...Xn X1 X2 Y X1 X2 Y You only need this component to make any logic circuit (Charles Sanders Peirce proved in 1880)

NOR One possible basic logic block The cascade connection of OR and NOT gates. The output is 0 if any input is 1 Y=X1+X2+...Xn X1 X2 Y X1 X2 Y You only need this component to make any logic circuit

Exclusive OR (XOR) Two inputs Output is 1 if the inputs are different. Y=X1+ X2 Can be made using NOR or NAND gates. The main usage is inside microprocessor (the part of adder) X1 X1 X2 Y X2 Y http://www.circuitstoday.com/half-adder The half adder

Exclusive NOR (XNOR) Two inputs The output is 1 if inputs are equal. Y=X1+X2 Can be made using NOR or NAND gates.. It can be used in synchronus detector. X1 X2 Y X1 X2 Y The corridor switch

Gates with third state It is not possible to connect outputs of usual logic gates together. It is possible to use gate with open collecor, but then we get additional NAND operation. To make it possible, some gates have possibility to beak the output (move it to high impedance mode high-z) Usually this input is labeled as ENABLE Usage in microprotsessor systems to connect different devices to one bus.

Decoder A binary decoder is a combinational logic circuit that converts binary information from the n coded inputs to a maximum of 2n unique outputs. They are used in a wide variety of applications, including data demultiplexing, seven segment displays, and memory address decoding. http://www.interfacebus.com/ic-bcd-to-7-segment-decoder-schematic.html

Multiplexer A multiplexer (or mux) is a device that selects one of several analog or digital input signals and forwards the selected input into a single line. Transmission line

Multiplekser Has 2 n inputs and n addres inputs Connects selected input with output. The input is detemineb by addres. https://commons.wikimedia.org/wiki/file:mux_from_3_state_buffers.png#/media/file:mux_from_3_state_buffers.png

Demultiplexer (demux) One input, 2 n outputs Connects selected output with input. The output is detemined by addres.

Logic devices with memory (triggers) Can store one bit of information. The information is stored until the power is on. Synchronous trigger ( changes states only during clock pulse) Asynchronous trigger (changes states immediately when input changes) Nonlinearity and positive feedback is required. The idea of memory- hysteresis (1973, USSR)

RS Flip-Flop S - Set, R Reset The simplest memory, but has forbidden state Asynchronous, changes states immediately when input changes. R=S=1 is not allowed!

Synchronisation The logic gates work in real-time (asynchronously). The most of digital systems work synchronously. The states change only when clock signal is active (falling or rising edge of signal or both). CLOCK kell Transition time must be lower than Δt. Clock frequency f=1/ Δt

Synchronous RS flip-flop Reacts only when clock signal is active, usually AND gates are added. State S=1 ja R=1 is forbidden(this is allowed in JK trigger, what is 2 RS triggrs in cascade connection+logic).

D flip-flop (memory cell) D delay > if D=1 then active front of clock switches it always to state 1. if D=0 then active front of clock switches it always to state 0.

The other flip-flops The JK flip-flop augments the behavior of the SR flip-flop (J=Set, K=Reset) by interpreting the J = K = 1 condition as a "flip" or toggle command. If the T input is high, the T flip-flop changes state ("toggles") whenever the clock input is strobed. If the T input is low, the flip-flop holds the previous value. (division by 2) Combined flip-flops. The combination with logic gates. http://www.circuitstoday.com/flip-flop-conversion

Nowdays computer memory RAM Random Access Memory Static (based on flip-flops), thefastest, expencive Dynamic (memory cell capacitor), takes less space, but needs refreshing charge decreases during time. The information is stored until the power is on! SRAM DRAM https://en.wikipedia.org/wiki/random-access_memory

Nowdays computer memory ROM Read Only Memory The infomation is stored even the power is off. The outer connections are similar with RAM. ROM The information is entered in production EPROM information can be programmed by user ( to erase UV light is needed) EEPROM Electrically erasable and programmable memory (slow) Flash EEPROM, same, but faster https://en.wikipedia.org/wiki/flash_memory The drawback of EEPROM memories. There is limited write cycles. The RAM memory can be replaced with flash memory in some cases. The idea of ROM: https://www.cl.cam.ac.uk/teaching/1213/sysonchip/materials/sg3bus/zhp4c6e8640b.html