how to calculate the value of strobe signal in axi?
Hi,
Is it possible to re-calculate the WSTRB at the slave end for comparing against the WSTRB received from master. What are the parameters needed? Also what could be an algorithm (suitable for hardware implementation, i.e. one using muxes, shifters and not going for floor/ceil functions)? Note: Our slave calculates each of the beat addresses as a part of the application. Not sure whether the algorithm in A 3.4.1 of spec is suitable for hardware realization . Also any example illustration available to understand the equations in algorithm?
The slave could theoretically check whether the WSTRBs send are legal (i.e. whether they're consistent with AxSIZE, AxADDR), but it couldn't always rely on recalculating it's own WSTRBs for legal combinations. If a master sends a sparse write (e.g. WSTRBs = 0b0101), then there's no way for the slave to reconstruct this using other attributes.
I don't think you would implement these functions exactly as they are described in the Specification, but you would implement equivalent functionality in hardware.
I'm not sure if there are any diagrams of this, but there's someone online AXI training material that is available at https://developer.arm.com/support/training