SlideShare a Scribd company logo
1 of 17
Q1
Introduction to Verilog A
Verilog AMS
Verilog A
Hardware Description Language
Verilog A vs SPICE
Verilog-A
 designed to describe models
for SPICE-class simulators
SPICE simulators
work by building up a
system of nonlinear
differential equations that
describe the circuit that they
are to simulate
SPICE representation of a circuit being much slower to
simulate than a Verilog representation.
Verilog vs Verilog-A
Module
 A unit of Verilog code that is used to describe a component.
A circuit is described with a hierarchical composition of modules
In Verilog, built-in primitives
generally describe gates
In Verilog-A, the built-in primitives
describe common circuit components
 Resistors
 Capacitors
 Inductors
 Semiconductor Devices
Structural Model
A module that simply refers to other
modules is often referred to as a
structural model, or a netlist
Behavioral model.
a module that uses equations to describe a
component is referred to as a behavioral model.
In Verilog-A, components are constructed using nodes and branches.
Modeling in Verilog-A
Modeling in Verilog-A (Cont.)
Description consists of two things:
The way that the nodes and branches connected (their
topology),
The way in which the potential and flow are related on
each branch (the branch relations).
Modeling in Verilog-A (Cont.)
module resistor (t1, t2);
electrical t1, t2;
parameter real r=1;
branch (t1, t2) res;
analog V(res) <+ r*I(res);
endmodule
module resistor (t1, t2);
electrical t1, t2;
parameter real r=1;
analog V(t1,t2) <+ r*I(t1,t2);
endmodule
module vdd (dd);
electrical dd;
parameter real dc=2.5;
analog V(dd) <+ dc;
endmodule
Modeling in Verilog-A (Cont.)
Modeling in Verilog-A (Cont.)
module series_rlc (t1, t2);
electrical t1, t2;
parameter real r=1;
parameter real l=1;
parameter real c=1 exclude 0;
analog begin
V(t1,t2) <+ r*I(t1,t2);
V(t1,t2) <+ l*ddt(I(t1,t2));
V(t1,t2) <+ idt(I(t1,t2))/c;
end
endmodule
Modeling in Verilog-A (Cont.)
module shunt_rlc (t1, t2);
electrical t1, t2;
parameter real r=1 exclude 0;
parameter real l=1 exclude 0;
parameter real c=1;
analog begin
I(t1,t2) <+ V(t1,t2)/r;
I(t1,t2) <+ idt(V(t1,t2))/l;
I(t1,t2) <+ c*ddt(V(t1,t2));
end
endmodule
Modeling in Verilog-A (Cont.)
module shunt_rlc (t1, t2);
electrical t1, t2;
parameter real r=1;
parameter real l=1;
parameter real c=1;
branch (t1, t2) res, ind, cap;
analog begin
V(res) <+ r*I(res);
V(ind) <+ l*ddt(I(ind));
I(cap) <+ c*ddt(V(cap));
end
endmodule
Modeling in Verilog-A (Cont.)
module series_rlc (t1, t2);
electrical t1, t2, n1, n2;
parameter real r=1;
parameter real l=1;
parameter real c=1;
branch (t1, n1) res;
branch (n1, n2) ind;
branch (n2, t2) cap;
analog begin
V(res) <+ r*I(res);
V(ind) <+ l*ddt(I(ind));
I(cap) <+ c*ddt(V(cap));
end
endmodule
Modeling in Verilog-A (Cont.)
// voltage controlled voltage
source
module vcvs (pout, nout, pin, nin);
electrical pout, nout, pin, nin;
parameter real gain=1;
analog V(pout,nout) <+ gain*V(pin,nin);
endmodule
Modeling in Verilog-A (Cont.)
// voltage controlled current source
module vccs (pout, nout, pin, nin);
electrical pout, nout, pin, nin;
parameter real gain=1;
analog V(pout,nout) <+ gain*I(pin,nin);
endmodule
Modeling in Verilog-A (Cont.)
// current controlled voltage source
module ccvs (pout, nout, pin, nin);
electrical pout, nout, pin, nin;
parameter real gain=1;
analog I(pout,nout) <+ gain*V(pin,nin);
endmodule
Modeling in Verilog-A (Cont.)
// current controlled current source
module cccs (pout, nout, pin, nin);
electrical pout, nout, pin, nin;
parameter real gain=1;
analog I(pout,nout) <+ gain*I(pin,nin);
endmodule
Thank You

More Related Content

What's hot (20)

fpga programming
fpga programmingfpga programming
fpga programming
 
Altera flex
Altera flexAltera flex
Altera flex
 
Session 1
Session 1Session 1
Session 1
 
Route Redistribution between OSPF and EIGRP
Route Redistribution between OSPF and EIGRPRoute Redistribution between OSPF and EIGRP
Route Redistribution between OSPF and EIGRP
 
Ospf
OspfOspf
Ospf
 
Test pattern Generation for 4:1 MUX
Test pattern Generation for 4:1 MUXTest pattern Generation for 4:1 MUX
Test pattern Generation for 4:1 MUX
 
faults in digital systems
faults in digital systemsfaults in digital systems
faults in digital systems
 
Cadancesimulation
CadancesimulationCadancesimulation
Cadancesimulation
 
Kernighan lin
Kernighan linKernighan lin
Kernighan lin
 
Actel fpga
Actel fpgaActel fpga
Actel fpga
 
Multi-Area OSPF on IOS XR
Multi-Area OSPF on IOS XRMulti-Area OSPF on IOS XR
Multi-Area OSPF on IOS XR
 
Vhdl
VhdlVhdl
Vhdl
 
CCNP Route EIGRP Overview
CCNP Route  EIGRP OverviewCCNP Route  EIGRP Overview
CCNP Route EIGRP Overview
 
Wireless sensor network applications environment monitoring
Wireless sensor network applications environment monitoringWireless sensor network applications environment monitoring
Wireless sensor network applications environment monitoring
 
BGP Techniques for Network Operators
BGP Techniques for Network OperatorsBGP Techniques for Network Operators
BGP Techniques for Network Operators
 
VHDL Reference - FSM
VHDL Reference -  FSMVHDL Reference -  FSM
VHDL Reference - FSM
 
SRWE_Module_12.pptx
SRWE_Module_12.pptxSRWE_Module_12.pptx
SRWE_Module_12.pptx
 
Verilog HDL- 2
Verilog HDL- 2Verilog HDL- 2
Verilog HDL- 2
 
Ospf pptx702847865
Ospf pptx702847865Ospf pptx702847865
Ospf pptx702847865
 
Cisco Wireless LAN Controller (WLC)
Cisco Wireless LAN Controller (WLC)Cisco Wireless LAN Controller (WLC)
Cisco Wireless LAN Controller (WLC)
 

Similar to Verilog-A.pptx

Kroening et al, v2c a verilog to c translator
Kroening et al, v2c   a verilog to c translatorKroening et al, v2c   a verilog to c translator
Kroening et al, v2c a verilog to c translatorsce,bhopal
 
Correlative Study on the Modeling and Control of Boost Converter using Advanc...
Correlative Study on the Modeling and Control of Boost Converter using Advanc...Correlative Study on the Modeling and Control of Boost Converter using Advanc...
Correlative Study on the Modeling and Control of Boost Converter using Advanc...IJSRD
 
Hardware Description Language
Hardware Description Language Hardware Description Language
Hardware Description Language Prachi Pandey
 
Chapter 03
Chapter 03Chapter 03
Chapter 03Tha Mike
 
Electric Double-Layer Capacitor(EDLC) of Simple Model using PSpice
Electric Double-Layer Capacitor(EDLC) of Simple Model using PSpiceElectric Double-Layer Capacitor(EDLC) of Simple Model using PSpice
Electric Double-Layer Capacitor(EDLC) of Simple Model using PSpiceTsuyoshi Horigome
 
SKEL 4273 CAD with HDL Topic 2
SKEL 4273 CAD with HDL Topic 2SKEL 4273 CAD with HDL Topic 2
SKEL 4273 CAD with HDL Topic 2alhadi81
 
7 Elements Of Verilog HDL
7 Elements Of Verilog HDL7 Elements Of Verilog HDL
7 Elements Of Verilog HDLAllison Koehn
 
Mechatronics Programmable Logic Controllers
Mechatronics  Programmable Logic ControllersMechatronics  Programmable Logic Controllers
Mechatronics Programmable Logic Controllersganeshkumarbemech
 
03 Synthesis (1).ppt
03 Synthesis  (1).ppt03 Synthesis  (1).ppt
03 Synthesis (1).pptShreyasMahesh
 
Automatic temperature base fan controlle
Automatic temperature base fan  controlleAutomatic temperature base fan  controlle
Automatic temperature base fan controlleDharmaraj Morle
 
EPAS 10- LESSON 8 TECHNICAL DRAWING.pptx
EPAS 10- LESSON 8 TECHNICAL DRAWING.pptxEPAS 10- LESSON 8 TECHNICAL DRAWING.pptx
EPAS 10- LESSON 8 TECHNICAL DRAWING.pptxmiamore46
 
Fault modeling and parametric fault detection in analog VLSI circuits using d...
Fault modeling and parametric fault detection in analog VLSI circuits using d...Fault modeling and parametric fault detection in analog VLSI circuits using d...
Fault modeling and parametric fault detection in analog VLSI circuits using d...IJECEIAES
 
Development of a D.C Circuit Analysis Software Using Microsoft Visual C#.Net
Development of a D.C Circuit Analysis Software Using Microsoft Visual C#.NetDevelopment of a D.C Circuit Analysis Software Using Microsoft Visual C#.Net
Development of a D.C Circuit Analysis Software Using Microsoft Visual C#.NetIOSR Journals
 
Modeling and Simulation of Solar Photovoltaic module using Matlab/Simulink
Modeling and Simulation of Solar Photovoltaic module using Matlab/SimulinkModeling and Simulation of Solar Photovoltaic module using Matlab/Simulink
Modeling and Simulation of Solar Photovoltaic module using Matlab/SimulinkIOSR Journals
 
Comparison of Cascaded H-Bridge Multilevel Inverter connected to grid using P...
Comparison of Cascaded H-Bridge Multilevel Inverter connected to grid using P...Comparison of Cascaded H-Bridge Multilevel Inverter connected to grid using P...
Comparison of Cascaded H-Bridge Multilevel Inverter connected to grid using P...IRJET Journal
 
MICROPROCESSOR BASED SUN TRACKING SOLAR PANEL SYSTEM TO MAXIMIZE ENERGY GENER...
MICROPROCESSOR BASED SUN TRACKING SOLAR PANEL SYSTEM TO MAXIMIZE ENERGY GENER...MICROPROCESSOR BASED SUN TRACKING SOLAR PANEL SYSTEM TO MAXIMIZE ENERGY GENER...
MICROPROCESSOR BASED SUN TRACKING SOLAR PANEL SYSTEM TO MAXIMIZE ENERGY GENER...moiz89
 

Similar to Verilog-A.pptx (20)

verilog
verilogverilog
verilog
 
Kroening et al, v2c a verilog to c translator
Kroening et al, v2c   a verilog to c translatorKroening et al, v2c   a verilog to c translator
Kroening et al, v2c a verilog to c translator
 
Correlative Study on the Modeling and Control of Boost Converter using Advanc...
Correlative Study on the Modeling and Control of Boost Converter using Advanc...Correlative Study on the Modeling and Control of Boost Converter using Advanc...
Correlative Study on the Modeling and Control of Boost Converter using Advanc...
 
Hardware Description Language
Hardware Description Language Hardware Description Language
Hardware Description Language
 
slide8.ppt
slide8.pptslide8.ppt
slide8.ppt
 
Chapter 03
Chapter 03Chapter 03
Chapter 03
 
Electric Double-Layer Capacitor(EDLC) of Simple Model using PSpice
Electric Double-Layer Capacitor(EDLC) of Simple Model using PSpiceElectric Double-Layer Capacitor(EDLC) of Simple Model using PSpice
Electric Double-Layer Capacitor(EDLC) of Simple Model using PSpice
 
SKEL 4273 CAD with HDL Topic 2
SKEL 4273 CAD with HDL Topic 2SKEL 4273 CAD with HDL Topic 2
SKEL 4273 CAD with HDL Topic 2
 
7 Elements Of Verilog HDL
7 Elements Of Verilog HDL7 Elements Of Verilog HDL
7 Elements Of Verilog HDL
 
Mechatronics Programmable Logic Controllers
Mechatronics  Programmable Logic ControllersMechatronics  Programmable Logic Controllers
Mechatronics Programmable Logic Controllers
 
03 Synthesis (1).ppt
03 Synthesis  (1).ppt03 Synthesis  (1).ppt
03 Synthesis (1).ppt
 
Automatic temperature base fan controlle
Automatic temperature base fan  controlleAutomatic temperature base fan  controlle
Automatic temperature base fan controlle
 
EPAS 10- LESSON 8 TECHNICAL DRAWING.pptx
EPAS 10- LESSON 8 TECHNICAL DRAWING.pptxEPAS 10- LESSON 8 TECHNICAL DRAWING.pptx
EPAS 10- LESSON 8 TECHNICAL DRAWING.pptx
 
Fault modeling and parametric fault detection in analog VLSI circuits using d...
Fault modeling and parametric fault detection in analog VLSI circuits using d...Fault modeling and parametric fault detection in analog VLSI circuits using d...
Fault modeling and parametric fault detection in analog VLSI circuits using d...
 
Development of a D.C Circuit Analysis Software Using Microsoft Visual C#.Net
Development of a D.C Circuit Analysis Software Using Microsoft Visual C#.NetDevelopment of a D.C Circuit Analysis Software Using Microsoft Visual C#.Net
Development of a D.C Circuit Analysis Software Using Microsoft Visual C#.Net
 
A017110106
A017110106A017110106
A017110106
 
Modeling and Simulation of Solar Photovoltaic module using Matlab/Simulink
Modeling and Simulation of Solar Photovoltaic module using Matlab/SimulinkModeling and Simulation of Solar Photovoltaic module using Matlab/Simulink
Modeling and Simulation of Solar Photovoltaic module using Matlab/Simulink
 
Comparison of Cascaded H-Bridge Multilevel Inverter connected to grid using P...
Comparison of Cascaded H-Bridge Multilevel Inverter connected to grid using P...Comparison of Cascaded H-Bridge Multilevel Inverter connected to grid using P...
Comparison of Cascaded H-Bridge Multilevel Inverter connected to grid using P...
 
MICROPROCESSOR BASED SUN TRACKING SOLAR PANEL SYSTEM TO MAXIMIZE ENERGY GENER...
MICROPROCESSOR BASED SUN TRACKING SOLAR PANEL SYSTEM TO MAXIMIZE ENERGY GENER...MICROPROCESSOR BASED SUN TRACKING SOLAR PANEL SYSTEM TO MAXIMIZE ENERGY GENER...
MICROPROCESSOR BASED SUN TRACKING SOLAR PANEL SYSTEM TO MAXIMIZE ENERGY GENER...
 
Bidirect visitor counter
Bidirect visitor counterBidirect visitor counter
Bidirect visitor counter
 

Recently uploaded

GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
EduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIEduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIkoyaldeepu123
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 

Recently uploaded (20)

GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
EduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIEduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AI
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 

Verilog-A.pptx

  • 2. Verilog AMS Verilog A Hardware Description Language
  • 3. Verilog A vs SPICE Verilog-A  designed to describe models for SPICE-class simulators SPICE simulators work by building up a system of nonlinear differential equations that describe the circuit that they are to simulate SPICE representation of a circuit being much slower to simulate than a Verilog representation.
  • 4. Verilog vs Verilog-A Module  A unit of Verilog code that is used to describe a component. A circuit is described with a hierarchical composition of modules In Verilog, built-in primitives generally describe gates In Verilog-A, the built-in primitives describe common circuit components  Resistors  Capacitors  Inductors  Semiconductor Devices
  • 5. Structural Model A module that simply refers to other modules is often referred to as a structural model, or a netlist Behavioral model. a module that uses equations to describe a component is referred to as a behavioral model. In Verilog-A, components are constructed using nodes and branches. Modeling in Verilog-A
  • 6. Modeling in Verilog-A (Cont.) Description consists of two things: The way that the nodes and branches connected (their topology), The way in which the potential and flow are related on each branch (the branch relations).
  • 7. Modeling in Verilog-A (Cont.) module resistor (t1, t2); electrical t1, t2; parameter real r=1; branch (t1, t2) res; analog V(res) <+ r*I(res); endmodule module resistor (t1, t2); electrical t1, t2; parameter real r=1; analog V(t1,t2) <+ r*I(t1,t2); endmodule
  • 8. module vdd (dd); electrical dd; parameter real dc=2.5; analog V(dd) <+ dc; endmodule Modeling in Verilog-A (Cont.)
  • 9. Modeling in Verilog-A (Cont.) module series_rlc (t1, t2); electrical t1, t2; parameter real r=1; parameter real l=1; parameter real c=1 exclude 0; analog begin V(t1,t2) <+ r*I(t1,t2); V(t1,t2) <+ l*ddt(I(t1,t2)); V(t1,t2) <+ idt(I(t1,t2))/c; end endmodule
  • 10. Modeling in Verilog-A (Cont.) module shunt_rlc (t1, t2); electrical t1, t2; parameter real r=1 exclude 0; parameter real l=1 exclude 0; parameter real c=1; analog begin I(t1,t2) <+ V(t1,t2)/r; I(t1,t2) <+ idt(V(t1,t2))/l; I(t1,t2) <+ c*ddt(V(t1,t2)); end endmodule
  • 11. Modeling in Verilog-A (Cont.) module shunt_rlc (t1, t2); electrical t1, t2; parameter real r=1; parameter real l=1; parameter real c=1; branch (t1, t2) res, ind, cap; analog begin V(res) <+ r*I(res); V(ind) <+ l*ddt(I(ind)); I(cap) <+ c*ddt(V(cap)); end endmodule
  • 12. Modeling in Verilog-A (Cont.) module series_rlc (t1, t2); electrical t1, t2, n1, n2; parameter real r=1; parameter real l=1; parameter real c=1; branch (t1, n1) res; branch (n1, n2) ind; branch (n2, t2) cap; analog begin V(res) <+ r*I(res); V(ind) <+ l*ddt(I(ind)); I(cap) <+ c*ddt(V(cap)); end endmodule
  • 13. Modeling in Verilog-A (Cont.) // voltage controlled voltage source module vcvs (pout, nout, pin, nin); electrical pout, nout, pin, nin; parameter real gain=1; analog V(pout,nout) <+ gain*V(pin,nin); endmodule
  • 14. Modeling in Verilog-A (Cont.) // voltage controlled current source module vccs (pout, nout, pin, nin); electrical pout, nout, pin, nin; parameter real gain=1; analog V(pout,nout) <+ gain*I(pin,nin); endmodule
  • 15. Modeling in Verilog-A (Cont.) // current controlled voltage source module ccvs (pout, nout, pin, nin); electrical pout, nout, pin, nin; parameter real gain=1; analog I(pout,nout) <+ gain*V(pin,nin); endmodule
  • 16. Modeling in Verilog-A (Cont.) // current controlled current source module cccs (pout, nout, pin, nin); electrical pout, nout, pin, nin; parameter real gain=1; analog I(pout,nout) <+ gain*I(pin,nin); endmodule