Professional Documents
Culture Documents
SYSTEM VERILOG
TESTBENCH
SYSTEM VERILOG ENVIRONMENT 2
Verification environment is used for functional correctness of the Design Under Test by
generating and driving a predefined(protocol oriented)input sequences ,capturing the
design O/P and comparing wrt. Expected O/P
Verification environment is formed by grouping several components performing specific
task/operation
In verification environment, separate classes are written to perform specific operation like
stimulus generation, driving and monitoring etc and their naming is done according to their
operation.
ENVIRONMENT COMPONENTS
3
WITH DESCRIPTION
STEPS TO DEVELOPE VERIFICATION 4
ENVIRONMENT
PACKAGE
ENVIRONMENT
GENERATOR
REFERENC SCOREBOARD
E MODEL
DUV
INTERFACE
MAILBOX
INTERFACE 7
Static component
Encapsulates communication between hardware blocks
Bundle of Signals
Reduce amount of code
Promote reuse
Synthesizable construct
Can include always, initial, task, function, assertion and coverage too
8
EXAMPLE OF INTERFACE
9
MODPORT 10