ELE2MIC Lecture 19 MULTIPLEXOR - DATA SELECTOR

Slides:



Advertisements
Similar presentations
8086 [2] Ahad. Internal! External? 8086 vs _bit Data Bus 20_bit Address 8_bit Data Bus 20_bit Address Only external bus of 8088 is.
Advertisements

Encoders Three-state devices Multiplexers
RAM (RANDOM ACCESS MEMORY)
Digital Logic Design Week 7 Encoders, Decoders, Multiplexers, Demuxes.
Dr. Rabie A. Ramadan Al-Azhar University Lecture 3
Memory Section 7.2. Types of Memories Definitions – Write: store new information into memory – Read: transfer stored information out of memory Random-Access.
Control path Recall that the control path is the physical entity in a processor which: fetches instructions, fetches operands, decodes instructions, schedules.
Khaled A. Al-Utaibi 8086 Bus Design Khaled A. Al-Utaibi
H. Huang Transparency No.5-1 The 68HC11 Microcontroller Chapter 5: Operation Modes and Memory Expansion The 68HC11 Microcontroller Han-Way Huang Minnesota.
EXTERNAL COMMUNICATIONS DESIGNING AN EXTERNAL 3 BYTE INTERFACE Mark Neil - Microprocessor Course 1 External Memory & I/O.
Programmable Interval Timer
TK2633 Introduction to Parallel Data Interfacing DR MASRI AYOB.
COMP3221: Microprocessors and Embedded Systems Lecture 17: Computer Buses and Parallel Input/Output (I) Lecturer: Hui.
Chapter 10. Memory, CPLDs, and FPGAs
Programmable logic and FPGA
CS 151 Digital Systems Design Lecture 30 Random Access Memory (RAM)
Computer ArchitectureFall 2008 © August 20 th, Introduction to Computer Architecture Lecture 2 – Digital Logic Design.
MICROPROCESSOR BASED SYSTEM DESIGN
Engineering 4862 Microprocessors Lecture 26 Cheng Li EN-4012
Multiplexers DeMultiplexers XOR gates
1 The 8051 Microcontroller and Embedded Systems CHAPTER INTERFACING TO EXTERNAL MEMORY.
The 8051 Microcontroller architecture
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
ECE-L304 Lecture 5. 2 Step 3 Lab Complete 8-pin header Data Bus Test Port Resistor Array LED Array Timing & Filter Components Self-Clocked ADC DAC External.
9 MSI Logic Circuits Some of digital system operations: Decoding and encoding; multiplexing; demultiplexing; comparison; code converting; data busing.
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
1 SERIAL PORT INTERFACE FOR MICROCONTROLLER EMBEDDED INTO INTEGRATED POWER METER Mr. Borisav Jovanović, Prof.dr Predrag Petković, Prof.dr. Milunka Damnjanović,
School of Computer Science G51CSA 1 Computer Systems Architecture Fundamentals Of Digital Logic.
8086/8088 Hardware Specifications Power supply:  +5V with tolerance of ±10%;  360mA. Input characteristics:  Logic 0 – 0.8V maximum, ±10μA maximum;
Three-state devices Multiplexers
Fall 2004EE 3563 Digital Systems Design EE3563 Multiplexers  A multiplexer is a digital switch  Allows a device to select a single line from many  Some.
Memory and Storage Dr. Rebhi S. Baraka
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
Mux 2.1 Multiplexers and De-Multiplexers 2: ©Paul Godin Updated November 2007.
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
CHAPTER HARDWARE CONNECTION. Pin Description 8051 family members ◦ e.g., 8751, 89C51, 89C52, DS89C4x0) ◦ Have 40 pins dedicated for various functions.
Memory Read only memory (ROM) – nonvolatile
Microprocessors For a microprocessor to give a working microcomputer system, which can be used for control tasks, additional chips are necessary, e.g.
ELE22MIC Lecture 9 MULTIPLEXOR - DATA SELECTOR DEMULTIPLEXOR - DATA DISTRIBUTOR Parallel to Serial Data Conversion External Address Bus Latching Address.
ELE22MIC Lecture 10 MULTIPLEXOR - DATA SELECTOR
Multiplexers and De-Multiplexers 1
ECE 3110: Introduction to Digital Systems Chapter 5 Combinational Logic Design Practices Three-state devices Multiplexers.
CEC 220 Digital Circuit Design Timing Diagrams, MUXs, and Buffers Mon, Oct 5 CEC 220 Digital Circuit Design Slide 1 of 20.
CEC 220 Digital Circuit Design Timing Diagrams, MUXs, and Buffers
CIT 673 Created by Suriyong1 Micro controller hardware architechture.
Multiplexers and De-Multiplexers
Presented by Sadhish Prabhu
Multiplexors Decoders  Decoders are used for forming separate signals for different combination of input signals.  The multiplexer circuit is a digital.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 22 Memory Definitions Memory ─ A collection of storage cells together with the necessary.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Multiplexers.
ECE 2110: Introduction to Digital Systems Chapter 6 Review.
3.13 How many output lines will a five-input decoder have?
Chapter Microcontroller
HJD Institute of Technical Education & Research- Kera(Kutch) The 8051 Microcontroller architecture PREPARED BY: RAYMA SOHIL( )
AHMEDABAD INSTITUTE OF TECHNOLOGY
Microprocessors 3 Buses, Addresses and Machine Cycles 1 Modified April 2011 ©Paul R. Godin prgodin gmail.com.
Memory Interface EEE 365 [FALL 2014] LECTURER 12 ATANU K SAHA BRAC UNIVERSITY.
EGR 2131 Unit 6 Combinational Building Blocks
Class Exercise 1B.
Memory Interfacing.
Multiplexer.
EKT 124 MUX AND DEMUX.
More Devices: Control (Making Choices)
Interfacing 64Kb EPROM with 8085
Memory Units Memories store data in units from one to eight bits. The most common unit is the byte, which by definition is 8 bits. Computer memories are.
Interfacing Memory Interfacing.
EE345: Introduction to Microcontrollers Memory
The 8051 Microcontroller and Embedded Systems
Overview Last lecture Digital hardware systems Today
Digital System Design Combinational Logic
Presentation transcript:

ELE2MIC Lecture 19 MULTIPLEXOR - DATA SELECTOR DEMULTIPLEXOR - DATA DISTRIBUTOR External Address Bus Timing Diagrams Address Decoding using a 74LS138

Multiplexor - Data Selector Multiplex (MUX) many inputs to one output Switch selects the one signal source from many input signals. Like Stereo HiFi source selection switch

Two Input Multiplexor Output = (Input0 & Select#) | (Input1 & Select)

Four Input Multiplexor

Eight Input Multiplexor

74F151 8-Input MUX

74F151 8-Input MUX Pin Names and Loading / Fanout

Mux vs DeMux

AVR On-Chip SRAM Timing

AVR Data Ram When 4KB is enough RAM for an application, the On-Chip SRAM is sufficient. When 4KB is insufficient, an external RAM chip can be used to expand the address range to 64K bytes. There are four memory configuration options for external RAM.

AVR External Data Ram By setting the XMEM bit to 1, the eXternal MEMory interface is enabled, and the dedicated external memory control lines become active. The dedicated controls are ALE#, RE#, WE# and the multiplexed address & data bus bits 0..7 and the address bits 8..15 take control, overriding the port A, port C and port G (pins 0..2) functions.

AVR External Data Ram The dedicated control signals are: RE# - Read Enable - Active Low Data is read from the external memory (or device) into the AVR microcontroller. WE# - Write Enable - Active Low Data is written from the AVR to the external memory (or device).

AVR External Data Ram ALE - Address Latch Enable - Active High. When ALE transitions high, the Memory Address Register is asserted onto the Multiplexed Address & Data bus lines the bus enters a write-address phase the address is latched into an external address latch which is used to form an system’s external address bus.

AVR External Data Ram ALE - Address Latch Enable - Active High. When ALE is low, a data phase commences and data can be read or written to the external memory or device. (external in this context refers to off-chip memory)

AVR External Address Latch

AVR External Mem Timing

AVR External Mem Timing

68HC11 External Address Latch

HC11 Strobe Timing Diagram

Applications of a de-multiplexor The Memory Chip Select device used on the original IBM PC is a 74xx138 de-multiplexor. The 74LS138 is used to activate 1 of 8 lines based on the conditions of the three binary select inputs A, B & C, and the three enable inputs. The 74LS138 Outputs are “Active Low”.

74LS138 8-Output DEMUX De-Multiplex one input to many outputs -Reverse operation of a multiplexor 74LS138 Truth Table

DeMultiplexor The 74LS138 can be implemented by the logic shown. The 54LS138 is identical in function, but can operate over the “Mil-spec” -55°C to 125°C Temperature Range. The 74LS138 can operate over the Commercial 0°C - 70°C Temperature Range.

Memory Select

Address Decoding & Chip Select A15 -> G1#, E -> G, A14 -> A2, A13 -> A1 R/W# -> A0 Chip is enabled when A15 = 0 & E is High Y2 = (A14#) & (A13) & Write (R/W#=0) & E Y3 = (A14#) & (A13) & Read (R/W#=1) & E Y4 = (A14) & (A13#) & Write (R/W#=0) & E Y5 = (A14) & (A13#) & Read (R/W#=1) & E

Write Data Timing Diagram

EEPROM Technology (1)

EEPROM Technology (2) Erasure of Cells is performed by providing a tunnelling voltage to the control gate which causes the charge on the floating gate to be removed. When read, each cell returns a logical ‘1’ value.

EEPROM Technology (3) Programming of Cells is performed by providing a tunnelling voltage to the control gate which causes the charge to be placed on the floating gate. The write process writes the ‘0’s into each cell.

Logic Family - Propagation Delay (H-L)

Logic Family - Propagation Delay (L-H)

Logic Family - Propagation Delay (3)

Bus Design Rules Bus lines have very low line impedances (20 .. 40 Ohms). • Bus lines have to be terminated to prevent line reflections (signal distortion, circuit malfunctions due to undershoots). • Take care of propagation times (25 ns/m). Settling time of signals on TTL-type buses is 2 x tp (no incident wave switching). • Take care of control lines (clock, read, write, etc.). • Provide shielding between control lines and data / address lines.

Bus Design Rules • A multiplexed data and address bus reduces design problems (50% less signal lines and 50% less line drivers). • Driver output current is 100 mA/line. Provide adequate and low inductance GND return path (simultaneous switching)! • Rule of thumb: 25% of all backplane connector pins have to be GND lines! • Use multilayer boards with separate GND and Vcc plane for backplanes.

Acknowledgements Altium Protel 98, DXP or Altium 6 to create these schematic diagrams Logic Timing Diagrams are from Texas Instruments (TI) Logic Selection Guide - Digital Design Seminar National Semiconductor data sheets 74LS138. http://www.sea.vg/mic/2007/Atmel/Atmega128ManualDoc2467.pdf Paul Main - sea.net.au, October 2007