test_aligned (TC-MM-01) |
Transfers at aligned addresses of 1 byte, one stream beat, one memory word, one burst and 3.5 bursts; stream bytes, TKeep and TLast compared byte for byte; one result per command with the length and the end of packet |
MM-IF-02, MM-RD-01, MM-ST-01, MM-ST-02, MM-ST-03 |
test_unaligned (TC-MM-02) |
Every start offset within a memory word combined with lengths from 1 to three memory words; first byte in lane 0, last TKeep; the statistics of the memory model show reads only of the words that contain the buffer |
MM-RD-01, MM-ST-01 |
test_bursts (TC-MM-03) |
Transfers that start shortly before a 4 KB boundary and span several boundaries; the memory model checks every burst against 4 KB and BurstBeats_g (no alert allowed) |
MM-IF-01, MM-RD-02 |
test_backpressure (TC-MM-04) |
20 transfers of random address and length with 50 % random backpressure of the stream peer and 50 % stall and a latency of 30 cycles in the memory model; data identical |
MM-ST-01, MM-ST-02 |
test_throughput (TC-MM-05) |
A transfer of 64 bursts with a ready stream peer and memory: with at least 8 stream beats per burst, the number of clock cycles from the first to the last stream beat exceeds the number of beats by at most 2; in the other configurations the number is logged and listed in the verification report. The same transfer with a read latency of 20, 50 and 100 clock cycles in the memory model: where MM-RD-07 applies (at least 8 stream beats per burst and a latency of at most (ReadBursts_g - 1) x these beats - 8) the number exceeds the beats by at most 2; all numbers are logged and listed in the verification report |
MM-RD-05, MM-RD-07 |
test_bus_not_held (TC-MM-06) |
The stream peer stops after 10 beats of a long transfer; until no further read burst comes for 1000 clock cycles and for 2000 clock cycles after that, the R channel never has RValid without RReady; the number of read bursts stays bounded by the data buffer and the internal FIFO of the read master (ReadBursts_g bursts); the transfer completes when the peer resumes |
MM-RD-03 |
test_queue (TC-MM-07) |
Three commands back to back: three packets in order and three results in order, the second one rejected (buffer beyond the top) between two good ones |
MM-IF-03, MM-ST-03, MM-RD-04 |
test_result_timing (TC-MM-08) |
The stream peer takes the last beat 40 clock cycles late: the result appears only after the handshake of the last beat |
MM-ST-03 |
test_read_errors (TC-MM-09) |
SLVERR on a middle beat, DECERR on the last beat, SLVERR followed by DECERR within one transfer: the transfer is sent completely with TLast, the result carries an error code; a transfer after a failed one has no error |
MM-ER-01, MM-ER-02 |
test_beyond_top (TC-MM-10) |
A buffer ending at the top of the address space is read; a buffer one byte longer causes no burst (statistics), no beat and the result decode error with 0 bytes; a command of length 0 causes no burst, no beat and the result internal error with 0 bytes. Drain while the entries of both commands, which have no read, wait with their result held at the head of the transfer buffer and a transfer behind them waits for its read data, and while they reach the head behind a transfer whose packet was sent and whose result is held: no read burst for them, no result of any drained entry, no beat of the drained transfer, Stopped rises; after Rst the next transfer is correct |
MM-RD-04, MM-RD-06, MM-HA-02 |
test_halt (TC-MM-11) |
Run falls during a transfer: the transfer is sent completely, its result returned, a further command is not accepted, Stopped rises after the result |
MM-IF-03, MM-HA-01 |
test_drain (TC-MM-12) |
Drain rises during a transfer with a stalled stream peer: no further beat, all read bursts complete (statistics), no result, Stopped rises; with Drain before any command: no command accepted; then Rst during a packet (the memory model is reset with the DUT, as the reset of the core resets its interconnect): no further beat, no result, the next transfer correct |
MM-HA-02, MM-HA-03 |
test_ecc (TC-MM-13) |
For each of the three buffers: an error is injected into the data, the entry or the response of a transfer that waits at the output of the buffer while the transfer before it completes at a stalled stream peer; a single error gives correct data and results and one pulse on the bit of the buffer in Ecc_Sec, a double error one pulse in Ecc_Ded; a single error on a data bit (data mode) gives correct data and results and one pulse in Ecc_Sec |
MM-FT-01 |
test_long_transfer (TC-MM-14) |
A transfer of at least 64 KB and 16384 stream beats (at most the longest length), with backpressure of the stream peer and of the memory |
MM-RD-01, MM-ST-01 |
test_error_codes (TC-MM-15) |
SLVERR only, DECERR only, EXOKAY only, SLVERR before DECERR and DECERR before SLVERR within one transfer: the result carries the slave error, the decode error, the slave error (interpretation I14), the slave error and the decode error |
MM-ER-03 |
test_join (TC-MM-16) |
40 packets of 1 to 5 commands each, every buffer at a random address (every offset within a memory word) and of a random length (among them 1 byte, one stream beat, lengths that end on every lane), the start of packet on the first and the end of packet on the last command; 50 % random backpressure of the stream peer, 30 % stall and a latency of 20 cycles in the memory model: every packet is the concatenation of its buffers, every beat full except the last of the packet, TLast only there; one result per command with its length and end of packet |
MM-SG-01, MM-IF-03 |
test_join_results (TC-MM-17) |
A packet of two commands, the first of at most one stream beat: the stream peer holds TReady low after the first beat; the result of the first command comes while the peer holds it (its bytes are in the join), the result of the second only after the peer has taken the beat with TLast |
MM-SG-02, MM-ST-03 |
test_join_halt (TC-MM-18) |
Packets of three commands; Run falls after the first command was accepted, with lengths that leave 1, B - 1 and B bytes (B the bytes of a stream beat) in the join: no further command accepted, the packet ends with TLast on its last byte, Stopped rises only after the stream peer (40 clock cycles late) has taken that beat; then Run rises and the next packet is complete. A read error on the first command of a packet, followed by the fall of Run: the packet ends the same way. Drain with a packet open: no further beat, Stopped rises, and after the core reset the next packet is complete. Drain while the closing beat of a packet left open by a halt waits for the stream peer, and Run and Drain falling and rising in the same clock cycle while a packet is open between two of its commands: no closing beat, Stopped rises, the next packet after the core reset complete |
MM-SG-04, MM-HA-01, MM-HA-02 |
test_keyhole (TC-MM-19) |
Keyhole commands of 1 byte, one memory word, 16 and 17 memory words and 3.5 bursts at aligned and unaligned addresses, also next to a 4 KB boundary: every AR burst FIXED with at most 16 beats at the address with the bits below the memory width cleared; the address is the FIFO window of the memory model, which returns a different word per beat (the consecutive words of its backing range, PKG-12), so the stream carries those words in order, packed from lane 0, the last beat with the remaining bytes, and an incrementing read would give other bytes; an incrementing command after a keyhole command and the reverse are both correct; a keyhole command at the top of the address space is read |
MM-SG-03, MM-IF-01 |
test_join_halt_sweep (TC-MM-20) |
A packet of two commands, the second with and without the end of packet: the first has passed the stream (its result returned, the join holds its last byte), the second is accepted and Run falls 0 to 8 clock cycles after its handshake, before and after its entry reaches the stream. Both commands complete, the packet ends with TLast on the last byte of the second (its end of packet or the closing beat after the halt), one result each, no further result or packet, Stopped rises; the next packet after Run rises is complete |
MM-HA-01, MM-SG-04 |