OSVVM / AXI4

AXI4 Full, Lite, and AxiStream verification components. AXI4 Interface Master, Responder, and Memory verification components. AxiStream transmitter and receiver verification components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

First and Last Values when TKeep = 0

JimLewis opened this issue · comments

AxiStream Receiver currently provides '-' on last word if the Last bytes have TKeep = 0. Likewise for the first word if the first bytes have TKeep = 0. For all other bytes in a transfer if TKeep = 0, the byte is U or if TKeep = 1 and TStrb=0, the byte is W.

With '-' if TKeep is incorrect on the first/last word, then the test will pass anyway. This is bad, so '-' needs to be replaced.

Is U ok? I like U better than X as X can occur with multiple drivers (even though that should never happen).
Or is 0 better? This would mean as long as the first and last bytes had non zero data it would be detected.

@Paebbels

Logging a Gitter conversation: RH thinks U would be better.

Updated to if TKeep = 0, the byte is U or if TKeep = 1 and TStrb=0, the byte is W.
Also added MetaMatch to allow for matching U and W in a string.