Skip to content

spp_receive: Verification Report

1. Test results

Run on 2026-10-14 with GHDL 6.0.0 (mcode), VUnit 5.0.0.dev7, UVVM 2026.03.20: python run.py -p 3 "*spp_receive*".

Testbench Tests Passed
spp_receive_tb 11 test cases in 21 configurations 21

Line rate (TC-RE-07): 100 packets of 262 bytes left the port in 6697 cycles for 6600 received beats at 32 bits and in 1798 cycles for 1700 received beats at 128 bits: one cycle per packet (the read stall of the packet FIFO).

QuestaSim (Questa Sim Microchip Edition 2024.3) at a time resolution of 1 fs, release 0.2.0 on 2026-11-04: the 21 runs of spp_receive_tb (11 test cases) pass without code coverage (python run.py --questa -p 1) and with it (python run.py --questa --coverage -p 1), in the complete regression of 668 runs; the coverage is in docs/coverage.md.

2. Summary

All test cases pass; every requirement of the specification is covered (see the verification plan). VSG reports no errors and no warnings; ghdl --synth elaborates spp_receive without latches.

Findings:

Finding Resolution
The length check computed PDL + 7 in 16 bits, so a packet of the maximum length (PDL 65535) failed it; the same in the send buffer for the Packet Service 17-bit arithmetic in both buffers; TC-RE-06 and a Packet Service case of TC-SE-07 cover the maximum length
The error flag of an Octet String appeared also on the beat before the last when the header removal needed a flush beat The flag is masked to the last beat
Code coverage: the saturation of the byte count, a double error in the last word of a packet without an earlier one and a buffer full of packets while the port stalls were not exercised TC-RE-06 (a packet whose PDL matches a wrapped count), TC-RE-08 (new configuration at 64 bits) and TC-RE-01 extended
A last beat without byte enables after the bytes of a packet left the user port as a beat without bytes Last follows the remaining byte count and the stored beat is skipped (RE-IF-06, D15, TC-RE-11)
The demultiplexer evaluated undefined registers (byte count, descriptor, table entry) while idle: metavalue warnings in simulation from the end of the table initialisation until the first packet The registers are reset (D16); TC-CO-11 checks it at core level