L4a Intro To SystemVerilog
L4a Intro To SystemVerilog
Computer Architecture
Sarah Harris & David Harris
Chapter 4:
Hardware Description
Languages
These lecture slides are based on the above textbook, with modifications by the instructor
Chapter 4 :: Topics
• Introduction
• Combinational Logic
• Delays
• Sequential Logic
• Combinational Logic w/ Always
• Blocking & Nonblocking Assignments
• Finite State Machines
• Parameterized Modules
• Testbenches
Introduction
IMPORTANT:
When using an HDL, think of the hardware
the HDL should produce, then write the
appropriate idiom (e.g. a coding pattern)
that implies that hardware.
a
SystemVerilog
Verilog
b y
Module
Module
c
is y correct?
Digital Design & Computer Architecture Hardware Description Languages 10
HDL Synthesis
module example(input logic a, b, c,
output logic y);
assign y = ~a & ~b & ~c | a & ~b & ~c | a & ~b & c;
endmodule
un5_y
y
un8_y