SlideShare a Scribd company logo
1 of 16
Dr.MURTHY YAYAVARAM Ph.D
Sunday, 07 June 2020 yayavaram@yahoo.com 1
What is ‘design’?
• An idea which is new….that was not existing earlier….
• Design is not the fabrication , not connecting a circuit..
• Its an innovative or novel concept by which you get some thing better,
that was not existing earlier..
• For ex: I have a mobile whose performance is very good but its power
dissipation is high.
• So, in the next revision i.e release , the company will come up with a
new design so that it has good performance as well as low power
dissipation.
Sunday, 07 June 2020 yayavaram@yahoo.com 2
contd
• Another example, Assume that you are working with a two input
NAND logic gate. After some time ,you felt of having a , three input
NAND gate with even a better performance.
• Then the engineers will come up with new design features and finally
fabricate a three Input NAND gate which were not existing earlier.
• So, the conclusion is, Design is a part of your fabrication. But it itself
is not the fabrication Ok?
• The fabrication is a very cumbersome process which involves many
complex steps.
Sunday, 07 June 2020 yayavaram@yahoo.com 3
contd
• The next question is where actually you use your Verilog in the digital
design process?
• What role you are going to play with your Verilog.. ?
• These are the normal doubts that every beginner will have in his mind..
• To understand the role of your Verilog in the design ,lets consider the
Chip Design flow in a very simple manner.
• The process of chip design can be broadly divided into two levels.
• One is front end (Logical Design) and the other is backend (Physical
Design).
Sunday, 07 June 2020 yayavaram@yahoo.com 4
contd
• The flow diagram changes slightly based on the type of Designs like
FPGAs ASICs or SOC design etc…
• Loosely speaking, front end normally deals with specifications ,
Architecture, functional behaviro, verification , RTL, Logic Synthesis
etc..
• The backend deals with Layout , Place & Route , verification
fabrication or implementation , packaging so on..
• I will discuss all these details at some other time.
Sunday, 07 June 2020 yayavaram@yahoo.com 5
A simple Design Flow(Front end)
Sunday, 07 June 2020 yayavaram@yahoo.com 6
contd
• The first step in Design flow is the Specifications. These specifications
mostly depend on the customer requirements.
• For a practical situation ,let us suppose that your company has got a
project from some third party customer for the design of a HDMI chip.
• Then the customer will meet some members of the team from your
company and explains them his requirements regarding the chip.
• For example size , area, speed , power dissipation and so many other
details..
• So, based on the customers requirements, the team will decide the
specifications.
Sunday, 07 June 2020 yayavaram@yahoo.com 7
contd
• Once the specifications are finalized, then the team has to decide the
architecture of the chip with the desired functional behaviour.
• For this RTL(REGISTER TRANSFER LEVEL) model is followed
which is actually described by your Hardware Description
Language(HDL).
• i.e you describe the functionality of your chip using the Verilog code
which you have learnt during the training.
• Of course, you also use this Verilog to verify the functionality of the
chip also.
• I will try to make a video on RTL details and other verification process
soon..Sunday, 07 June 2020 yayavaram@yahoo.com 8
contd
• Now everyone of you have got some idea where your Verilog is used.
• In simple words you can say that , it is used in frontend design of a chip
to describe the behaviour of the chip.(as of now)
• Then what is this Verilog and how to understand and learn it?
• Basically Verilog is a popular hardware description Language.
• According to some versions, Verilog means “Verification Logic”
• Some people also say that Verilog means a True logic.
• What ever it may be let us make a humble beginning to learn this
wonderful HDL.
Sunday, 07 June 2020 yayavaram@yahoo.com 9
Structure of Verilog
•To understand this Verilog, let us consider its structure.
•The most important part of Verilog structure is Module.
•What is this module ? According to dictionary, it is a unit of
architecture. Or an independent part of system.
•[A similar word in VHDL is ‘Entity’]
i.e in Verilog the ‘module’ denotes an independent part of the Digital
System. For example an AND gate, NAND gate, Half adder,
SRAM,ALU any thing like this.
•The functionality or behavior of this module is described using Verilog
code.
•So, its important to know how this module is being described using the
Verilog code.
Sunday, 07 June 2020 yayavaram@yahoo.com 10
contd
• As far as structure of module is concerned, a Verilog module has two
important parts.
• One is declaration and the other is body. In the declaration, the name
of the module , inputs, and outputs of the module are entered.
• The body shows the relationship between the inputs and the outputs .
• The name of the module should start with an alphabetical letter and
can include the special character underscore (_).
Sunday, 07 June 2020 yayavaram@yahoo.com 11
Contd.
So, the declaration of the module starts with the predefined KEY WORD
‘module’ followed by the user-selected name.
• The names of the inputs and outputs (they are called input and output
ports) .
• The name of the module should start with an alphabetical letter and
can include the special character underscore (_).
•Verilog is case sensitive.
•For example output y = a & b and OUTPUT Y=A&B are treated as
different statements by Verilog .
Sunday, 07 June 2020 yayavaram@yahoo.com 12
Example 1 : AND gate
module my_andgate(y,a,b);
input a, b ; // a, b are inputs
output y; // y is the output
assign y = a & b; // the logic AND of a and b is assigned to y
endmodule .
•The name of the module in the above code is a user-selected my _
andgate.
Sunday, 07 June 2020 yayavaram@yahoo.com 13
contd
•In the code a, b, y are the names of the inputs and outputs.
•The order of writing the input and output ports inside the
parentheses is irrelevant.
•One can also write the module statement as:
module my_andgate (y,a,b);
•The semicolon (;) is a line separator.
Sunday, 07 June 2020 yayavaram@yahoo.com 14
Example 2: XOR Gate
module my_xorgate(y,a,b);
input a, b ; // a, b are inputs
output y; // y is the output
assign y = a ^ b; // the xor logic of a and b is assigned to y
endmodule .
Sunday, 07 June 2020 yayavaram@yahoo.com 15
Example 3 : Half Adder
•Lets consider another example a Half Adder.
module my_halfadder1(a,b,s,c);
input a , b ; // a , b are inputs the half adder
output s, c; // s , c are the out puts
assign s = a ^ b; // sum s is assigned with the xor of a and b
assign c= a & b; // carry is assigned with the logical and of a and b
endmodule.
Sunday, 07 June 2020 yayavaram@yahoo.com 16

More Related Content

Similar to Digital design using verilog-For Absolute Beginners

Introduction to Behavior Driven Development
Introduction to Behavior Driven Development Introduction to Behavior Driven Development
Introduction to Behavior Driven Development Robin O'Brien
 
Quick prototyping using Gadgeteer, Raspberry Pi + Fez Cream
Quick prototyping using Gadgeteer, Raspberry Pi + Fez CreamQuick prototyping using Gadgeteer, Raspberry Pi + Fez Cream
Quick prototyping using Gadgeteer, Raspberry Pi + Fez CreamMif Masterz
 
The State of Front-end At CrowdTwist
The State of Front-end At CrowdTwistThe State of Front-end At CrowdTwist
The State of Front-end At CrowdTwistMark Fayngersh
 
Vlsi final year project in jalandhar
Vlsi final year project in jalandharVlsi final year project in jalandhar
Vlsi final year project in jalandhardeepikakaler1
 
Vlsi final year project in ludhiana
Vlsi final year project in ludhianaVlsi final year project in ludhiana
Vlsi final year project in ludhianadeepikakaler1
 
vlsi design summer training ppt
vlsi design summer training pptvlsi design summer training ppt
vlsi design summer training pptBhagwan Lal Teli
 
From science to engineering, the process to build a machine learning product
From science to engineering, the process to build a machine learning productFrom science to engineering, the process to build a machine learning product
From science to engineering, the process to build a machine learning productBruce Kuo
 
IRJET- New Generation Multilevel based Atm Security System
IRJET- New Generation Multilevel based Atm Security SystemIRJET- New Generation Multilevel based Atm Security System
IRJET- New Generation Multilevel based Atm Security SystemIRJET Journal
 
Slide_Egg-100376-Quantum Computing.pptx
Slide_Egg-100376-Quantum Computing.pptxSlide_Egg-100376-Quantum Computing.pptx
Slide_Egg-100376-Quantum Computing.pptxanuragkr11
 
Design your career in VLSI
Design your career in VLSIDesign your career in VLSI
Design your career in VLSIM. Raja Reddy
 
Smart buckets ppt
Smart buckets pptSmart buckets ppt
Smart buckets pptkiran Patel
 
How to Build Hardware Product
How to Build Hardware ProductHow to Build Hardware Product
How to Build Hardware ProductIBTECAR
 
COIT20262 Assignment 2 Questions Term 2, 2018 Advanced Net.docx
COIT20262 Assignment 2 Questions Term 2, 2018 Advanced Net.docxCOIT20262 Assignment 2 Questions Term 2, 2018 Advanced Net.docx
COIT20262 Assignment 2 Questions Term 2, 2018 Advanced Net.docxmary772
 
Introducing Systems Analysis Design Development
Introducing Systems Analysis Design DevelopmentIntroducing Systems Analysis Design Development
Introducing Systems Analysis Design Developmentbsadd
 

Similar to Digital design using verilog-For Absolute Beginners (20)

Introduction to Behavior Driven Development
Introduction to Behavior Driven Development Introduction to Behavior Driven Development
Introduction to Behavior Driven Development
 
Quick prototyping using Gadgeteer, Raspberry Pi + Fez Cream
Quick prototyping using Gadgeteer, Raspberry Pi + Fez CreamQuick prototyping using Gadgeteer, Raspberry Pi + Fez Cream
Quick prototyping using Gadgeteer, Raspberry Pi + Fez Cream
 
The State of Front-end At CrowdTwist
The State of Front-end At CrowdTwistThe State of Front-end At CrowdTwist
The State of Front-end At CrowdTwist
 
VERY LARGE SCALE INTEGRATION (VLSI) TECHNOLOGY
VERY LARGE SCALE INTEGRATION (VLSI) TECHNOLOGYVERY LARGE SCALE INTEGRATION (VLSI) TECHNOLOGY
VERY LARGE SCALE INTEGRATION (VLSI) TECHNOLOGY
 
Vlsi final year project in jalandhar
Vlsi final year project in jalandharVlsi final year project in jalandhar
Vlsi final year project in jalandhar
 
Vlsi final year project in ludhiana
Vlsi final year project in ludhianaVlsi final year project in ludhiana
Vlsi final year project in ludhiana
 
vlsi design summer training ppt
vlsi design summer training pptvlsi design summer training ppt
vlsi design summer training ppt
 
FPGA workshop
FPGA workshopFPGA workshop
FPGA workshop
 
From science to engineering, the process to build a machine learning product
From science to engineering, the process to build a machine learning productFrom science to engineering, the process to build a machine learning product
From science to engineering, the process to build a machine learning product
 
IRJET- New Generation Multilevel based Atm Security System
IRJET- New Generation Multilevel based Atm Security SystemIRJET- New Generation Multilevel based Atm Security System
IRJET- New Generation Multilevel based Atm Security System
 
Design Verification
Design VerificationDesign Verification
Design Verification
 
Slide_Egg-100376-Quantum Computing.pptx
Slide_Egg-100376-Quantum Computing.pptxSlide_Egg-100376-Quantum Computing.pptx
Slide_Egg-100376-Quantum Computing.pptx
 
Vhdl new
Vhdl newVhdl new
Vhdl new
 
kumaran
kumarankumaran
kumaran
 
Design your career in VLSI
Design your career in VLSIDesign your career in VLSI
Design your career in VLSI
 
Smart buckets ppt
Smart buckets pptSmart buckets ppt
Smart buckets ppt
 
How to Build Hardware Product
How to Build Hardware ProductHow to Build Hardware Product
How to Build Hardware Product
 
COIT20262 Assignment 2 Questions Term 2, 2018 Advanced Net.docx
COIT20262 Assignment 2 Questions Term 2, 2018 Advanced Net.docxCOIT20262 Assignment 2 Questions Term 2, 2018 Advanced Net.docx
COIT20262 Assignment 2 Questions Term 2, 2018 Advanced Net.docx
 
Introducing Systems Analysis Design Development
Introducing Systems Analysis Design DevelopmentIntroducing Systems Analysis Design Development
Introducing Systems Analysis Design Development
 
Clean sw 3_architecture
Clean sw 3_architectureClean sw 3_architecture
Clean sw 3_architecture
 

More from Dr.YNM

Introduction to DSP.ppt
Introduction to DSP.pptIntroduction to DSP.ppt
Introduction to DSP.pptDr.YNM
 
Atmel.ppt
Atmel.pptAtmel.ppt
Atmel.pptDr.YNM
 
PIC Microcontrollers.ppt
PIC Microcontrollers.pptPIC Microcontrollers.ppt
PIC Microcontrollers.pptDr.YNM
 
Crystalstructure-.ppt
Crystalstructure-.pptCrystalstructure-.ppt
Crystalstructure-.pptDr.YNM
 
Basics of OS & RTOS.ppt
Basics of OS & RTOS.pptBasics of OS & RTOS.ppt
Basics of OS & RTOS.pptDr.YNM
 
Introducion to MSP430 Microcontroller.pptx
Introducion to MSP430 Microcontroller.pptxIntroducion to MSP430 Microcontroller.pptx
Introducion to MSP430 Microcontroller.pptxDr.YNM
 
Microcontroller-8051.ppt
Microcontroller-8051.pptMicrocontroller-8051.ppt
Microcontroller-8051.pptDr.YNM
 
Introduction to ASICs.pptx
Introduction to ASICs.pptxIntroduction to ASICs.pptx
Introduction to ASICs.pptxDr.YNM
 
VHDL-PRESENTATION.ppt
VHDL-PRESENTATION.pptVHDL-PRESENTATION.ppt
VHDL-PRESENTATION.pptDr.YNM
 
Basics of data communications.pptx
Basics of data communications.pptxBasics of data communications.pptx
Basics of data communications.pptxDr.YNM
 
CPLD & FPGA Architectures and applictionsplications.pptx
CPLD & FPGA Architectures and applictionsplications.pptxCPLD & FPGA Architectures and applictionsplications.pptx
CPLD & FPGA Architectures and applictionsplications.pptxDr.YNM
 
Transient response of RC , RL circuits with step input
Transient response of RC , RL circuits  with step inputTransient response of RC , RL circuits  with step input
Transient response of RC , RL circuits with step inputDr.YNM
 
CISC & RISC ARCHITECTURES
CISC & RISC ARCHITECTURESCISC & RISC ARCHITECTURES
CISC & RISC ARCHITECTURESDr.YNM
 
Lect 4 ARM PROCESSOR ARCHITECTURE
Lect 4 ARM PROCESSOR ARCHITECTURELect 4 ARM PROCESSOR ARCHITECTURE
Lect 4 ARM PROCESSOR ARCHITECTUREDr.YNM
 
Lect 3 ARM PROCESSOR ARCHITECTURE
Lect 3  ARM PROCESSOR ARCHITECTURE Lect 3  ARM PROCESSOR ARCHITECTURE
Lect 3 ARM PROCESSOR ARCHITECTURE Dr.YNM
 
Microprocessor Architecture 4
Microprocessor Architecture  4Microprocessor Architecture  4
Microprocessor Architecture 4Dr.YNM
 
Lect 2 ARM processor architecture
Lect 2 ARM processor architectureLect 2 ARM processor architecture
Lect 2 ARM processor architectureDr.YNM
 
Microprocessor Architecture-III
Microprocessor Architecture-IIIMicroprocessor Architecture-III
Microprocessor Architecture-IIIDr.YNM
 
LECT 1: ARM PROCESSORS
LECT 1: ARM PROCESSORSLECT 1: ARM PROCESSORS
LECT 1: ARM PROCESSORSDr.YNM
 
Microprocessor architecture II
Microprocessor architecture   IIMicroprocessor architecture   II
Microprocessor architecture IIDr.YNM
 

More from Dr.YNM (20)

Introduction to DSP.ppt
Introduction to DSP.pptIntroduction to DSP.ppt
Introduction to DSP.ppt
 
Atmel.ppt
Atmel.pptAtmel.ppt
Atmel.ppt
 
PIC Microcontrollers.ppt
PIC Microcontrollers.pptPIC Microcontrollers.ppt
PIC Microcontrollers.ppt
 
Crystalstructure-.ppt
Crystalstructure-.pptCrystalstructure-.ppt
Crystalstructure-.ppt
 
Basics of OS & RTOS.ppt
Basics of OS & RTOS.pptBasics of OS & RTOS.ppt
Basics of OS & RTOS.ppt
 
Introducion to MSP430 Microcontroller.pptx
Introducion to MSP430 Microcontroller.pptxIntroducion to MSP430 Microcontroller.pptx
Introducion to MSP430 Microcontroller.pptx
 
Microcontroller-8051.ppt
Microcontroller-8051.pptMicrocontroller-8051.ppt
Microcontroller-8051.ppt
 
Introduction to ASICs.pptx
Introduction to ASICs.pptxIntroduction to ASICs.pptx
Introduction to ASICs.pptx
 
VHDL-PRESENTATION.ppt
VHDL-PRESENTATION.pptVHDL-PRESENTATION.ppt
VHDL-PRESENTATION.ppt
 
Basics of data communications.pptx
Basics of data communications.pptxBasics of data communications.pptx
Basics of data communications.pptx
 
CPLD & FPGA Architectures and applictionsplications.pptx
CPLD & FPGA Architectures and applictionsplications.pptxCPLD & FPGA Architectures and applictionsplications.pptx
CPLD & FPGA Architectures and applictionsplications.pptx
 
Transient response of RC , RL circuits with step input
Transient response of RC , RL circuits  with step inputTransient response of RC , RL circuits  with step input
Transient response of RC , RL circuits with step input
 
CISC & RISC ARCHITECTURES
CISC & RISC ARCHITECTURESCISC & RISC ARCHITECTURES
CISC & RISC ARCHITECTURES
 
Lect 4 ARM PROCESSOR ARCHITECTURE
Lect 4 ARM PROCESSOR ARCHITECTURELect 4 ARM PROCESSOR ARCHITECTURE
Lect 4 ARM PROCESSOR ARCHITECTURE
 
Lect 3 ARM PROCESSOR ARCHITECTURE
Lect 3  ARM PROCESSOR ARCHITECTURE Lect 3  ARM PROCESSOR ARCHITECTURE
Lect 3 ARM PROCESSOR ARCHITECTURE
 
Microprocessor Architecture 4
Microprocessor Architecture  4Microprocessor Architecture  4
Microprocessor Architecture 4
 
Lect 2 ARM processor architecture
Lect 2 ARM processor architectureLect 2 ARM processor architecture
Lect 2 ARM processor architecture
 
Microprocessor Architecture-III
Microprocessor Architecture-IIIMicroprocessor Architecture-III
Microprocessor Architecture-III
 
LECT 1: ARM PROCESSORS
LECT 1: ARM PROCESSORSLECT 1: ARM PROCESSORS
LECT 1: ARM PROCESSORS
 
Microprocessor architecture II
Microprocessor architecture   IIMicroprocessor architecture   II
Microprocessor architecture II
 

Recently uploaded

Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...soginsider
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086anil_gaur
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Call Girls Mumbai
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stageAbc194748
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 

Recently uploaded (20)

Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stage
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 

Digital design using verilog-For Absolute Beginners

  • 1. Dr.MURTHY YAYAVARAM Ph.D Sunday, 07 June 2020 yayavaram@yahoo.com 1
  • 2. What is ‘design’? • An idea which is new….that was not existing earlier…. • Design is not the fabrication , not connecting a circuit.. • Its an innovative or novel concept by which you get some thing better, that was not existing earlier.. • For ex: I have a mobile whose performance is very good but its power dissipation is high. • So, in the next revision i.e release , the company will come up with a new design so that it has good performance as well as low power dissipation. Sunday, 07 June 2020 yayavaram@yahoo.com 2
  • 3. contd • Another example, Assume that you are working with a two input NAND logic gate. After some time ,you felt of having a , three input NAND gate with even a better performance. • Then the engineers will come up with new design features and finally fabricate a three Input NAND gate which were not existing earlier. • So, the conclusion is, Design is a part of your fabrication. But it itself is not the fabrication Ok? • The fabrication is a very cumbersome process which involves many complex steps. Sunday, 07 June 2020 yayavaram@yahoo.com 3
  • 4. contd • The next question is where actually you use your Verilog in the digital design process? • What role you are going to play with your Verilog.. ? • These are the normal doubts that every beginner will have in his mind.. • To understand the role of your Verilog in the design ,lets consider the Chip Design flow in a very simple manner. • The process of chip design can be broadly divided into two levels. • One is front end (Logical Design) and the other is backend (Physical Design). Sunday, 07 June 2020 yayavaram@yahoo.com 4
  • 5. contd • The flow diagram changes slightly based on the type of Designs like FPGAs ASICs or SOC design etc… • Loosely speaking, front end normally deals with specifications , Architecture, functional behaviro, verification , RTL, Logic Synthesis etc.. • The backend deals with Layout , Place & Route , verification fabrication or implementation , packaging so on.. • I will discuss all these details at some other time. Sunday, 07 June 2020 yayavaram@yahoo.com 5
  • 6. A simple Design Flow(Front end) Sunday, 07 June 2020 yayavaram@yahoo.com 6
  • 7. contd • The first step in Design flow is the Specifications. These specifications mostly depend on the customer requirements. • For a practical situation ,let us suppose that your company has got a project from some third party customer for the design of a HDMI chip. • Then the customer will meet some members of the team from your company and explains them his requirements regarding the chip. • For example size , area, speed , power dissipation and so many other details.. • So, based on the customers requirements, the team will decide the specifications. Sunday, 07 June 2020 yayavaram@yahoo.com 7
  • 8. contd • Once the specifications are finalized, then the team has to decide the architecture of the chip with the desired functional behaviour. • For this RTL(REGISTER TRANSFER LEVEL) model is followed which is actually described by your Hardware Description Language(HDL). • i.e you describe the functionality of your chip using the Verilog code which you have learnt during the training. • Of course, you also use this Verilog to verify the functionality of the chip also. • I will try to make a video on RTL details and other verification process soon..Sunday, 07 June 2020 yayavaram@yahoo.com 8
  • 9. contd • Now everyone of you have got some idea where your Verilog is used. • In simple words you can say that , it is used in frontend design of a chip to describe the behaviour of the chip.(as of now) • Then what is this Verilog and how to understand and learn it? • Basically Verilog is a popular hardware description Language. • According to some versions, Verilog means “Verification Logic” • Some people also say that Verilog means a True logic. • What ever it may be let us make a humble beginning to learn this wonderful HDL. Sunday, 07 June 2020 yayavaram@yahoo.com 9
  • 10. Structure of Verilog •To understand this Verilog, let us consider its structure. •The most important part of Verilog structure is Module. •What is this module ? According to dictionary, it is a unit of architecture. Or an independent part of system. •[A similar word in VHDL is ‘Entity’] i.e in Verilog the ‘module’ denotes an independent part of the Digital System. For example an AND gate, NAND gate, Half adder, SRAM,ALU any thing like this. •The functionality or behavior of this module is described using Verilog code. •So, its important to know how this module is being described using the Verilog code. Sunday, 07 June 2020 yayavaram@yahoo.com 10
  • 11. contd • As far as structure of module is concerned, a Verilog module has two important parts. • One is declaration and the other is body. In the declaration, the name of the module , inputs, and outputs of the module are entered. • The body shows the relationship between the inputs and the outputs . • The name of the module should start with an alphabetical letter and can include the special character underscore (_). Sunday, 07 June 2020 yayavaram@yahoo.com 11
  • 12. Contd. So, the declaration of the module starts with the predefined KEY WORD ‘module’ followed by the user-selected name. • The names of the inputs and outputs (they are called input and output ports) . • The name of the module should start with an alphabetical letter and can include the special character underscore (_). •Verilog is case sensitive. •For example output y = a & b and OUTPUT Y=A&B are treated as different statements by Verilog . Sunday, 07 June 2020 yayavaram@yahoo.com 12
  • 13. Example 1 : AND gate module my_andgate(y,a,b); input a, b ; // a, b are inputs output y; // y is the output assign y = a & b; // the logic AND of a and b is assigned to y endmodule . •The name of the module in the above code is a user-selected my _ andgate. Sunday, 07 June 2020 yayavaram@yahoo.com 13
  • 14. contd •In the code a, b, y are the names of the inputs and outputs. •The order of writing the input and output ports inside the parentheses is irrelevant. •One can also write the module statement as: module my_andgate (y,a,b); •The semicolon (;) is a line separator. Sunday, 07 June 2020 yayavaram@yahoo.com 14
  • 15. Example 2: XOR Gate module my_xorgate(y,a,b); input a, b ; // a, b are inputs output y; // y is the output assign y = a ^ b; // the xor logic of a and b is assigned to y endmodule . Sunday, 07 June 2020 yayavaram@yahoo.com 15
  • 16. Example 3 : Half Adder •Lets consider another example a Half Adder. module my_halfadder1(a,b,s,c); input a , b ; // a , b are inputs the half adder output s, c; // s , c are the out puts assign s = a ^ b; // sum s is assigned with the xor of a and b assign c= a & b; // carry is assigned with the logical and of a and b endmodule. Sunday, 07 June 2020 yayavaram@yahoo.com 16