KULeuven-MICAS / snax_cluster

A heterogeneous accelerator-centric compute cluster
Apache License 2.0
10 stars 9 forks source link

Add function switch to turn on / off Byte Mask and Spatial Bound #245

Closed IveanEx closed 2 months ago

IveanEx commented 2 months ago

This PR is a stacked PR that relies on PR #244 .

This PR adds the ability to turn off Byte Enable and Spatial Bound by setting configurableSpatialBound and configurableByteMask to false in ReaderWriterParam Class.

Be cautious that setting these value does not mean the corresponding IOs in Chisel view disappear (although it will not show up in the final SystemVerilog RTL). To suppress errors in Chisel, strobe and bounds(0) should be connected to any value or DontCare.