ece 331 – digital system design multiplexers and demultiplexers (lecture #13)

Download ECE 331 – Digital System Design Multiplexers and Demultiplexers (Lecture #13)

Post on 13-Dec-2015

213 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

  • Slide 1

ECE 331 Digital System Design Multiplexers and Demultiplexers (Lecture #13) Slide 2 ECE 331 - Digital System Design2 Multiplexers Slide 3 ECE 331 - Digital System Design3 Multiplexer A multiplexer switches (or routes) data from 2 N inputs to the output, where N is the number of select inputs. A multiplexer (mux) is a digital switch. Slide 4 ECE 331 - Digital System Design4 Multiplexer: 2-to-1 f s w 0 w 1 0 1 0 1 f f s w 0 w 1 s w 0 w 1 s = 0 selects w 0 s = 1 selects w 1 F = (w 0.s') + (w 1.s) 2 inputs1 output 1 select Slide 5 ECE 331 - Digital System Design5 LIBRARY ieee ; USE ieee.std_logic_1164.all ; ENTITY mux2to1 IS PORT (w0, w1, s: IN STD_LOGIC ; f: OUT STD_LOGIC ) ; END mux2to1 ; ARCHITECTURE Behavior OF mux2to1 IS BEGIN WITH s SELECT f

Recommended

View more >