Module 7 Verilog Tutorial
Module 7 Verilog Tutorial
Functional Verification
/ Simulation
RTL Coding
Logic Synthesis
LOGIC CELL
Schematic Design
Gate Level Design
Verilog v.s. VHDL
Verilog
Module : The most basic design entry in Verilog is module.
• A module can be a stand alone element or a collection of lower design blocks (modules)
Abstraction
Levels
Size matching:
The size (no. of bits) of internal
and external ports much match each other
Stimulus (Test bench)
• To check the behavioral functionality of a module, we must write stimulus module
and instantiate the concerned module as UUT (unit under test) in it.
Verilog Lexical Conventions
Verilog Data Types
Three things to know
• What is the data?
• What is the strength?
• What is the data type?
Verilog Data Types
Three things to know
• What is the data?
• What is the strength?
• What is the data type?
• always
• initial
Always and Initial blocks
always block initial block
Blocking and Non blocking procedural assignments
blocking
non blocking
Application of Non blocking procedural assignments
Timing Controls
Conditional Statements
Case Statements
More procedural constructs
Case Statements
Casex
Verilog Behavioral code examples