Lec11 Slides Verification Overview
Lec11 Slides Verification Overview
ENCS3310
x
y
0 + sum Result of 4 bit addition
0
0 cry needs 5 bits to represent
x 1
1 + sum
y 1
1 cry
2
x
2 + sum
y 2
2 cry
3
x
3 +
y sum
3 3
cout
Test Bench Example
Expected result
0
4
TestIn1 cin
Generate x 4
tests 4 sum AdderOut
y Analyze
TestIn2 cout
module adder_test;
endmodule
Test Bench Architecture
Expected result
0
4
TestIn1 cin
Generate x 4
tests 4 sum AdderOut
y Analyze
TestIn2 cout
SEVERITY severity;
Doing the Automatic Checking