SlideShare a Scribd company logo
1 of 7
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

Data flow model -Lecture-4
Data flow model -Lecture-4Data flow model -Lecture-4
Data flow model -Lecture-4Dr.YNM
 
MICROCONTROLLER 8051- Architecture & Pin Configuration
MICROCONTROLLER 8051- Architecture & Pin Configuration MICROCONTROLLER 8051- Architecture & Pin Configuration
MICROCONTROLLER 8051- Architecture & Pin Configuration AKHIL MADANKAR
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital convertershrutishreya14
 
Intel 8259 - Programmable Interrupt Controller
Intel 8259 - Programmable Interrupt Controller  Intel 8259 - Programmable Interrupt Controller
Intel 8259 - Programmable Interrupt Controller Nikhil Baby
 
Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...NimeshSingh27
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decodersGaditek
 
I/O port programming in 8051
I/O port programming in 8051I/O port programming in 8051
I/O port programming in 8051ssuser3a47cb
 
Timer counter in arm7(lpc2148)
Timer counter in arm7(lpc2148)Timer counter in arm7(lpc2148)
Timer counter in arm7(lpc2148)Aarav Soni
 
Parity Generator and Parity Checker
Parity Generator and Parity CheckerParity Generator and Parity Checker
Parity Generator and Parity CheckerJignesh Navdiya
 
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsVinoth Loganathan
 

What's hot (20)

Lpc 1768 timers
Lpc 1768 timersLpc 1768 timers
Lpc 1768 timers
 
Data flow model -Lecture-4
Data flow model -Lecture-4Data flow model -Lecture-4
Data flow model -Lecture-4
 
Verilog HDL
Verilog HDLVerilog HDL
Verilog HDL
 
8251 USART
8251 USART8251 USART
8251 USART
 
MICROCONTROLLER 8051- Architecture & Pin Configuration
MICROCONTROLLER 8051- Architecture & Pin Configuration MICROCONTROLLER 8051- Architecture & Pin Configuration
MICROCONTROLLER 8051- Architecture & Pin Configuration
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
 
Intel 8259 - Programmable Interrupt Controller
Intel 8259 - Programmable Interrupt Controller  Intel 8259 - Programmable Interrupt Controller
Intel 8259 - Programmable Interrupt Controller
 
Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...
 
Ring counter
Ring counterRing counter
Ring counter
 
8259 a
8259 a8259 a
8259 a
 
PLDs
PLDsPLDs
PLDs
 
Intel 8051 - pin description
Intel 8051  - pin descriptionIntel 8051  - pin description
Intel 8051 - pin description
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
 
Convolution Codes
Convolution CodesConvolution Codes
Convolution Codes
 
HDL (hardware description language) presentation
HDL (hardware description language) presentationHDL (hardware description language) presentation
HDL (hardware description language) presentation
 
I/O port programming in 8051
I/O port programming in 8051I/O port programming in 8051
I/O port programming in 8051
 
Lpc2148 i2c
Lpc2148 i2cLpc2148 i2c
Lpc2148 i2c
 
Timer counter in arm7(lpc2148)
Timer counter in arm7(lpc2148)Timer counter in arm7(lpc2148)
Timer counter in arm7(lpc2148)
 
Parity Generator and Parity Checker
Parity Generator and Parity CheckerParity Generator and Parity Checker
Parity Generator and Parity Checker
 
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital Electronics
 

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.pdfSouravRoyElectronics
 
Smart LED Notice Board
Smart LED Notice BoardSmart LED Notice Board
Smart LED Notice Boardswarnimmaurya
 
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 verilogvenravi10
 
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
 
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
 
Basic interfacing of LEDs
Basic interfacing of LEDsBasic interfacing of LEDs
Basic interfacing of LEDsVarad 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 FREQUENCYGaurav Singh
 
File 1389427052
File 1389427052File 1389427052
File 1389427052Aman_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 PROTOCOLGaurav Singh
 
2 marks DPCO.pdf
2 marks DPCO.pdf2 marks DPCO.pdf
2 marks DPCO.pdfVhhvf
 
Cascaded multilevel inverter
Cascaded multilevel inverterCascaded multilevel inverter
Cascaded multilevel inverterAJAL 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
 
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
 
D5242023
D5242023D5242023
D5242023
 

More from Alok Singh

Pre and post lpg In INDIA
Pre and post lpg In INDIAPre and post lpg In INDIA
Pre and post lpg In INDIAAlok 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 autoAlok Singh
 
Electronics Equipments Used in Hospital
Electronics Equipments Used in HospitalElectronics Equipments Used in Hospital
Electronics Equipments Used in HospitalAlok 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

Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 

Recently uploaded (20)

Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).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