SlideShare a Scribd company logo
Switch Level Modeling:-
The switch level of modeling provides a level of abstractionbetweenthe
logic and analog-transistor levels of abstraction, describing the
interconnectionof transmission gates which are abstractionsof
individual MOS and CMOS transistors. The switch level transistors are
modeled as being either on or off, conducting or not conducting. Further,
the values carried by the interconnectionsare abstracted from the whole
range of analog voltages or currentsto a small number of discretevalues.
These values are referred to as signal strengths.
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
2n
unique outputs. They are used in a wide variety of applications, including
data DE multiplexing, seven segmentdisplays,and memoryaddress
decoding.
BLOCK DIAGRAM USING BASIC GATES:-
TRUTH TABLE:-
PROGRAM:-
module notgate1(x,y);
input x;
output y;
supply0 gnd;
supply1 vdd;
pmos x1(y,vdd,x);
nmos x2(y,gnd,x);
endmodule
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
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
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
WAVEFORM:-
SCHEMATIC DIAGRAM:-
PROGRAM IN CADENCE:-

More Related Content

What's hot

Verilog
VerilogVerilog
Verilog
Mohamed Rayan
 
COMBINATIONAL CIRCUITS & FLIP FLOPS
COMBINATIONAL CIRCUITS & FLIP FLOPSCOMBINATIONAL CIRCUITS & FLIP FLOPS
COMBINATIONAL CIRCUITS & FLIP FLOPS
Starlee Lathong
 
Verilog operators.pptx
Verilog  operators.pptxVerilog  operators.pptx
Verilog operators.pptx
VandanaPagar1
 
Verilog tutorial
Verilog tutorialVerilog tutorial
Verilog tutorial
Maryala Srinivas
 
Encoder and decoder
Encoder and decoderEncoder and decoder
Encoder and decoder
Then Murugeshwari
 
HDL (hardware description language) presentation
HDL (hardware description language) presentationHDL (hardware description language) presentation
HDL (hardware description language) presentation
Digital Marketing Evangelist
 
Overview of digital design with Verilog HDL
Overview of digital design with Verilog HDLOverview of digital design with Verilog HDL
Overview of digital design with Verilog HDL
anand hd
 
Verilog hdl
Verilog hdlVerilog hdl
Introduction A digital circuit design
Introduction A digital circuit design Introduction A digital circuit design
Introduction A digital circuit design
wafawafa52
 
PLA
PLAPLA
IC Design of Power Management Circuits (I)
IC Design of Power Management Circuits (I)IC Design of Power Management Circuits (I)
IC Design of Power Management Circuits (I)
Claudia Sin
 
Introduction to MPLAB IDE
Introduction to MPLAB IDEIntroduction to MPLAB IDE
Introduction to MPLAB IDE
Karim El-Rayes
 
Multiplexers and Demultiplexers
Multiplexers and DemultiplexersMultiplexers and Demultiplexers
Multiplexers and Demultiplexers
GargiKhanna1
 
Lcd & keypad
Lcd & keypadLcd & keypad
Lcd & keypad
Izwanizam Yahaya
 
verilog
verilogverilog
FPGA Tutorial - LCD Interface
FPGA Tutorial - LCD InterfaceFPGA Tutorial - LCD Interface
FPGA Tutorial - LCD Interface
Politeknik Elektronika Negeri Surabaya
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
deval patel
 
Decoders
DecodersDecoders
Decoders
Re Man
 
Basic structures in vhdl
Basic structures in vhdlBasic structures in vhdl
Basic structures in vhdl
Raj Mohan
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
Jaipal Dhobale
 

What's hot (20)

Verilog
VerilogVerilog
Verilog
 
COMBINATIONAL CIRCUITS & FLIP FLOPS
COMBINATIONAL CIRCUITS & FLIP FLOPSCOMBINATIONAL CIRCUITS & FLIP FLOPS
COMBINATIONAL CIRCUITS & FLIP FLOPS
 
Verilog operators.pptx
Verilog  operators.pptxVerilog  operators.pptx
Verilog operators.pptx
 
Verilog tutorial
Verilog tutorialVerilog tutorial
Verilog tutorial
 
Encoder and decoder
Encoder and decoderEncoder and decoder
Encoder and decoder
 
HDL (hardware description language) presentation
HDL (hardware description language) presentationHDL (hardware description language) presentation
HDL (hardware description language) presentation
 
Overview of digital design with Verilog HDL
Overview of digital design with Verilog HDLOverview of digital design with Verilog HDL
Overview of digital design with Verilog HDL
 
Verilog hdl
Verilog hdlVerilog hdl
Verilog hdl
 
Introduction A digital circuit design
Introduction A digital circuit design Introduction A digital circuit design
Introduction A digital circuit design
 
PLA
PLAPLA
PLA
 
IC Design of Power Management Circuits (I)
IC Design of Power Management Circuits (I)IC Design of Power Management Circuits (I)
IC Design of Power Management Circuits (I)
 
Introduction to MPLAB IDE
Introduction to MPLAB IDEIntroduction to MPLAB IDE
Introduction to MPLAB IDE
 
Multiplexers and Demultiplexers
Multiplexers and DemultiplexersMultiplexers and Demultiplexers
Multiplexers and Demultiplexers
 
Lcd & keypad
Lcd & keypadLcd & keypad
Lcd & keypad
 
verilog
verilogverilog
verilog
 
FPGA Tutorial - LCD Interface
FPGA Tutorial - LCD InterfaceFPGA Tutorial - LCD Interface
FPGA Tutorial - LCD Interface
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
 
Decoders
DecodersDecoders
Decoders
 
Basic structures in vhdl
Basic structures in vhdlBasic structures in vhdl
Basic structures in vhdl
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 

Similar to Switch level modeling 2 x4

2 x4 decoder using switch level(Alok singh kanpur)
2 x4 decoder using switch level(Alok singh kanpur)2 x4 decoder using switch level(Alok singh kanpur)
2 x4 decoder using switch level(Alok singh kanpur)
Alok Singh
 
CMOS Combinational_Logic_Circuits.pdf
CMOS Combinational_Logic_Circuits.pdfCMOS Combinational_Logic_Circuits.pdf
CMOS Combinational_Logic_Circuits.pdf
SouravRoyElectronics
 
Smart LED Notice Board
Smart LED Notice BoardSmart LED Notice Board
Smart LED Notice Board
swarnimmaurya
 
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
Arti Parab Academics
 
Lecture 2 verilog
Lecture 2   verilogLecture 2   verilog
Lecture 2 verilog
venravi10
 
Design of low power cmos logic circuits using gate diffusion input (gdi) tech...
Design of low power cmos logic circuits using gate diffusion input (gdi) tech...Design of low power cmos logic circuits using gate diffusion input (gdi) tech...
Design of low power cmos logic circuits using gate diffusion input (gdi) tech...
VLSICS Design
 
Part 2
Part 2Part 2
underground cable fault location using aruino,gsm&gps
underground cable fault location using aruino,gsm&gps underground cable fault location using aruino,gsm&gps
underground cable fault location using aruino,gsm&gps
Mohd Sohail
 
DC_PPT.pptx
DC_PPT.pptxDC_PPT.pptx
DC_PPT.pptx
RahulAgarwal505237
 
Basic interfacing of LEDs
Basic interfacing of LEDsBasic interfacing of LEDs
Basic interfacing of LEDs
Varad Manglekar
 
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCY
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCYAUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCY
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCY
Gaurav Singh
 
File 1389427052
File 1389427052File 1389427052
File 1389427052
Aman_preet
 
EMBEDDED PASSWORD BASED ACESS CONTROL SYSTEM USING I2C PROTOCOL
EMBEDDED PASSWORD BASED ACESS CONTROL  SYSTEM USING I2C PROTOCOLEMBEDDED PASSWORD BASED ACESS CONTROL  SYSTEM USING I2C PROTOCOL
EMBEDDED PASSWORD BASED ACESS CONTROL SYSTEM USING I2C PROTOCOL
Gaurav Singh
 
ATT SMK.pptx
ATT SMK.pptxATT SMK.pptx
ATT SMK.pptx
MadhavKarve
 
DTMF based load control
DTMF based load controlDTMF based load control
DTMF based load control
bhavana kanisetty
 
Glory - MuxDemuxvygytftftftgyguyhuhyufd57.pptx
Glory - MuxDemuxvygytftftftgyguyhuhyufd57.pptxGlory - MuxDemuxvygytftftftgyguyhuhyufd57.pptx
Glory - MuxDemuxvygytftftftgyguyhuhyufd57.pptx
J. Glory Precious
 
2 marks DPCO.pdf
2 marks DPCO.pdf2 marks DPCO.pdf
2 marks DPCO.pdf
Vhhvf
 
G5243336
G5243336G5243336
G5243336
IOSR-JEN
 
WJ69产品说明书V1.1.pdf
WJ69产品说明书V1.1.pdfWJ69产品说明书V1.1.pdf
WJ69产品说明书V1.1.pdf
ThakshilaMadushani4
 
Cascaded multilevel inverter
Cascaded multilevel inverterCascaded multilevel inverter
Cascaded multilevel inverter
AJAL A J
 

Similar to Switch level modeling 2 x4 (20)

2 x4 decoder using switch level(Alok singh kanpur)
2 x4 decoder using switch level(Alok singh kanpur)2 x4 decoder using switch level(Alok singh kanpur)
2 x4 decoder using switch level(Alok singh kanpur)
 
CMOS Combinational_Logic_Circuits.pdf
CMOS Combinational_Logic_Circuits.pdfCMOS Combinational_Logic_Circuits.pdf
CMOS Combinational_Logic_Circuits.pdf
 
Smart LED Notice Board
Smart LED Notice BoardSmart LED Notice Board
Smart LED Notice Board
 
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
 
Lecture 2 verilog
Lecture 2   verilogLecture 2   verilog
Lecture 2 verilog
 
Design of low power cmos logic circuits using gate diffusion input (gdi) tech...
Design of low power cmos logic circuits using gate diffusion input (gdi) tech...Design of low power cmos logic circuits using gate diffusion input (gdi) tech...
Design of low power cmos logic circuits using gate diffusion input (gdi) tech...
 
Part 2
Part 2Part 2
Part 2
 
underground cable fault location using aruino,gsm&gps
underground cable fault location using aruino,gsm&gps underground cable fault location using aruino,gsm&gps
underground cable fault location using aruino,gsm&gps
 
DC_PPT.pptx
DC_PPT.pptxDC_PPT.pptx
DC_PPT.pptx
 
Basic interfacing of LEDs
Basic interfacing of LEDsBasic interfacing of LEDs
Basic interfacing of LEDs
 
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCY
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCYAUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCY
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCY
 
File 1389427052
File 1389427052File 1389427052
File 1389427052
 
EMBEDDED PASSWORD BASED ACESS CONTROL SYSTEM USING I2C PROTOCOL
EMBEDDED PASSWORD BASED ACESS CONTROL  SYSTEM USING I2C PROTOCOLEMBEDDED PASSWORD BASED ACESS CONTROL  SYSTEM USING I2C PROTOCOL
EMBEDDED PASSWORD BASED ACESS CONTROL SYSTEM USING I2C PROTOCOL
 
ATT SMK.pptx
ATT SMK.pptxATT SMK.pptx
ATT SMK.pptx
 
DTMF based load control
DTMF based load controlDTMF based load control
DTMF based load control
 
Glory - MuxDemuxvygytftftftgyguyhuhyufd57.pptx
Glory - MuxDemuxvygytftftftgyguyhuhyufd57.pptxGlory - MuxDemuxvygytftftftgyguyhuhyufd57.pptx
Glory - MuxDemuxvygytftftftgyguyhuhyufd57.pptx
 
2 marks DPCO.pdf
2 marks DPCO.pdf2 marks DPCO.pdf
2 marks DPCO.pdf
 
G5243336
G5243336G5243336
G5243336
 
WJ69产品说明书V1.1.pdf
WJ69产品说明书V1.1.pdfWJ69产品说明书V1.1.pdf
WJ69产品说明书V1.1.pdf
 
Cascaded multilevel inverter
Cascaded multilevel inverterCascaded multilevel inverter
Cascaded multilevel inverter
 

More from Alok Singh

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

More from Alok Singh (14)

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

Recently uploaded

Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
Kavitha Krishnan
 

Recently uploaded (20)

Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
 

Switch level modeling 2 x4

  • 1. Switch Level Modeling:- The switch level of modeling provides a level of abstractionbetweenthe logic and analog-transistor levels of abstraction, describing the interconnectionof transmission gates which are abstractionsof individual MOS and CMOS transistors. The switch level transistors are modeled as being either on or off, conducting or not conducting. Further, the values carried by the interconnectionsare abstracted from the whole range of analog voltages or currentsto a small number of discretevalues. These values are referred to as signal strengths. NOT GATE NAND GATE SYNTEX:- Nmos n1(output,data,control) Pmos p1(output,data,control)
  • 2. 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 2n unique outputs. They are used in a wide variety of applications, including data DE multiplexing, seven segmentdisplays,and memoryaddress decoding.
  • 3. BLOCK DIAGRAM USING BASIC GATES:- TRUTH TABLE:-
  • 4. PROGRAM:- module notgate1(x,y); input x; output y; supply0 gnd; supply1 vdd; pmos x1(y,vdd,x); nmos x2(y,gnd,x); endmodule 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 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 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