Add Secondary sampling point to Status Bus
To test SSP offset in feature test, it is beneficial to add secondary sampling point to Status Bus. If Both: Data Sample and Secondary Sampling point are in Status Bus (which is accessible from feature test), then SSP_CFG can be tested like so:
Feature test has TRV_DELAY of 22 (hardcoded in Feature testbench).
- Configure SSP Offset, and SSP source. This will give overral delay between Data and Secondary sample.
- Wait till Data sample (on Status Bus).
- Wait till Secondary sample and measure that number of clock cycles in between corresponds to Expected delay.
Examine all three options:
- TRV_DELAY only (equal to 22 in feature test)
- TRV_DELAY + SSP_OFFSET
- SSP_OFFSET only.