WEBVTT

1
00:00:00.250 --> 00:00:03.550
This test sends two distinct results.

2
00:00:04.470 --> 00:00:09.130
The first reaches the receiver, but the
second never arrives.

3
00:00:10.250 --> 00:00:13.730
A signal printout leaves the diagnosis to
the reader.

4
00:00:14.950 --> 00:00:18.570
An automatic checker keeps a list of
pending deliveries.

5
00:00:19.510 --> 00:00:22.910
At the deadline it can name the missing
result.

6
00:00:23.917 --> 00:00:27.257
The driver applies input data and
readiness.

7
00:00:28.317 --> 00:00:32.077
This lab tests a standalone one-entry
buffer.

8
00:00:33.017 --> 00:00:38.757
At each rising edge the monitor records
accepted inputs and outputs.

9
00:00:39.677 --> 00:00:44.757
The scoreboard checks those transfers
against its independent expectations.

10
00:00:46.250 --> 00:00:50.830
Edge five accepts an input and delivers an
output.

11
00:00:51.690 --> 00:00:57.430
First compare the observed output with the
old head of the reference queue.

12
00:00:58.070 --> 00:00:59.530
Pop the matching entry.

13
00:01:00.230 --> 00:01:03.450
Then append the newly accepted input.

14
00:01:04.210 --> 00:01:07.570
The new word remains pending for a later
delivery.

15
00:01:08.667 --> 00:01:11.327
Drive inputs at the falling edge.

16
00:01:12.127 --> 00:01:15.047
At the rising edge, snapshot the interface

17
00:01:15.047 --> 00:01:18.607
and use that snapshot to determine
transfers.

18
00:01:19.447 --> 00:01:23.507
Observe the updated register one
nanosecond later.

19
00:01:24.227 --> 00:01:27.647
Keeping these observations separate
prevents the newly

20
00:01:27.647 --> 00:01:31.627
stored B from being counted as the
delivered A.

21
00:01:32.625 --> 00:01:38.945
Many cases wait for a falling edge, then
drive valid and data.

22
00:01:40.125 --> 00:01:43.625
A testbench task can reuse that timing
sequence.

23
00:01:44.725 --> 00:01:48.005
Waiting in the task is a simulation
action.

24
00:01:48.945 --> 00:01:54.205
The design describes the conditions under
which its hardware register updates.

25
00:01:55.417 --> 00:01:58.097
Use directed cases for stalls,

26
00:01:58.557 --> 00:02:02.017
simultaneous transfers, and reset
cancellation.

27
00:02:02.937 --> 00:02:08.797
Then vary readiness with a fixed seed to
exercise more orders of events.

28
00:02:09.757 --> 00:02:14.217
Save the seed with the shortest trace that
reproduces a failure.

29
00:02:15.297 --> 00:02:19.157
The results show which cases this run
exercised.

30
00:02:20.083 --> 00:02:24.123
An unknown payload must fail the data
comparison.

31
00:02:24.963 --> 00:02:29.163
Four-state case inequality makes any
unknown

32
00:02:29.163 --> 00:02:32.703
bit differ from a known expected bit.

33
00:02:33.923 --> 00:02:36.903
Also check that interface controls are
known.

34
00:02:37.823 --> 00:02:40.683
An unknown valid signal could otherwise

35
00:02:40.683 --> 00:02:43.683
keep a checker from seeing the event at
all.

36
00:02:44.583 --> 00:02:47.823
Each fault has its own directed case.

37
00:02:48.723 --> 00:02:52.223
A missing transfer leaves a pending entry
at the deadline.

38
00:02:53.143 --> 00:02:55.723
A duplicate creates an extra transfer.

39
00:02:56.823 --> 00:03:01.183
Reordering and overwrite can still produce
two words.

40
00:03:01.863 --> 00:03:08.123
Compare data in order and check stability
during stalls to expose those failures.

41
00:03:09.292 --> 00:03:13.032
First confirm that the fault fails the
test.

42
00:03:13.892 --> 00:03:18.172
Restore the update logic and replay the
same stimulus.

43
00:03:19.312 --> 00:03:22.932
If two payloads are identical, swapping
them

44
00:03:22.932 --> 00:03:25.252
may leave the output sequence unchanged.

45
00:03:26.372 --> 00:03:32.432
Use distinguishable values in a directed
test or carry a transaction tag.

