SlideShare a Scribd company logo
8
Most read
11
Most read
13
Most read
NAME OF STUDENT –Alok Singh KANPUR
(ALOK.LPU@YAHOO.COM)
Registration Number-11504455
Roll Number-26
SECTION –E1508 GROUP -2
Course Code: ECE-419
PROJECT TOPIC-2:4 DECODER USING SWITCH
LEVEL MODELLING
Under the Guidance of
(Mr sandeep dhariwal Assistant Professor)
2 x4 decoder using switch level(Alok singh kanpur)
Switch Level Modeling:-
The switch level of modeling provides a level of
abstraction between the logic and analog-
levels of abstraction, describing the
of transmission gates which are abstractions of
individual MOS and CMOS transistors. The switch
transistors are modeled as being either on or off,
conducting or not conducting. Further, the values
carried by the interconnections are abstracted
the whole range of analog voltages or currents to
small number of discrete values. These values are
referred to as signal strengths.
GATES USING PMOS AND
NMOS
NOT GATE NAND GATE
SYNTEX:-
Nmos
n1(output,data,control)
Pmos
p1(output,data,control)
DECODER
In digital electronics, a binary
decoder is a combinational
logic circuit that converts binary
information from the n coded
inputs to a maximum of
outputs. They are used in a wide
variety of applications, including
data DE multiplexing, seven
segment displays,
and memory address decoding.
2 x4 decoder using switch level(Alok singh kanpur)
BLOCK DIAGRAM USING
BASIC GATES:-
TRUTH TABLE:-
2 x4 decoder using switch level(Alok singh kanpur)
PROGRAM:-
 module notgate1(x,y);
 input x;
 output y;
 supply0 gnd;
 supply1 vdd;
 pmos x1(y,vdd,x);
 nmos x2(y,gnd,x);
 endmodule
NAND GATE:-
 module andgate(a,b,y);
 input a,b;
 output y;
 wire w,w1;
 supply0 gnd;
 supply1 vdd;
 pmos y1(w,vdd,a);
 pmos y2(w,vdd,b);
 nmos y3(w1,gnd,b);
 nmos y4(w,w1,a);
 notgate1 y5(w,y);
 endmodule
MAIN PROGRAM DECODER:-
 module decoder(a,b,i);
 input a,b;
 output [3:0]i;
 wire abar,bbar;
 notgate1 z1(a,abar);
 notgate1 z2(b,bbar);
 andgate z3(abar,bbar,i[0]);
 andgate z4(abar,b,i[1]);
 andgate z5(a,bbar,i[2]);
 andgate z6(a,b,i[3]);
 endmodule
TEST BENCH:-
 module decoder_test();
 reg a,b;
 wire [3:0]i;
 decoder d1(a,b,i);
 initial
 begin
 a=1'b0;b=1'b0;
 #5 a=1'b0;b=1'b1;
 #5 a=1'b1;b=1'b0;
 #5 a=1'b1;b=1'b1;
 #5 $stop;
 end
 endmodule
OUTPUT WAVEFORM:-
SCHEMATIC DIAGRAM:-
PROGRAM IN CADENCE:-
2 x4 decoder using switch level(Alok singh kanpur)

More Related Content

PDF
Chap 4 telemetry
PPT
17 SONET/SDH
PPT
F-NUCLEOSOMES.ppt
PDF
14 FM_Generation.pdf
PPTX
Ec8791 lpc2148 pwm
PPTX
Planar fabrication technology
PPTX
Physiology presentation cell nucleus
PPT
Twisted pair cable
Chap 4 telemetry
17 SONET/SDH
F-NUCLEOSOMES.ppt
14 FM_Generation.pdf
Ec8791 lpc2148 pwm
Planar fabrication technology
Physiology presentation cell nucleus
Twisted pair cable

What's hot (20)

PDF
Code Division Multiple Access
PDF
BT631-6-structural_motifs
PPTX
TDMA Time Division Multiple Access
PPTX
Vlsi design process
PPTX
Non covalent bonds
PDF
1536998350_Optical Receiver Operation.pdf
PPT
Unit III (Nucleic acid and genetic code).ppt
PPTX
Modulation techniques
PDF
7. log distance and log normal shadowing
PDF
Decoders
PPTX
Counters
PPTX
PPTX
Introduction to Oscilloscopes
PDF
2.1 introduction to cellular architecture
PDF
DNA & Its Topology
PPTX
Transmission line, single and double matching
PPTX
Binary parallel adder
PDF
Field effect transistors
PPTX
SRAM read and write and sense amplifier
PPTX
IS-IS Protocol Introduction
Code Division Multiple Access
BT631-6-structural_motifs
TDMA Time Division Multiple Access
Vlsi design process
Non covalent bonds
1536998350_Optical Receiver Operation.pdf
Unit III (Nucleic acid and genetic code).ppt
Modulation techniques
7. log distance and log normal shadowing
Decoders
Counters
Introduction to Oscilloscopes
2.1 introduction to cellular architecture
DNA & Its Topology
Transmission line, single and double matching
Binary parallel adder
Field effect transistors
SRAM read and write and sense amplifier
IS-IS Protocol Introduction
Ad

Similar to 2 x4 decoder using switch level(Alok singh kanpur) (20)

DOCX
Switch level modeling 2 x4
PPT
unit-6_combinational_jbiunkjnjbkjbjjcircuit-2.ppt
PPTX
Logic Design - Chapter 5: Part1 Combinattional Logic
PPT
leccccccccccc14_combinational_blocks.ppt
PPTX
ATT SMK.pptx
PPT
Chapter 4 combinational circuit
PPT
11.ppt
PDF
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
PPTX
Digital VLSI - Unit 2.pptx
PPTX
combinational-circuit.pptx it tis creative study of digital electronics for ...
PPTX
Decoders-Digital Electronics
PPTX
combinational-circuit (1).pptx for all the digital electronics data
PPTX
decoders121-170714184489769876987698749.pptx
PPT
Lcdf4 chap 03_p2
PPTX
presentation.pptx
PPT
combinational-circuit presenmtation .ppt
PPT
combinational-circuit.ppt
PPT
ANALYSIS & DESIGN OF COMBINATIONAL LOGIC
PPTX
Computer System and Architecture
PPT
Combinational circuit
Switch level modeling 2 x4
unit-6_combinational_jbiunkjnjbkjbjjcircuit-2.ppt
Logic Design - Chapter 5: Part1 Combinattional Logic
leccccccccccc14_combinational_blocks.ppt
ATT SMK.pptx
Chapter 4 combinational circuit
11.ppt
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
Digital VLSI - Unit 2.pptx
combinational-circuit.pptx it tis creative study of digital electronics for ...
Decoders-Digital Electronics
combinational-circuit (1).pptx for all the digital electronics data
decoders121-170714184489769876987698749.pptx
Lcdf4 chap 03_p2
presentation.pptx
combinational-circuit presenmtation .ppt
combinational-circuit.ppt
ANALYSIS & DESIGN OF COMBINATIONAL LOGIC
Computer System and Architecture
Combinational circuit
Ad

More from Alok Singh (14)

PPTX
PPTX
Nabard
PPT
Pre and post lpg In INDIA
PPT
Sebi(alok singh kanpur )
PPT
Rbi(alok singh kanpur)
PPT
Indian financial system(alok singh kanpur)
PPT
Financial services(alok swingh kanpur)
PPT
Capital market(alok singh kanpur)
PPT
Money market(alok singh kanpur)
PDF
Basics of digital verilog design(alok singh kanpur)
PPT
Fpga &;cpld(by alok singh)
DOC
Industrial automation (cold drink factory)
PPTX
Alok presentation industrial auto
PPT
Electronics Equipments Used in Hospital
Nabard
Pre and post lpg In INDIA
Sebi(alok singh kanpur )
Rbi(alok singh kanpur)
Indian financial system(alok singh kanpur)
Financial services(alok swingh kanpur)
Capital market(alok singh kanpur)
Money market(alok singh kanpur)
Basics of digital verilog design(alok singh kanpur)
Fpga &;cpld(by alok singh)
Industrial automation (cold drink factory)
Alok presentation industrial auto
Electronics Equipments Used in Hospital

Recently uploaded (20)

PPT
Project quality management in manufacturing
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
Safety Seminar civil to be ensured for safe working.
PPTX
web development for engineering and engineering
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Geodesy 1.pptx...............................................
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
PPT on Performance Review to get promotions
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
Well-logging-methods_new................
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Project quality management in manufacturing
Foundation to blockchain - A guide to Blockchain Tech
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Safety Seminar civil to be ensured for safe working.
web development for engineering and engineering
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Geodesy 1.pptx...............................................
CYBER-CRIMES AND SECURITY A guide to understanding
Internet of Things (IOT) - A guide to understanding
Model Code of Practice - Construction Work - 21102022 .pdf
PPT on Performance Review to get promotions
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Well-logging-methods_new................
CH1 Production IntroductoryConcepts.pptx
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx

2 x4 decoder using switch level(Alok singh kanpur)

  • 1. NAME OF STUDENT –Alok Singh KANPUR (ALOK.LPU@YAHOO.COM) Registration Number-11504455 Roll Number-26 SECTION –E1508 GROUP -2 Course Code: ECE-419 PROJECT TOPIC-2:4 DECODER USING SWITCH LEVEL MODELLING Under the Guidance of (Mr sandeep dhariwal Assistant Professor)
  • 3. Switch Level Modeling:- The switch level of modeling provides a level of abstraction between the logic and analog- levels of abstraction, describing the of transmission gates which are abstractions of individual MOS and CMOS transistors. The switch transistors are modeled as being either on or off, conducting or not conducting. Further, the values carried by the interconnections are abstracted the whole range of analog voltages or currents to small number of discrete values. These values are referred to as signal strengths.
  • 4. GATES USING PMOS AND NMOS NOT GATE NAND GATE
  • 6. DECODER In digital electronics, a binary decoder is a combinational logic circuit that converts binary information from the n coded inputs to a maximum of outputs. They are used in a wide variety of applications, including data DE multiplexing, seven segment displays, and memory address decoding.
  • 11. PROGRAM:-  module notgate1(x,y);  input x;  output y;  supply0 gnd;  supply1 vdd;  pmos x1(y,vdd,x);  nmos x2(y,gnd,x);  endmodule
  • 12. NAND GATE:-  module andgate(a,b,y);  input a,b;  output y;  wire w,w1;  supply0 gnd;  supply1 vdd;  pmos y1(w,vdd,a);  pmos y2(w,vdd,b);  nmos y3(w1,gnd,b);  nmos y4(w,w1,a);  notgate1 y5(w,y);  endmodule
  • 13. MAIN PROGRAM DECODER:-  module decoder(a,b,i);  input a,b;  output [3:0]i;  wire abar,bbar;  notgate1 z1(a,abar);  notgate1 z2(b,bbar);  andgate z3(abar,bbar,i[0]);  andgate z4(abar,b,i[1]);  andgate z5(a,bbar,i[2]);  andgate z6(a,b,i[3]);  endmodule
  • 14. TEST BENCH:-  module decoder_test();  reg a,b;  wire [3:0]i;  decoder d1(a,b,i);  initial  begin  a=1'b0;b=1'b0;  #5 a=1'b0;b=1'b1;  #5 a=1'b1;b=1'b0;  #5 a=1'b1;b=1'b1;  #5 $stop;  end  endmodule