alexforencich/cocotbext-axi

Using custom signal names

kschoos opened this issue · 2 comments

Hi,
is there a way I'm overlooking to use custom signal names during bus creation (for StreamBus for example)?

Currently all of the *Bus objects extend from cocotb_bus.bus.Bus. I think that object supports some method for passing a dict or something for non-standard names. However, at some point I am going to implement a new base bus object to use instead of the one in cocotb-bus that should be significantly more flexible. So you can use the cocotb-bus dict for now, but eventually that's going to be replaced by some other method. And right now that's a bit cumbersome, as I think you would need to create all of the AXI channels separately and then stick them together into the AxiBus object.