Commit e85be28
committed
Fix tutorial test bench
The test bench in the tutorial didn't compile, because it used
`outputVerifier` instead of `outputVerifier'` (note prime at end).
Furthermore, several engineers have commented over the years that this
structure we've always suggested in our tutorial material, with
`expectOutput` as a function that takes the output signal, and the DUT
being wired up in the definition of `done`, is a bit odd. I feel it
makes more sense to define `out` and `expected` as the signal from the
DUT and the expected signal from the DUT.1 parent 5ebb975 commit e85be28
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments