test_annex_patterns (TC-TG-01) |
The four commands of ECSS Annex A.4 give the replies of Annex A.4 (with and without Reply Address) and write and read the memory; indication fields |
TG-IF-01, TG-IF-02, TG-IF-05, TG-RX-01, TG-RX-02, TG-RX-05, TG-TX-01, TG-TX-03, TG-TX-04 |
test_write_variants (TC-TG-02) |
All eight write commands: incrementing writes of 1 to 1000 bytes at unaligned addresses (verified up to the buffer size), exactly the addressed bytes written; single-address writes of three words to the same word; zero-length writes write nothing; reply only with the reply bit |
TG-EX-01, TG-EX-02, TG-EX-03, TG-EX-07, TG-TX-01 |
test_read_variants (TC-TG-03) |
Incrementing reads of 0 to 1000 bytes at unaligned addresses, Reply Address Length 3, single-address read of three words |
TG-EX-04, TG-EX-07, TG-TX-04 |
test_rmw (TC-TG-04) |
Read-modify-write of 1 to 4 bytes (across a word boundary), result (mask and data) or (not mask and read data), reply with the data read, example of ECSS Figure 5-16, zero bytes without memory access |
TG-EX-05, TG-EX-07, TG-TX-04 |
test_header_errors (TC-TG-05) |
Header CRC errors, packets ending in the header with EOP or EEP at every position, EEP immediately after the header of a write, a read and a read-modify-write and of a command with a wrong key, a reply at the Target, reserved packet types, Protocol Identifier 2: no reply, no memory access, events counted |
TG-RX-02, TG-RX-03, TG-RX-04, TG-RX-06, TG-AU-01 |
test_invalid_codes (TC-TG-06) |
Command codes 0b0000, 0b0001, 0b0100, 0b0101 (no reply) and 0b0110 (reply): status 2 |
TG-AU-02 |
test_authorisation (TC-TG-07) |
Logical addresses 0x42, 0x43 and 0xFE enabled and disabled, key check enabled and disabled, four windows with different permissions (bounds, crossing a bound, read, write, verified-only, read-modify-write, single address), alignment of single-address accesses, AXI address range, read-modify-write lengths 3 and 10, verified write of 257 bytes, priorities of the status codes; no memory access when rejected |
TG-IF-03, TG-AU-03 to TG-AU-08 |
test_verified_errors (TC-TG-08) |
Verified write with Data CRC error, early EOP, excess data, EEP after the Data CRC and in the data, EEP and Data CRC error together, without reply: no byte written |
TG-EX-01, TG-AU-08 |
test_unverified_errors (TC-TG-09) |
Non-verified write: Data CRC error after the data is written; early EOP (also with a slow memory, the incomplete chunk discarded after the complete ones are written) and EEP: only complete chunks written; excess data: Data Length bytes written; a short write whose last byte is the Data CRC writes nothing |
TG-EX-02 |
test_read_rmw_end_errors (TC-TG-10) |
Data after a read header (status 6) and with an EEP (status 7) without execution; read-modify-write with Data CRC error, early EOP, excess data and EEP without memory access |
TG-EX-04, TG-EX-05, TG-RX-05 |
test_memory_errors (TC-TG-11) |
Error responses: non-verified and verified write status 1, read reply ended with an EEP after the data, read-modify-write read error (status 1, no data, nothing written) and write error (status 1, data read returned), normal operation afterwards |
TG-EX-06 |
test_ext_auth (TC-TG-12) |
External authorisation: request fields, accepted and rejected write, read and read-modify-write, EEP, early EOP, excess data and Data CRC error before the rejection, rejected write without reply, no request for a read-modify-write with a Data CRC error |
TG-IF-04, TG-EX-05, TG-AU-08 |
test_reply_address (TC-TG-13) |
Reply Address fields of ECSS Table 5-3 (all zero, internal and trailing zeros), 8 and 12 bytes |
TG-TX-02 |
test_stress (TC-TG-14) |
40 % random backpressure of the AXI memory, random gaps on the command stream and random backpressure on the reply stream: 4 kB write across a 4 kB boundary and read back, 40 commands of all kinds back to back, a 1000-byte write with 90 % memory backpressure that fills the write buffer, replies requested while the encoder still sends the previous reply |
TG-IF-01, TG-IF-02, TG-EX-02, TG-EX-04 |
test_ecc (TC-TG-15) |
Single errors in the write buffer and in the write and read data of the master corrected and counted; double errors in the write buffer and in the write data of the master give status 1, in the read data of the master an EEP after the data |
TG-EX-06 |
test_reset (TC-TG-16) |
Reset in each of the first 140 cycles of a verified write, a non-verified write, a read with Reply Address, a read-modify-write and a rejected write (with internal and external authorisation; the harness drops the rest of the command and the replies, the memory model drops its open transactions); a read every 20 resets and a write at the end are executed normally |
TG-IF-06 |