Skip to content

Commit 86231fd

Browse files
authored
fix: Drive usage_o low if not supported (#357)
**Problem** This PR includes a solution for issue #356. The `cc_stream_fifo_optimal_wrap` originally assigned an unknown state to `usage_o` when `Depth == 32'd2`. This issue was first found when running Spyglass checks into the `snitch_cluster` ([PR #330](pulp-platform/snitch_cluster#330)). **Solution** This fix simply defines the signal state and drives it low if not supported. The specific value of `usage_o` should not be problematic in this case since the port is generally not connected when instantiated at a higher hierachy.
1 parent 63b7c50 commit 86231fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cc_stream_fifo_optimal_wrap.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ module cc_stream_fifo_optimal_wrap #(
7979
);
8080

8181
// usage is not supported
82-
assign usage_o = 'x;
82+
assign usage_o = '0;
8383
end
8484

8585

0 commit comments

Comments
 (0)