Beruflich Dokumente
Kultur Dokumente
Contents
An introduction to verilog
Different styles of programming in verilog
Design of a 2:1 MUX
Programming 2:1 mux in different styles in verilog
Significance of each style of programming
Introduction
What is verilog?
Verilog is a HDL which is used to formally describe electronic
circuits
It usually used to design and test digital circuits
What is the significance of verilog?
Verilog helps in describing the behaviour of the circuit
Allows to have different levels of abstraction in the same design
Design can be simulated using software to check the functionality
before implementing the design in hardware.
Can check for delays in the circuit before implementing the design
in hardware.
being analysed.
Hence we can use 3 styles of programming
A) Dataflow
B)Behavioural
C) Structural
2:1 MUX
A
Y
B
S
S
n1
a1
b1
Dataflow
Behavioural
Structural