1 / 30

ELE22MIC Lecture 10

ELE22MIC Lecture 10. MULTIPLEXOR - DATA SELECTOR DEMULTIPLEXOR - DATA DISTRIBUTOR External Address Bus Latching Address Strobe timing Diagram Address Decoding using a 74LS138. Multiplexor - Data Selector. Multiplex (MUX) many inputs to one output

Download Presentation

ELE22MIC Lecture 10

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ELE22MIC Lecture 10 • MULTIPLEXOR - DATA SELECTOR • DEMULTIPLEXOR - DATA DISTRIBUTOR • External Address Bus Latching • Address Strobe timing Diagram • Address Decoding using a 74LS138

  2. 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

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

  4. Four Input Multiplexor

  5. Eight Input Multiplexor

  6. 74F151 8-Input MUX

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

  8. Mux vs DeMux

  9. Parallel I/O

  10. External Address Latch • The Address Bus and Data Bus are multiplexed, and output to the 68HC11’s Port C pins. So that we can utilise external RAM, ROM & Peripherals (in expanded mode MODA/B) • The M.A.R. is presented on A0..A7/D0..D7 pins • The AS pin goes high to load the low 8 bits of the address into the external address latch. • An external address latch extends the internal memory address to create a system’s external address bus.

  11. External Address Latch

  12. Address Strobe Timing Diagram

  13. Applications of a de-multiplexor • The Memory Chip Select device used on the original IBM PC is a 74LS138 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”.

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

  15. 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.

  16. Memory Select

  17. 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

  18. Write Data Timing Diagram

  19. 68HC11 Flash Technology (1)

  20. 68HC11 Flash 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.

  21. 68HC11 Flash 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.

  22. 68HC11 I/O & Control Bits (2)

  23. Logic Family - Propagation Delay (H-L)

  24. Logic Family - Propagation Delay (L-H)

  25. Logic Family - Propagation Delay (3)

  26. 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.

  27. 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.

  28. Acknowledgements • I used Altium Protel 98 and Protel DXP to create these schematic diagrams • Logic Timing Diagrams are from Texas Instruments (TI) Logic Selection Guide - Digital Design Seminar • National Semiconductor data sheets 74LS138. • Motorola 11rm.pdf Reference Manual

More Related