Hasib Hasan Ankit Baingane Edward Hanson

Slides:



Advertisements
Similar presentations
Verilog in transistor level using Microwind
Advertisements

Verilog.
Supplement on Verilog adder examples
Digital Logic Design Week 7 Encoders, Decoders, Multiplexers, Demuxes.
EE 361 Fall 2003University of Hawaii1 Hardware Design Tips EE 361 University of Hawaii.
Verilog Modules for Common Digital Functions
CPEN Digital System Design
Documentation Standards
Table 7.1 Verilog Operators.
Multiplexers Section 3-7 Mano & Kime. Multiplexers & Demultiplexers Multiplexers (Selectors) Lab 1 – Behavioral VHDL -- Multiplexers MUX as a Universal.
Decoders/DeMUXs CS370 – Spring Decoder: single data input, n control inputs, 2 outputs control inputs (called select S) represent Binary index of.
DIGITAL SYSTEMS TCE OTHER COMBINATIONAL LOGIC CIRCUITS WEEK 7 AND WEEK 8 (LECTURE 3 OF 3) MULTIPLEXERS DEMULTIPLEXERS.
2-to-1 Multiplexer: if Statement Discussion D7.1 Example 4.
ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)
Quad 2-to-1 Multiplexer Discussion D7.4 Example 7.
Example of a Combinatorial Circuit: A Multiplexer (MUX)
Engineering 100 Section 250 Combinational Logic -- Examples 9/13/2010.
Decoders and Multiplexers Prof. Sin-Min Lee Department of Computer Science San Jose State University.
Learning Outcome By the end of this chapter, students are expected to understand a few elementary components in digital system Decoder Multiplexer Demultiplexer.
Introduction to Computer Science David Goldschmidt, Ph.D. Computer Science The College of Saint Rose CIS September 6, 2007.
Multiplexers 1 The output is equal to one of several input signals to the circuit The multiplexer selects which input signal to use as an output signal.
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
Digital Logic Problems (II) Prof. Sin-Min Lee Department of Mathematics and Computer Science.
Mux 2.1 Multiplexers and De-Multiplexers 2: ©Paul Godin Updated November 2007.
4. Electrons and electronics 4.5 Digital electronics.
EE2420 – Digital Logic Summer II 2013 Hassan Salamy Ingram School of Engineering Texas State University Set 12: Multiplexers, Decoders, Encoders, Shift.
ITEC 352 Lecture 3 Low level components(2). Low-level components Review Electricity Transistors Gates Really simple circuit.
Multiplexers and De-Multiplexers 1
Network Communications Chapter 6 Multiplexers and Switching Concepts.
Computer Architecture From Microprocessors To Supercomputers
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 Friday, February 14 CEC 220 Digital Circuit Design Slide 1 of 18.
CEC 220 Digital Circuit Design Timing Diagrams, MUXs, and Buffers
Magnitude Comparator A magnitude comparator is a combinational circuit that compares two numbers, A and B, and then determines their relative magnitudes.
Multiplexers and De-Multiplexers
Multiplexors Decoders  Decoders are used for forming separate signals for different combination of input signals.  The multiplexer circuit is a digital.
Multiplexers Section Topics Multiplexers – Definition – Examples – Verilog Modeling.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Multiplexers.
3.13 How many output lines will a five-input decoder have?
Multiplexers & Decoders By: Jason Pitts CS 147 Spring 2010.
CSE 140 Lecture 13 Combinational Standard Modules Professor CK Cheng CSE Dept. UC San Diego 1.
Chapter4: Combinational Logic Part 4 Originally By Reham S. Al-Majed Imam Muhammad Bin Saud University.
Chapter 36 Combinational Logic Circuits. Objectives After completing this chapter, you will be able to: –Describe the functions of encoders, decoders,
CHAPTER 2 Digital Combinational Logic/Arithmetic Circuits.
ECE 3130 Digital Electronics and Design
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 6) Hasib Hasan
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 2) Hasibul Hasan
Multiplexer.
EKT 124 MUX AND DEMUX.
Multiplexer.
CSE 140 Lecture 12 Combinational Standard Modules
Combinational Logic Circuits
OTHER COMBINATIONAL LOGIC CIRCUITS
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 11) Hasib Hasan
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 7) Hasib Hasan
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 12) Hasib Hasan
CSE 140 Lecture 12 Combinational Standard Modules
How Boolean logic is implemented
EET107/3 DIGITAL ELECTRONICS 1
Hasibul Hasan Ankit Baingane Edward Hanson
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 4) Hasib Hasan
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 13) Hasib Hasan
Register-Transfer Level Components in Verilog
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 10) Hasib Hasan
The Verilog Hardware Description Language
The Verilog Hardware Description Language
Digital System Design Combinational Logic
Introduction to Digital IC Design
Logic Gates By: Asst Lec. Besma Nazar Nadhem
Example of a Combinatorial Circuit: A Multiplexer (MUX)
Presentation transcript:

Hasib Hasan Ankit Baingane Edward Hanson University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 9) Hasib Hasan ha26@umbc.edu Ankit Baingane ankitb1@umbc.edu Edward Hanson ehanson1@umbc.edu

Multiplexers Also called MUX A device that selects one of several analog or digital input signals and forwards the selected input into a single line. The device in the counterpart is called Demultiplexer (DEMUX)

Multiplexers Uses: Communication System – Increases the efficiency of the communication system by allowing the transmission of data, such as audio & video data from different channels via through a single line. Computer Memory – Used in computer memory to keep up a vast amount of memory in the computers, and also to decrease the number of copper lines necessary to connect the memory to other parts of the computer. Telephone Network – Used in telephone networks to integrate multiple audio signals on a single line of transmission. Bottom line: Economizing connections or channels

Multiplexers Digital MUX: The selector lines have digital values. No. of input signals could be 2 𝑛 . If no. of input channels is 2 𝑛 , no. of selector lines is ‘n’ Named as ‘ 2 𝑛 to 1 MUX′

Multiplexers Digital MUX: What’s inside? Truth table: (for 2x1 MUX) Made of combinational logic Truth table: (for 2x1 MUX) S D1 D0 Out 1 Out= 𝑆 D0 + SD1

Multiplexers Expressions for the output: 4x1 MUX: 8x1 MUX ?? 2x1 MUX: Out= 𝑆 D0 + SD1 Similarly: 4x1 MUX: Out= 𝑆1 . 𝑆0 .𝐷0+ 𝑆1 .𝑆0.𝐷1+𝑆1. 𝑆1 .𝐷2+𝑆1.𝑆0.𝐷3 8x1 MUX ?? Notice- 1 00 01 10 11

Multiplexers Circuit: 2 x 1 MUX 4 x 1 MUX 8 x 1 MUX

3-input AND gate IC: IC 7411

Multiplexers Implementation in Verilog: 2x1 MUX module Notice: ‘case’ statement module mux_2(out,i1,i2,sel);   input sel; input i1,i2; output out; reg out; always @(sel or i1 or i2) begin case (sel) 1'b0: out=i1; 1'b1: out=i2; endcase end endmodule

Multiplexers Implementation in Verilog: testbench script- module mux_2_tb();   reg[2:0] in; wire out; mux_2 function1(out,in[0],in[1],in[2]); initial begin in=3'b000; repeat(7) #50 in=in+1'b1; end $monitor(" Selector=%b Channel2=%b Channel1=%b Output=%b",in[2],in[1],in[0],out); Endmodule

Multiplexers Implementation in Verilog: Output: Selector=0 Channel2=0 Channel1=0 Output=0 Selector=0 Channel2=0 Channel1=1 Output=1 Selector=0 Channel2=1 Channel1=0 Output=0 Selector=0 Channel2=1 Channel1=1 Output=1 Selector=1 Channel2=0 Channel1=0 Output=0 Selector=1 Channel2=0 Channel1=1 Output=0 Selector=1 Channel2=1 Channel1=0 Output=1 Selector=1 Channel2=1 Channel1=1 Output=1

Questions?