zeroasiccorp / switchboard

Communication framework for RTL simulation and emulation.
https://zeroasiccorp.github.io/switchboard/
Apache License 2.0
255 stars 20 forks source link

Small fixes #213

Closed sgherbst closed 5 months ago

sgherbst commented 5 months ago

Fixes several open issues: #150, #151, #131, #129.

For #131 (tool for inspecting queue files), you can now run switchboard -i path/to/queue to print the contents of the queue. switchboard -i path/to/queue -f umi will interpret the contents of the queue as UMI packets.

For #129, you can now pass a range object to many of the inputs of random_umi_packet. A list of ranges will also work, as will a nested list structure with a mix of range objects, arrays, and values. This will hopefully make it easier to efficiently represent the constraints for random packet generation.