SystemVerilog Interface
SystemVerilog Interface
Gi-Yong Song
Chungbuk National University, Korea
SystemVerilog
Interface concepts
The Verilog language connects modules together
through module ports. This is a detailed method of
representing the connections between blocks of a
design that maps directly to the physical
connections that will be in the actual hardware.
Disadvantages of Verilogs
module ports
Declarations must be duplicated in multiple
modules.
Communication protocols must be duplicated in
several modules.
There is a risk of mismatched declarations in
different modules.
A change in the design specification can require
modifications in multiple modules.
Advantages of SystemVerilog
interfaces
10
11
12
13
14
16
17
18
19
20
21
22
23
24
Interface modports
25
26
27
28
29
30
31
32
Interface methods
33
34
35
36
37
38
39
40
41
42
43
44
45
Parameterized interface
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
References
Stuart Sutherland, Simon Davidmann and Peter Fla
ke, SystemVerilog for Design (2nd Edition): A Gui
de to Using SystemVerilog for Hardware Design an
d Modeling, Springer, 2006.
Chris Spear, SystemVerilog for Verification (2nd E
dition): A Guide to Learning the Testbench Langua
ge Features, Springer, 2008.
Mike Mintz, Robert Ekendahl, Hardware Verificatio
n with SystemVerilog : An Object-Oriented Framew
ork, Springer, 2007.
Mark Zwolinski, Digital System Design With
SystemVerilog, Addision-Wesley,2010.
62