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

Sampling on positive edge of clock of slave in AXI3

How do you confirm if a slave is sampling on positive edge of clock only ? How can we prove this in simulation

Parents
  • If you have full access to the AXI3 slave RTL code in your simulation either look at when registers update, or simply manually review the RTL code looking for falling edge triggered code structures.

    If you don't have full access, perhaps just a simulation model only, you would need to hopefully see external events occurring soon after falling edges, so not a guaranteed approach.

    But why is this a concern for you ?

    If the AXI3 slave is 3rd party IP, they wouldn't be AXI3 compliant if they sampled any input on the falling edge of the clock, so would have to make this clear in their documentation, requiring that the AXI3 master and interconnect logic then meets much tighter timing constraints to meet half clock cycle timing paths. That alone should be enough to persuade any slave designer to not do exactly this !

Reply
  • If you have full access to the AXI3 slave RTL code in your simulation either look at when registers update, or simply manually review the RTL code looking for falling edge triggered code structures.

    If you don't have full access, perhaps just a simulation model only, you would need to hopefully see external events occurring soon after falling edges, so not a guaranteed approach.

    But why is this a concern for you ?

    If the AXI3 slave is 3rd party IP, they wouldn't be AXI3 compliant if they sampled any input on the falling edge of the clock, so would have to make this clear in their documentation, requiring that the AXI3 master and interconnect logic then meets much tighter timing constraints to meet half clock cycle timing paths. That alone should be enough to persuade any slave designer to not do exactly this !

Children
No data