You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there is no nice way to actually test Wishbone circuits because their bidirectional nature does not work well with the current Drivable typeclass. We should investigate if there is a nice way to specify requests and response that matches the current Drivable typeclass.
That allows you to provide a master and slave to create a circuit that produces the transactions.
Instead of the custom Transaction it could also be simply ((WishboneM2S addrW selWidth a), (WishboneS2M a)) accompanied by utility functions.
It is very much still unclear what the best way to approach this is so feel free to discuss / experiment.
Ideally the solution would be accompanied by a way to imperatively construct "programs" consisting of sequences of requests.
The text was updated successfully, but these errors were encountered:
Currently there is no nice way to actually test Wishbone circuits because their bidirectional nature does not work well with the current
Drivable
typeclass. We should investigate if there is a nice way to specify requests and response that matches the currentDrivable
typeclass.A crude example of this could be implementing a data type similar to https://github.com/bittide/bittide-hardware/blob/staging/bittide/tests/Tests/Shared.hs#L57-L66 :
And a function:
That allows you to provide a master and slave to create a circuit that produces the transactions.
Instead of the custom
Transaction
it could also be simply((WishboneM2S addrW selWidth a), (WishboneS2M a))
accompanied by utility functions.It is very much still unclear what the best way to approach this is so feel free to discuss / experiment.
Ideally the solution would be accompanied by a way to imperatively construct "programs" consisting of sequences of requests.
The text was updated successfully, but these errors were encountered: