Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion flow/rtl/br_flow_demux_select.sv
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ module br_flow_demux_select #(
parameter bit EnableAssertPushDataStability = EnableAssertPushValidStability,
// If 1, assert that select is stable when backpressured.
// If 0, cover that select can be unstable.
parameter bit EnableAssertSelectStability = 0,
parameter bit EnableAssertSelectStability = 1,
// If 1, assert that push_data is always known (not X) when push_valid is asserted.
parameter bit EnableAssertPushDataKnown = 1,
// If 1, then assert there are no valid bits asserted at the end of the test.
Expand Down
4 changes: 2 additions & 2 deletions flow/rtl/br_flow_demux_select_unstable.sv
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module br_flow_demux_select_unstable #(
parameter bit EnableAssertPushDataStability = EnableAssertPushValidStability,
// If 1, assert that select is stable when push is backpressured.
// If 0, cover that select can be unstable.
parameter bit EnableAssertSelectStability = 0,
parameter bit EnableAssertSelectStability = EnableAssertPushValidStability,
// If 1, assert that push_data is always known (not X) when push_valid is asserted.
parameter bit EnableAssertPushDataKnown = 1,
// If 1, then assert there are no valid bits asserted at the end of the test.
Expand Down Expand Up @@ -105,7 +105,7 @@ module br_flow_demux_select_unstable #(
.data (push_data)
);

if (EnableCoverPushBackpressure) begin : gen_push_backpressure_intg_checks
if (EnableCoverPushBackpressure && EnableAssertValidStability) begin : gen_select_checks
if (EnableAssertSelectStability) begin : gen_select_stability_check
`BR_ASSERT_INTG(select_stable_a,
(!push_ready && push_valid) |=> push_valid && $stable(select))
Expand Down
2 changes: 1 addition & 1 deletion flow/rtl/br_flow_mux_select.sv
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ module br_flow_mux_select #(
parameter bit EnableAssertPushDataStability = EnableAssertPushValidStability,
// If 1, assert that select will not change when the selected push flow is backpressured.
// Otherwise, cover that select can be unstable.
parameter bit EnableAssertSelectStability = 0,
parameter bit EnableAssertSelectStability = EnableAssertPushValidStability,
// If 1, assert that push_data is always known (not X) when push_valid is asserted.
parameter bit EnableAssertPushDataKnown = 1,
// If 1, then assert there are no valid bits asserted at the end of the test.
Expand Down
4 changes: 2 additions & 2 deletions flow/rtl/br_flow_mux_select_unstable.sv
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ module br_flow_mux_select_unstable #(
parameter bit EnableAssertPushDataStability = EnableAssertPushValidStability,
// If 1, assert that select will not change when the selected push flow is backpressured.
// Otherwise, cover that select can be unstable.
parameter bit EnableAssertSelectStability = 0,
parameter bit EnableAssertSelectStability = EnableAssertPushValidStability,
// If 1, assert that push_data is always known (not X) when push_valid is asserted.
parameter bit EnableAssertPushDataKnown = 1,
// If 1, then assert there are no valid bits asserted at the end of the test.
Expand Down Expand Up @@ -104,7 +104,7 @@ module br_flow_mux_select_unstable #(
.data (push_data)
);

if (EnableCoverPushBackpressure) begin : gen_backpressure_select_checks
if (EnableCoverPushBackpressure && EnableAssertValidStability) begin : gen_select_checks
if (EnableAssertSelectStability) begin : gen_stable_select
`BR_ASSERT_INTG(select_stable_a,
push_valid[select] && !push_ready[select] |=> $stable(select))
Expand Down
Loading