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 at a chunk boundary after 3 to 11 chunks with a memory that stalls 90 % of the cycles) 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 |
test_burst_split (TC-TG-17) |
Commands that the AXI master splits into transactions of AxiMaxBeats_g beats, at every start offset of a memory word: incrementing reads and writes of 1 byte to two transactions and one word more, compared with the memory (writes: exactly the addressed bytes written, the bytes around them unchanged); read-modify-write of 1 to 4 bytes, across a word boundary at the last offsets |
TG-EX-03, TG-EX-04, TG-EX-05 |
test_rate (TC-TG-18) |
Non-verified writes and reads of 2048 and 4096 bytes with memory latencies of 0, 20, 40, 80 and 160 cycles: the sustained rates (the difference of the two lengths) equal the rates of the user guide within 1 %, a write limited by the issue of its transactions at least the lower bound of the user guide; data and status checked |
TG-PF-02, TG-PF-03 |
test_timing (TC-TG-19) |
Clock cycles at the ports with memory latencies of 0 and 20 cycles: writes and reads of 1 to 2 ChunkBytes_g + 8 bytes and read-modify-writes of 1 to 4 bytes (command taken, end of command to reply, reply); reads of 16 and 256 bytes, writes of 2 and 8 chunks and read-modify-writes back to back (period from 5 and 10 commands) |
TG-PF-01, TG-PF-03 |
test_addr_width (TC-TG-20) |
12-bit address space: reads and writes of 1023, 1024, 4095 and 4096 bytes from address 0, longer than one command of the memory master (data, bytes and beats of the memory, no further transaction); 4097 bytes give status 10 without memory access; single-address write and read of 4096 bytes; an error response in the second command of a split read: header with status 0, all data, EEP, indicated status 1; with 8-bit data and with chunks of 2048 bytes (cut to the largest command). 40-bit address space: write and read at its top |
TG-IF-02, TG-EX-08 |
test_windows (TC-TG-21) |
Every number of windows from 0 to 8: an access at the start and at the end of every window passes, one across its start or end gets status 10, a window above Windows_g does not exist; without windows every access passes |
TG-AU-07 |