Skip to content

OpenDMA: Compliance Matrix

Generated by python tools/compliance.py from the requirement traceability matrix of the architecture (section 10), the requirements of the module specifications and the test cases of the module verification plans. python tools/compliance.py --check fails when an item or a requirement has no test case, or when a test case of a plan is not run by a testbench.

1. Items of the published interface

An item is listed with every requirement that traces to it and with the test cases that verify these requirements. An item is verified when every requirement that traces to it is verified by a test case, and partly verified while the other requirements belong to modules without a testbench yet, to a later development phase (for example the Scatter/Gather function of a status bit that is verified in Direct Register Mode) or wait for a change of Open Logic. An item is planned while its development phase is open, none of its owner modules has a testbench yet or all its requirements are planned. The interpretations of the published interface are listed in section 6 of the architecture and in the module specifications.

Item PG021 reference Owner Phase Requirements Test cases Status
MAP.SG Table 4, SG mode address map RG-1 b CO-SG-01, RG-SG-01, SG-IF-01 TC-CO-07, TC-CO-09, TC-RG-16, TC-SG-01, TC-SG-02, TC-SG-10 Verified
MAP.DR Table 5, DR mode address map RG-1 a RG-IF-01, RG-IF-02, RG-MAP-01, RG-MAP-03, RG-MAP-04, RG-SR-07 TC-RG-01, TC-RG-02, TC-RG-12, TC-RG-14 Verified
MAP.ENDIAN Figure 2, little-endian registers RG-1 a RG-IF-04 TC-RG-01 Verified
MAP.WSTRB Register Space, note on the write strobes RG-1 a RG-IF-03 TC-RG-02 Verified
MAP.ACCESS Register Access Type Description (RO, R/W, R/WC) RG-1 a RG-CR-04, RG-IR-03, RG-MAP-02 TC-RG-02, TC-RG-04, TC-RG-09 Verified
MM2S_DMACR.RS Tables 6, 16, bit 0 RG-1 a CO-SG-12, CO-SQ-04, MM-HA-01, MM-SG-04, RG-CR-01, RG-CR-02, SG-HA-01 TC-CO-02, TC-CO-18, TC-MM-11, TC-MM-18, TC-MM-20, TC-RG-03, TC-RG-07, TC-RG-08, TC-SG-11 Verified
S2MM_DMACR.RS Tables 6, 16, bit 0 RG-1 a CO-SG-12, CO-SQ-04, MM-SG-04, RG-CR-01, RG-CR-02, S2-HA-01, S2-HA-03, SG-HA-01 TC-CO-02, TC-CO-18, TC-MM-18, TC-MM-20, TC-RG-03, TC-RG-07, TC-RG-08, TC-S2-09, TC-S2-11, TC-S2-19, TC-S2-21, TC-S2-23, TC-S2-26, TC-S2-27, TC-S2-28, TC-SG-11 Verified
MM2S_DMACR.Reserved Tables 6, 16, bits 1, 11 to 5, 15 RG-1 a RG-CR-03 TC-RG-01 Verified
S2MM_DMACR.Reserved Tables 6, 16, bits 1, 11 to 5, 15 RG-1 a RG-CR-03 TC-RG-01 Verified
MM2S_DMACR.Reset Tables 6, 16, bit 2 RG-3 a CO-ER-02, CO-RS-01, CO-SG-08, MM-HA-02, RG-CR-06, RG-RS-02, RG-RS-04, SG-HA-02 TC-CO-04, TC-CO-05, TC-CO-06, TC-CO-17, TC-MM-10, TC-MM-12, TC-MM-18, TC-RG-10, TC-SG-12 Verified
S2MM_DMACR.Reset Tables 6, 16, bit 2 RG-3 a CO-ER-02, CO-RS-01, CO-SG-08, RG-CR-06, RG-RS-02, RG-RS-04, S2-HA-02, SG-HA-02 TC-CO-04, TC-CO-05, TC-CO-06, TC-CO-17, TC-RG-10, TC-S2-09, TC-S2-12, TC-S2-19, TC-S2-21, TC-S2-22, TC-S2-26, TC-SG-12 Verified
MM2S_DMACR.Keyhole Tables 6, 16, bit 3 MM-1 (MM2S), S2-2 (S2MM) b CO-SG-11, MM-SG-03, RG-SG-09, S2-SG-04, SG-TR-03 TC-CO-19, TC-MM-19, TC-RG-23, TC-S2-20, TC-SG-14 Verified
S2MM_DMACR.Keyhole Tables 6, 16, bit 3 MM-1 (MM2S), S2-2 (S2MM) b CO-SG-11, MM-SG-03, RG-SG-09, RG-SG-11, S2-SG-04, SG-TR-03 TC-CO-19, TC-MM-19, TC-RG-23, TC-RG-24, TC-S2-20, TC-SG-14 Verified
MM2S_DMACR.CyclicBD Tables 6, 16, bit 4 SG-1 b RG-SG-09, SG-CY-01 TC-RG-23, TC-SG-07, TC-SG-13 Verified
S2MM_DMACR.CyclicBD Tables 6, 16, bit 4 SG-1 b RG-SG-09, SG-CY-01 TC-RG-23, TC-SG-07, TC-SG-13 Verified
MM2S_DMACR.IOC_IrqEn Tables 6, 16, bit 12 (I2) RG-2 a RG-CR-05, RG-IR-04 TC-RG-02, TC-RG-04, TC-RG-05, TC-RG-08 Verified
S2MM_DMACR.IOC_IrqEn Tables 6, 16, bit 12 (I2) RG-2 a RG-CR-05, RG-IR-04 TC-RG-02, TC-RG-04, TC-RG-05, TC-RG-08 Verified
MM2S_DMACR.Dly_IrqEn Tables 6, 16, bit 13 RG-2 b RG-SG-08 TC-RG-22 Verified
S2MM_DMACR.Dly_IrqEn Tables 6, 16, bit 13 RG-2 b RG-SG-08 TC-RG-22 Verified
MM2S_DMACR.Err_IrqEn Tables 6, 16, bit 14 RG-2 a RG-CR-05, RG-IR-04 TC-RG-02, TC-RG-04, TC-RG-05, TC-RG-08 Verified
S2MM_DMACR.Err_IrqEn Tables 6, 16, bit 14 RG-2 a RG-CR-05, RG-IR-04 TC-RG-02, TC-RG-04, TC-RG-05, TC-RG-08 Verified
MM2S_DMACR.IRQThreshold Tables 6, 16, bits 23 to 16 RG-2 b RG-SG-06 TC-RG-21 Verified
S2MM_DMACR.IRQThreshold Tables 6, 16, bits 23 to 16 RG-2 b RG-SG-06 TC-RG-21 Verified
MM2S_DMACR.IRQDelay Tables 6, 16, bits 31 to 24 RG-2 b CO-SG-07, RG-SG-07 TC-CO-16, TC-RG-22 Verified
S2MM_DMACR.IRQDelay Tables 6, 16, bits 31 to 24 RG-2 b CO-SG-07, RG-SG-07 TC-CO-16, TC-RG-22 Verified
MM2S_DMASR.Halted Tables 7, 17, bit 0 RG-1 a RG-SG-10, RG-SR-01, SG-ER-03, SG-HA-01 TC-RG-03, TC-RG-07, TC-RG-19, TC-SG-08, TC-SG-10, TC-SG-11 Verified
S2MM_DMASR.Halted Tables 7, 17, bit 0 RG-1 a RG-SG-10, RG-SR-01, SG-ER-03, SG-HA-01 TC-RG-03, TC-RG-07, TC-RG-19, TC-SG-08, TC-SG-10, TC-SG-11 Verified
MM2S_DMASR.Idle Tables 7, 17, bit 1 RG-1 a RG-SG-04, RG-SR-02, SG-FE-03 TC-RG-03, TC-RG-04, TC-RG-16, TC-RG-19, TC-SG-03, TC-SG-16 Verified
S2MM_DMASR.Idle Tables 7, 17, bit 1 RG-1 a RG-SG-04, RG-SR-02, SG-FE-03 TC-RG-03, TC-RG-04, TC-RG-16, TC-RG-19, TC-SG-03, TC-SG-16 Verified
MM2S_DMASR.Reserved Tables 7, 17, bits 2, 7, 11, 15 RG-1 a RG-SR-04 TC-RG-01 Verified
S2MM_DMASR.Reserved Tables 7, 17, bits 2, 7, 11, 15 RG-1 a RG-SR-04 TC-RG-01 Verified
MM2S_DMASR.SGIncld Tables 7, 17, bit 3 RG-1 a RG-SG-04, RG-SR-03 TC-RG-01, TC-RG-16, TC-RG-19 Verified
S2MM_DMASR.SGIncld Tables 7, 17, bit 3 RG-1 a RG-SG-04, RG-SR-03 TC-RG-01, TC-RG-16, TC-RG-19 Verified
MM2S_DMASR.DMAIntErr Table 7, bit 4 SG-1 b CO-SG-06, RG-SG-05, SG-FE-06 TC-CO-14, TC-RG-20, TC-SG-08 Verified
S2MM_DMASR.DMAIntErr Table 17, bit 4 S2-1 a CO-ER-01, RG-SR-06, S2-RS-02 TC-CO-04, TC-RG-08, TC-S2-08 Verified
MM2S_DMASR.DMASlvErr Tables 7, 17, bit 5 MM-1 (MM2S), S2-2 (S2MM) a CO-ER-01, MM-ER-01, MM-ER-02, MM-ER-03, PKG-13, RG-SR-05, SG-ER-01 TC-CO-04, TC-MM-09, TC-MM-15, TC-PKG-15, TC-RG-08, TC-SG-08 Verified
S2MM_DMASR.DMASlvErr Tables 7, 17, bit 5 MM-1 (MM2S), S2-2 (S2MM) a CO-ER-01, CO-SG-13, PKG-13, RG-SR-05, S2-RS-03, S2-RS-05, SG-ER-01 TC-CO-04, TC-CO-21, TC-PKG-15, TC-RG-08, TC-S2-09, TC-S2-15, TC-S2-19, TC-S2-23, TC-S2-26, TC-SG-08 Verified
MM2S_DMASR.DMADecErr Tables 7, 17, bit 6 MM-1 (MM2S), S2-2 (S2MM) a CO-ER-01, MM-ER-03, MM-RD-04, PKG-13, RG-SR-05, SG-ER-01 TC-CO-04, TC-MM-07, TC-MM-10, TC-MM-15, TC-PKG-15, TC-RG-08, TC-SG-08 Verified
S2MM_DMASR.DMADecErr Tables 7, 17, bit 6 MM-1 (MM2S), S2-2 (S2MM) a CO-ER-01, PKG-13, RG-SR-05, S2-RS-05, S2-WR-04, SG-ER-01 TC-CO-04, TC-PKG-15, TC-RG-08, TC-S2-10, TC-S2-15, TC-SG-08 Verified
MM2S_DMASR.SGIntErr Tables 7, 17, bit 8 SG-1 b CO-SG-06, RG-SG-05, SG-FE-05 TC-CO-14, TC-RG-20, TC-SG-07, TC-SG-12 Verified
S2MM_DMASR.SGIntErr Tables 7, 17, bit 8 SG-1 b CO-SG-06, RG-SG-05, SG-FE-05 TC-CO-14, TC-RG-20, TC-SG-07, TC-SG-12 Verified
MM2S_DMASR.SGSlvErr Tables 7, 17, bit 9 SG-3 b CO-SG-06, RG-SG-05, SG-ER-02, SG-ER-04 TC-CO-14, TC-RG-20, TC-SG-09, TC-SG-18 Verified
S2MM_DMASR.SGSlvErr Tables 7, 17, bit 9 SG-3 b CO-SG-06, RG-SG-05, SG-ER-02, SG-ER-04 TC-CO-14, TC-RG-20, TC-SG-09, TC-SG-18 Verified
MM2S_DMASR.SGDecErr Tables 7, 17, bit 10 SG-3 b CO-SG-06, RG-SG-05, SG-ER-02, SG-ER-04 TC-CO-14, TC-RG-20, TC-SG-09, TC-SG-18 Verified
S2MM_DMASR.SGDecErr Tables 7, 17, bit 10 SG-3 b CO-SG-06, RG-SG-05, SG-ER-02, SG-ER-04 TC-CO-14, TC-RG-20, TC-SG-09, TC-SG-18 Verified
MM2S_DMASR.IOC_Irq Tables 7, 17, bit 12 RG-2 a RG-IR-01, RG-SG-06, SG-UP-04, SG-UP-05 TC-RG-04, TC-RG-05, TC-RG-07, TC-RG-21, TC-SG-06, TC-SG-16 Verified
S2MM_DMASR.IOC_Irq Tables 7, 17, bit 12 RG-2 a RG-IR-01, RG-SG-06, SG-UP-04, SG-UP-05 TC-RG-04, TC-RG-05, TC-RG-07, TC-RG-21, TC-SG-06, TC-SG-16 Verified
MM2S_DMASR.Dly_Irq Tables 7, 17, bit 13 RG-2 b CO-SG-07, RG-SG-07, RG-SG-08 TC-CO-16, TC-RG-22 Verified
S2MM_DMASR.Dly_Irq Tables 7, 17, bit 13 RG-2 b CO-SG-07, RG-SG-07, RG-SG-08 TC-CO-16, TC-RG-22 Verified
MM2S_DMASR.Err_Irq Tables 7, 17, bit 14 RG-2 a CO-ER-01, RG-IR-02 TC-CO-04, TC-RG-08 Verified
S2MM_DMASR.Err_Irq Tables 7, 17, bit 14 RG-2 a CO-ER-01, RG-IR-02 TC-CO-04, TC-RG-08 Verified
MM2S_DMASR.IRQThresholdSts Tables 7, 17, bits 23 to 16 RG-2 b RG-SG-06 TC-RG-21 Verified
S2MM_DMASR.IRQThresholdSts Tables 7, 17, bits 23 to 16 RG-2 b RG-SG-06 TC-RG-21 Verified
MM2S_DMASR.IRQDelaySts Tables 7, 17, bits 31 to 24 RG-2 b RG-SG-07 TC-RG-22 Verified
S2MM_DMASR.IRQDelaySts Tables 7, 17, bits 31 to 24 RG-2 b RG-SG-07 TC-RG-22 Verified
MM2S_CURDESC Tables 8, 18 SG-1 b RG-SG-02, SG-FE-07 TC-RG-16, TC-RG-17, TC-SG-05, TC-SG-09 Verified
S2MM_CURDESC Tables 8, 18 SG-1 b RG-SG-02, SG-FE-07 TC-RG-16, TC-RG-17, TC-SG-05, TC-SG-09 Verified
MM2S_CURDESC_MSB Tables 9, 19 SG-1 b RG-SG-02, SG-FE-07 TC-RG-16, TC-RG-17, TC-SG-05, TC-SG-09 Verified
S2MM_CURDESC_MSB Tables 9, 19 SG-1 b RG-SG-02, SG-FE-07 TC-RG-16, TC-RG-17, TC-SG-05, TC-SG-09 Verified
MM2S_TAILDESC Tables 10, 20 SG-1 b RG-SG-03, SG-FE-02 TC-RG-16, TC-RG-18, TC-SG-03, TC-SG-16 Verified
S2MM_TAILDESC Tables 10, 20 SG-1 b RG-SG-03, SG-FE-02 TC-RG-16, TC-RG-18, TC-SG-03, TC-SG-16 Verified
MM2S_TAILDESC_MSB Tables 11, 21 SG-1 b RG-SG-03, SG-FE-02 TC-RG-16, TC-RG-18, TC-SG-03, TC-SG-16 Verified
S2MM_TAILDESC_MSB Tables 11, 21 SG-1 b RG-SG-03, SG-FE-02 TC-RG-16, TC-RG-18, TC-SG-03, TC-SG-16 Verified
MM2S_SA Table 12 RG-1 a RG-AR-01, RG-AR-08 TC-RG-04, TC-RG-15 Verified
MM2S_SA_MSB Table 13 RG-1 a RG-AR-01 TC-RG-15 Verified
MM2S_LENGTH Table 14 RG-1 a RG-AR-03, RG-AR-04, RG-AR-07 TC-RG-04, TC-RG-06, TC-RG-15 Verified
S2MM_DA Table 22 RG-1 a RG-AR-02, RG-AR-08 TC-RG-04, TC-RG-15 Verified
S2MM_DA_MSB Table 23 RG-1 a RG-AR-02 TC-RG-15 Verified
S2MM_LENGTH Table 24 RG-1 a RG-AR-03, RG-AR-05, RG-AR-06, RG-AR-07 TC-RG-05, TC-RG-06, TC-RG-07, TC-RG-15 Verified
SG_CTL Table 15 Out of scope (multichannel mode) - - - Out of scope
DESC.LAYOUT Table 25, word offsets, 16-word alignment SG-1 b SG-FE-01 TC-SG-01 Verified
DESC.NXTDESC Tables 26, 33 SG-1 b SG-FE-01 TC-SG-01 Verified
DESC.NXTDESC_MSB Tables 27, 34 SG-1 b SG-IF-03 TC-SG-01 Verified
DESC.BUFFER_ADDRESS Tables 28, 35 SG-1 b SG-FE-01 TC-SG-01 Verified
DESC.BUFFER_ADDRESS_MSB Tables 29, 36 SG-1 b SG-IF-03 TC-SG-01 Verified
DESC.MM2S_CONTROL.BufferLength Table 30, bits 25 to 0 SG-1 b SG-IF-03, SG-TR-01 TC-SG-01, TC-SG-16 Verified
DESC.MM2S_CONTROL.TXEOF Table 30, bit 26 SG-1 b MM-SG-01, SG-TR-01 TC-MM-16, TC-SG-01, TC-SG-16 Verified
DESC.MM2S_CONTROL.TXSOF Table 30, bit 27 SG-1 b SG-TR-01 TC-SG-01, TC-SG-16 Verified
DESC.MM2S_STATUS.TransferredBytes Table 31, bits 25 to 0 SG-2 b MM-SG-02, SG-UP-01, SG-UP-02 TC-MM-17, TC-SG-02, TC-SG-16 Verified
DESC.MM2S_STATUS.DMAIntErr Table 31, bit 28 SG-2 b SG-FE-06 TC-SG-08 Verified
DESC.MM2S_STATUS.DMASlvErr Table 31, bit 29 SG-2 b SG-ER-01 TC-SG-08 Verified
DESC.MM2S_STATUS.DMADecErr Table 31, bit 30 SG-2 b SG-ER-01 TC-SG-08 Verified
DESC.MM2S_STATUS.Cmplt Table 31, bit 31 SG-2 b SG-FE-05, SG-UP-01 TC-SG-02, TC-SG-07, TC-SG-12, TC-SG-16 Verified
DESC.MM2S_APP Table 32 MM-3 c - - Planned
DESC.S2MM_CONTROL.BufferLength Table 37, bits 25 to 0 SG-1 b S2-SG-01, SG-IF-03, SG-TR-02 TC-S2-17, TC-S2-19, TC-SG-01, TC-SG-16 Verified
DESC.S2MM_CONTROL.RXSOF Table 37, bit 27 (micro mode) SG-1 c - - Planned
DESC.S2MM_CONTROL.RXEOF Table 37, bit 26 (micro mode) SG-1 c - - Planned
DESC.S2MM_STATUS.TransferredBytes Table 38, bits 25 to 0 SG-2 b SG-UP-01, SG-UP-03 TC-SG-02, TC-SG-16 Verified
DESC.S2MM_STATUS.RXEOF Table 38, bit 26 SG-2 b S2-SG-02, SG-UP-03 TC-S2-17, TC-S2-19, TC-S2-22, TC-S2-26, TC-SG-02, TC-SG-16 Verified
DESC.S2MM_STATUS.RXSOF Table 38, bit 27 SG-2 b S2-SG-02, SG-UP-03 TC-S2-17, TC-S2-19, TC-S2-22, TC-S2-26, TC-SG-02, TC-SG-16 Verified
DESC.S2MM_STATUS.DMAIntErr Table 38, bit 28 SG-2 b SG-FE-06 TC-SG-08 Verified
DESC.S2MM_STATUS.DMASlvErr Table 38, bit 29 SG-2 b SG-ER-01 TC-SG-08 Verified
DESC.S2MM_STATUS.DMADecErr Table 38, bit 30 SG-2 b SG-ER-01 TC-SG-08 Verified
DESC.S2MM_STATUS.Cmplt Table 38, bit 31 SG-2 b CO-SG-13, SG-FE-05, SG-UP-01 TC-CO-21, TC-SG-02, TC-SG-07, TC-SG-12, TC-SG-16 Verified
DESC.S2MM_APP Table 39, APP0 to APP3 S2-3 c - - Planned
DESC.S2MM_APP4 Table 40, APP4 and receive length S2-3 c - - Planned
DESCMGMT.TAIL Section "Descriptor Management", tail pointer mode SG-1 b CO-SG-04, RG-SG-03, S2-SG-03, SG-FE-02, SG-FE-03, SG-FE-04, SG-TR-04 TC-CO-12, TC-RG-16, TC-RG-18, TC-S2-18, TC-S2-27, TC-SG-03, TC-SG-04, TC-SG-16 Verified
STRM.MM2S Section "MM2S Descriptor Settings and AXI Control Stream", Figure 37 (data stream) MM-2 a CO-IF-02, MM-IF-02, MM-SG-01, MM-ST-01, MM-ST-02 TC-CO-02, TC-MM-01, TC-MM-02, TC-MM-04, TC-MM-14, TC-MM-16 Verified
STRM.S2MM Section "S2MM Descriptor Settings and AXI Status Stream", Figure 39 (data stream) S2-1 a CO-IF-02, S2-IF-02, S2-SG-01, S2-ST-01, S2-ST-02, S2-WR-01, S2-WR-02 TC-CO-02, TC-S2-01, TC-S2-02, TC-S2-03, TC-S2-05, TC-S2-07, TC-S2-08, TC-S2-11, TC-S2-14, TC-S2-16, TC-S2-17, TC-S2-18, TC-S2-19, TC-S2-27, TC-S2-28 Verified
STRM.CNTRL Section "AXI Control Stream", Figure 38 MM-3 c - - Planned
STRM.STS Section "AXI Status Stream", Figure 40 S2-3 c - - Planned
STRM.RXLENGTH Section "Customizing and Generating the Core", Use RxLength In Status Stream S2-3 c - - Planned
IRQ.OUT Table 3, interrupt outputs RG-2 a CO-IF-02, RG-IR-04, RG-SG-08 TC-CO-02, TC-RG-04, TC-RG-05, TC-RG-08, TC-RG-22 Verified
CLK.SYNC Section "Clocking", synchronous mode CO-1 a CO-IF-01 TC-CO-02 Verified
CLK.ASYNC Section "Clocking", asynchronous mode, Table 43 Out of scope (D1) - - - Out of scope
RST.HARD Section "Resets" RG-3 a MM-HA-03, RG-RS-01, SG-HA-03 TC-MM-12, TC-RG-11, TC-SG-19 Verified
RST.OUT Table 3, reset outputs of the streams (I12) RG-3 a CO-IF-02, CO-RS-01, RG-RS-03 TC-CO-02, TC-CO-05, TC-CO-06, TC-RG-10 Verified
FEAT.4K Section "Core Overview", 4 KB address boundary MM-1 (MM2S), S2-2 (S2MM) a MM-RD-02, S2-WR-03 TC-MM-03, TC-S2-04, TC-S2-24 Verified
FEAT.BURST Table 44, c_mm2s_burst_size, c_s2mm_burst_size MM-1 (MM2S), S2-2 (S2MM) a MM-RD-02, S2-WR-03 TC-MM-03, TC-S2-04, TC-S2-24 Verified
FEAT.UNALIGNED Table 44, c_include_mm2s_dre, c_include_s2mm_dre (D2) MM-1 (MM2S), S2-2 (S2MM) a MM-RD-01, S2-WR-01 TC-MM-01, TC-MM-02, TC-MM-14, TC-S2-01, TC-S2-02, TC-S2-05, TC-S2-14, TC-S2-16 Verified
FEAT.ADDR64 Table 44, c_addr_width CO-1 a CO-CF-01 TC-CO-01, TC-CO-02, TC-CO-07, TC-CO-09 Verified
FEAT.WIDTH Table 44, memory and stream data widths CO-1 a CO-CF-01 TC-CO-01, TC-CO-02, TC-CO-07, TC-CO-09 Verified
FEAT.LENWIDTH Table 44, c_sg_length_width CO-1 a CO-CF-01 TC-CO-01, TC-CO-02, TC-CO-07, TC-CO-09 Verified
FEAT.CHANNEL Table 44, c_include_mm2s, c_include_s2mm CO-1 a CO-CF-03 TC-CO-08 Verified
FEAT.MICRO Table 44, c_micro_dma; section "Customizing and Generating the Core" CO-1 c - - Planned
FEAT.MULTICHANNEL Section "Multichannel DMA Support" Out of scope - - - Out of scope
SEQ.DR.MM2S Section "Programming Sequence", Direct Register Mode, MM2S CO-1 a CO-SQ-01, CO-SQ-03 TC-CO-01, TC-CO-02, TC-CO-03, TC-CO-04 Verified
SEQ.DR.S2MM Section "Programming Sequence", Direct Register Mode, S2MM CO-1 a CO-SQ-02, CO-SQ-03 TC-CO-01, TC-CO-02, TC-CO-03, TC-CO-04 Verified
SEQ.SG.MM2S Section "Programming Sequence", Scatter/Gather Mode, MM2S CO-1 b CO-SG-02, CO-SG-09, SG-IF-02, SG-TR-01 TC-CO-11, TC-CO-12, TC-CO-18, TC-SG-01, TC-SG-16 Verified
SEQ.SG.S2MM Section "Programming Sequence", Scatter/Gather Mode, S2MM CO-1 b CO-SG-03, CO-SG-10, SG-IF-02, SG-TR-02 TC-CO-11, TC-CO-12, TC-CO-18, TC-CO-20, TC-SG-01, TC-SG-16 Verified
SEQ.CYCLIC Section "Cyclic DMA Mode", Figure 48 CO-1 b CO-SG-05, SG-CY-01 TC-CO-13, TC-SG-07, TC-SG-13 Verified

Items: 121; out of scope: 3; planned: 9; verified: 109.

2. Requirements

Requirements of the module specifications and the test cases that verify them (requirements without an item of the published interface included).

Module Requirements Verified by a test case Without a test case Waiting for Open Logic
odma_core 27 27 - -
odma_mm2s 24 24 - -
odma_pkg 14 14 - -
odma_registers 53 53 - -
odma_s2mm 28 28 - -
odma_sg 28 28 - -

Requirements: 174; without a test case: 0; test cases of the plans not run by a testbench: 0.

3. Interpretations of the published interface

Where [PG021] is open or inconsistent, OpenDMA behaves as listed below. Each row names the PG021 section it interprets and the behaviour that software written for PG021 observes, and the documents that state it (the architecture, section 6, and the module specifications, section 4).

ID Item PG021 OpenDMA Documents
I1 MM2S_DMACR.Keyhole, S2MM_DMACR.Keyhole in DR mode Table 6 calls the MM2S bit non-functional in DR mode, Table 16 does not restrict the S2MM bit As published (P4): the MM2S bit is stored but has no function in DR mode; the S2MM bit works in both modes, the MM2S bit in SG mode (phase b) architecture
I2 MM2S_DMACR.IOC_IrqEn Table 6 lists bit 1, Figure 3 and Table 16 bit 12 Bit 12 in both channels architecture, odma_registers
I3 DMACR.RS after an error The error clears RS; restarting without a reset is not described RS = 1 has no effect while an error flag is set (D7) architecture, odma_registers
I4 S2MM packet longer than the buffer in DR mode Table 24 calls it undefined, Table 17 defines DMAIntErr D6 architecture
I5 Buffer beyond the top of the address space Not described Rejected with DMADecErr (invalid address), no access (D7) architecture, odma_mm2s, odma_s2mm
I6 MM2S_LENGTH or S2MM_LENGTH written while the channel is busy Not described (the software checks the idle state first) The write has no effect architecture, odma_registers
I7 MM2S_LENGTH or S2MM_LENGTH written while halted or stopping after a halt request No effect on the DMA operation (Tables 7 and 17) The value is stored and read back; no transfer starts, also not when RS is set later architecture, odma_registers
I8 DMACR.RS = 0 during a transfer Pending transfers flushed or completed MM2S completes the transfer in progress, including its TLast, then halts. S2MM writes the chunks that are complete in its buffer, discards the rest of the packet up to TLast and halts without IOC for that cut packet; a packet whose TLast was accepted and whose bytes fit into the buffer is written completely, with IOC; in SG mode a packet that needs a further buffer is cut (odma_s2mm S2-HA-01) architecture, odma_mm2s, odma_s2mm
I9 S2MM stream input before the channel runs Section "Typical System Interconnect" notes that a few beats are accepted before the core is programmed Beats are accepted into the data buffer only while the channel runs; while it is halted S_S2mm_Ready is low architecture, odma_s2mm
I10 TKeep of S2MM beats Not described TKeep of a beat without TLast is ignored (all bytes are stored); the last beat stores the bytes up to the first deasserted TKeep bit (P7) architecture, odma_s2mm
I11 MM2S transfer with a memory error Streams potentially terminated early The data of the transfer is sent completely with TLast, then the channel halts with the error flag; software discards the packet architecture, odma_mm2s
I12 Reset outputs Active-low *_reset_out_n (Table 3) High-active (Open Logic convention), with the same function architecture, odma_registers
I13 S2MM write error in DR mode Table 17 sets DMAIntErr for any error of the memory write in DR mode, next to the flags of the response Both are set: DMAIntErr and DMASlvErr or DMADecErr architecture, odma_registers
I14 EXOKAY response Tables 7 and 17 name SLVERR and DECERR; EXOKAY is not described OpenDMA never requests exclusive access, so EXOKAY is a protocol violation of the slave; it counts as SLVERR (DMASlvErr, SGSlvErr). Observable: an EXOKAY response sets the slave error flag of the access architecture, odma_mm2s, odma_s2mm, odma_sg
M1 - Reads at beat granularity are not described The other bytes of the first and the last memory word are read and discarded (MM-RD-01, architecture P6) odma_mm2s
M2 - A double error in the read data buffer is not part of PG021 The beat is sent as read from the buffer and counted (MM-FT-01, extension window); the transfer result is not changed, so the register interface keeps its PG021 behaviour odma_mm2s
M4 - RS = 0 in Scatter/Gather Mode: "AXI4-Stream outs are potentially terminated early" A packet of several descriptors ends with TLast on the last beat of the descriptor in progress (MM-SG-04) odma_mm2s
M3 - A buffer length of 0 is an internal error of a descriptor in Scatter/Gather Mode (Table 31, DMAIntErr) The channel ends a command of length 0 without a read and with the internal error code (MM-RD-06); the register interface of DR mode never issues one odma_mm2s
R1 - Coalescing fields "ignored" in DR mode (Tables 6 and 16); the status fields "applicable only" with Scatter/Gather Stored and read back without function (RG-CR-04); IRQThresholdSts reads the programmed threshold, IRQDelaySts 0 (RG-SR-07) odma_registers
R2 - Error flags: no clearing described other than the reset Read-only, cleared by a hard or soft reset (RG-SR-05, RG-SR-06) odma_registers
R3 - S2MM_LENGTH "updated at the completion" After an error or a halt during the transfer it keeps the programmed value (RG-AR-06) odma_registers
R4 - Registers of a channel that is not included Read 0, writes ignored (RG-MAP-03) odma_registers
R5 - Accesses during a soft reset Writes ignored, reads answered (RG-RS-04) odma_registers
R6 - Both DMACR.Reset bits during a soft reset Both read 1 (RG-CR-06) odma_registers
R7 - Writes not affected by the strobes (Register Space note) All 32 bits taken; also for partial strobes (RG-IF-03) odma_registers
R8 - RS = 1 written while the channel stops after a halt request No effect, the channel halts; software waits for Halted before a restart (RG-CR-01) odma_registers
R9 - Table 6: the delay timer starts once a packet has ended and starts over when the next packet arrives or when it expires; the threshold counter after a delay interrupt is not described The timer runs only after a packet that has not raised IOC_Irq, in steps of 125 clock cycles; a timeout sets Dly_Irq and reloads the threshold counter, so that the next threshold counts the packets after the delay interrupt (RG-SG-07) odma_registers
R10 - Table 6 (MM2S_DMACR.IRQDelay): the delay timer resets with the receipt of a new packet; when a packet starts relative to the completion of the one before is not described for MM2S The timer stops and clears at the first beat of a packet at the stream port of the channel (RG-SG-07). The MM2S engine fetches and issues the next descriptor before the transfer in progress ends (odma_sg SGI-08), so the next packet can start before the completion event of the one before; the timer then runs during that packet. Observable: an MM2S Dly_Irq can be set while the next packet is being sent; the completed packets are in memory as described by their status odma_registers
S1 - Table 24: a buffer shorter than the packet gives undefined results; Table 17: DMAIntErr No byte beyond the buffer, the rest discarded, internal error (S2-RS-02) odma_s2mm
S2 - Write errors in the middle of a packet are not described No further write, rest discarded, result once the outstanding writes have answered (S2-RS-03, S2-RS-04) odma_s2mm
S3 - A double error in a buffer is not part of PG021 The data is written as read from the buffer and counted (S2-FT-01, extension window); the result is not changed odma_s2mm
S4 - A buffer length of 0 is an internal error of a descriptor in Scatter/Gather Mode (Table 38, DMAIntErr) The channel ends a command of length 0 without a write and with the internal error code (S2-WR-06); the register interface of DR mode never issues one odma_s2mm
SGI-13 - Table 38 (S2MM_STATUS.RXSOF, RXEOF): RXSOF marks the buffer that holds the start of a packet; a packet without bytes is not described A packet without bytes (only a last beat without valid bytes) starts and ends in one buffer: its result carries 0 bytes, the start and the end of packet (S2-SG-02). Observable: a status word with 0 transferred bytes and RXSOF and RXEOF set odma_s2mm, odma_sg
SGI-14 - Table 38 (S2MM_STATUS.RXSOF): the start of packet of a descriptor that receives no byte and no end of packet is not described A transfer that ends without data and without the end of a packet (a buffer length of 0, a buffer beyond the top of the address space, a transfer that has not started) belongs to no packet: its result carries neither the start nor the end of packet (S2-SG-02). Observable: the status of an S2MM descriptor with a buffer length of 0 or beyond the top of the address space has RXSOF = 0 odma_s2mm, odma_sg
SGI-15 - Tables 16 and 17 (S2MM_DMACR.RS, S2MM_DMASR.Halted, the error flags), Table 38 (S2MM_STATUS): which buffers the channel has written when a write error halts it is not described The channel accepts the next command while the write responses of the transfer before it are outstanding (S2-RS-06). When such a response reports an error, the next transfer issues no further write and ends with the halt that follows the error, without the end of packet, also when its packet has ended in it (S2-RS-03, S2-RS-04, S2-HA-01). When the packet of the failed buffer continues in the next buffer, that buffer can already hold bytes of the packet, its result has no start of packet, and the rest of the packet is discarded; when the failed buffer ended its packet, the next buffer can already hold the start of the next packet, and its result has the start of packet. Observable: after an S2MM write error, memory beyond the failing buffer can hold bytes of the same or of the next packet in the buffer of the next command, whose result has the bytes written, the start of packet as received, no end of packet and no error odma_s2mm, odma_sg
SGI-01 - Table 10 states that a write of TAILDESC starts the engine, Table 11 the same for TAILDESC_MSB; the order of the two writes of a 64-bit pointer is not described With AddrWidth_g = 32 the write of TAILDESC starts it. Above 32 address bits the write of TAILDESC_MSB starts it, so that the engine starts with the complete pointer (SG-FE-02). The public drivers write the low word first: the Linux driver (drivers/dma/xilinx/xilinx_dma.c, state of commit 7ed1e3070c9b) writes the pointer registers with xilinx_write, which uses lo_hi_writeq for addresses above 32 bits; the bare-metal driver (XilinxProcessorIPLib/drivers/axidma/src/xaxidma_bdring.c of the embeddedsw repository, state of commit a4dab0553492) writes TDESC and then TDESC_MSB in XAxiDma_StartBdRingHw and XAxiDma_BdRingToHw, and CDESC before CDESC_MSB in XAxiDma_UpdateBdRingCDesc odma_sg
SGI-02 - The status of a descriptor whose transfer failed is not described beyond the error flags The status gets the error flags, the bytes transferred until the error and Cmplt = 0: the transfer described by the descriptor was not completed (SG-UP-01, SG-ER-01). A stale descriptor (SG-FE-05) is not written odma_sg
SGI-03 - A packet needs a descriptor with TXSOF and one with TXEOF ("for proper operation") The data stream ends a packet after each descriptor with TXEOF; the next descriptor starts a new packet whether TXSOF is set or not. TXSOF selects the descriptor whose user application fields go to the control stream (phase c) odma_sg
SGI-04 - A packet larger than the buffer space of the chain gives undefined results The rest of the packet waits at the stream input until descriptors are added (SG-TR-04); nothing is discarded and no error is set odma_sg
SGI-05 - IOC_Irq "for descriptors with the IOC bit set" (Table 6); the descriptor of version 7.1 has no IOC bit, IOC_Irq is set at the end of a packet (Table 7) Every completed packet is an interrupt event; the threshold counter of odma_registers decides when IOC_Irq is set (SG-UP-05) odma_sg
SGI-06 - CURDESC written while the channel runs Ignored (read-only while running, Table 8) odma_sg
SGI-07 - Keyhole without data realignment needs aligned buffer addresses The address bits below the memory data width are ignored for keyhole transfers (gap G1, requirement G1-05) odma_sg
SGI-08 - Tables 6 and 16 (DMACR.RS): on a halt the pending commands are completed or flushed; Tables 7 and 17 (DMASR.Halted); how many descriptors the engine fetches and issues ahead is not described The engine fetches one descriptor ahead and issues its command before the transfer in progress has ended: MM2S at once, S2MM once the transfer in progress waits only for its write responses (odma_s2mm S2-RS-06). On a halt or an error, both commands that the channel has accepted are completed and get their status. A descriptor that was fetched but not issued keeps its status. Observable: after an error, the descriptor that follows the one in CURDESC can have Cmplt = 1, because CURDESC names the descriptor of the first error (SG-FE-07, SG-HA-01, SG-ER-03, SGI-15) odma_sg
SGI-09 - Tables 7 and 17 (DMASR.SGIntErr): a fetched descriptor with Cmplt = 1; when the flag is set relative to the descriptors before it is not described SGIntErr is set when the stale descriptor is the next one to be issued, while the descriptor before it may still be in progress. That descriptor completes, gets its status and can raise IOC_Irq after Err_Irq. Observable: Err_Irq can come before the IOC_Irq of the last good packet (SG-FE-05) odma_sg
SGI-10 - Tables 16 and 17 (S2MM_DMACR.RS, S2MM_DMASR.Halted), Table 38 (S2MM_STATUS): the status of a descriptor whose buffer received no byte before a halt is not described The descriptor counts as not started: it gets no status write (Cmplt stays 0), and after the halt S2MM_CURDESC points to it, as for the descriptors that were fetched but not issued (SG-HA-01) odma_sg
SGI-11 - Table 38 (S2MM_STATUS.Cmplt, S2MM_STATUS.RXEOF), Tables 16 and 17 (halt): the status of a buffer whose packet a halt cut off is not described The status gets the bytes written, RXSOF as received, RXEOF = 0 and Cmplt = 1: the buffer was processed, and the missing RXEOF shows that the packet is incomplete. Cmplt = 0 is reserved for failed transfers (SGI-02). Observable: after a halt, the last completed S2MM descriptor can have Cmplt = 1 without RXEOF, and no later descriptor holds the rest of that packet (SG-HA-01, SG-UP-03) odma_sg
SGI-12 - Tables 7 and 17 (IOC_Irq, Err_Irq, the error flags), Tables 31 and 38 (the status words): the order of the status write and the interrupt and error flags is not described IOC_Irq (through the threshold counter) and the error flags of a transfer are set only after the memory has answered the status write of the descriptor, so the status words are in memory when software sees a flag or the interrupt. A failed status write sets SGSlvErr or SGDecErr instead and raises no IOC_Irq for that packet (SG-UP-04, SG-UP-05, SG-ER-01, SG-ER-02) odma_sg

Interpretations: 47.