This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM AXI4 protocol assertions trigger errm_wdata_num_prop5 and errm_wlast_stable quesitons

Hi,

I'm getting two AXI4 protocol assertion errors.

For axi4_errm_wlast_stable, I can see why it's flagging an error but functionally it shouldn't be a problem.

The WREADY =1 for one more cycle when though WVALID=0 and WLAST=0. 

Is this a real error in the axi4 protocol and why ?

But for wdata_num_prop5, I don't understand the problem.

The AWLEN[7:0] = 00 (which means burst = 1)

The AWSIZE[2:0] = 4 (which means 16 bytes or 128 bits)

The WDATA[127:0] is 128 bits.

Need someone to explain why the assertion triggered.

The documentation is not clear.

Thanks,

David

Parents
  • Hi David,

    WLAST being low when WVALID is asserted is NOT a problem if this is NOT the final transfer in a write data burst, but in your example AWLEN was signalling a single data transfer, so WLAST absolutely MUST be high when WVALID is asserted for this transfer, because this IS the final data transfer.

    Referring to the version of the AXI protocol that you are using, section 2.3 describing the "Write data channel signals" states for WVALID that "This signal indicates that valid write data and strobes are available", but your waveform shows that WLAST is not yet valid for this WVALID assertion.

    Then section 3.1 describing the basic handshake process states the following...

    "In Figure 3-1, the source presents the data or control information and drives the VALID
    signal HIGH. The data or control information from the source remains stable until the
    destination drives the READY signal HIGH, indicating that it accepts the data or
    control information."

    So once the VALID signal is asserted, all information on that channel from the source remains constant until the channel handshake is completed. Again WLAST is information on the W data channel, so must remain constant once WVALID is asserted.

    Figure 3-1 then demonstrates this, with WLAST being one of the signals in the "INFORMATION" grouping. This matches the VALID/READY timings you have in your waveform too.

    So only drive WVALID high from your master when it can correctly drive all the W channel master outputs for this transfer; WDATA, WSTRB and WLAST. The protocol checkers will also working to those expectations.

    Colin

Reply
  • Hi David,

    WLAST being low when WVALID is asserted is NOT a problem if this is NOT the final transfer in a write data burst, but in your example AWLEN was signalling a single data transfer, so WLAST absolutely MUST be high when WVALID is asserted for this transfer, because this IS the final data transfer.

    Referring to the version of the AXI protocol that you are using, section 2.3 describing the "Write data channel signals" states for WVALID that "This signal indicates that valid write data and strobes are available", but your waveform shows that WLAST is not yet valid for this WVALID assertion.

    Then section 3.1 describing the basic handshake process states the following...

    "In Figure 3-1, the source presents the data or control information and drives the VALID
    signal HIGH. The data or control information from the source remains stable until the
    destination drives the READY signal HIGH, indicating that it accepts the data or
    control information."

    So once the VALID signal is asserted, all information on that channel from the source remains constant until the channel handshake is completed. Again WLAST is information on the W data channel, so must remain constant once WVALID is asserted.

    Figure 3-1 then demonstrates this, with WLAST being one of the signals in the "INFORMATION" grouping. This matches the VALID/READY timings you have in your waveform too.

    So only drive WVALID high from your master when it can correctly drive all the W channel master outputs for this transfer; WDATA, WSTRB and WLAST. The protocol checkers will also working to those expectations.

    Colin

Children