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
Using structs/records for buses is the mainstream way in the industry, at least in my experience. How is it expected to use a Bus class like the AvalonMaster for records/structs?
Typically we would have a split record/struct of req and resp as shown:
To my understanding currently this is not supported and instead convert the bus into a single inout record and instantiate the object as follows: avmm_csr0 = AvalonMaster(dut.csr0_slave_bus_io, "", dut.pcie0_clk)
Is there another way I am missing? Thanks for the support.
The text was updated successfully, but these errors were encountered:
Using structs/records for buses is the mainstream way in the industry, at least in my experience. How is it expected to use a Bus class like the AvalonMaster for records/structs?
Typically we would have a split record/struct of
req
andresp
as shown:To my understanding currently this is not supported and instead convert the bus into a single
inout
record and instantiate the object as follows:avmm_csr0 = AvalonMaster(dut.csr0_slave_bus_io, "", dut.pcie0_clk)
Is there another way I am missing? Thanks for the support.
The text was updated successfully, but these errors were encountered: