Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tlul,rtl] Explicitly zero some integrity bits from tlul_adapter_reg #26390

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rswarbrick
Copy link
Contributor

The existing behaviour of the tlul_rsp_intg_gen was to add rsp/data integrity bits if their generation was enabled and pass through the input integrity bits if not.

In some instantiations (in tlul_adapter_reg and tlul_adapter_dmi), these bits are actually always zero. One consequence is missing coverage in DV simulations. The problem is that e.g. the rsp_intg signal is driven with a continuous assignment:

assign rsp_intg = tl_i.d_user.rsp_intg;

But the right hand side is zero, so constant and the assignment is not marked as covered.

This commit adds a UserInIsZero parameter. If this is true then we know the input d_user signal is zero and thus can wire the variable directly to zero.

This removes the cover point but will not change RTL behaviour at all.

The existing behaviour of the tlul_rsp_intg_gen was to add rsp/data
integrity bits if their generation was enabled and pass through the
input integrity bits if not.

In some instantiations (in tlul_adapter_reg and tlul_adapter_dmi),
these bits are actually always zero. One consequence is missing
coverage in DV simulations. The problem is that e.g. the rsp_intg
signal is driven with a continuous assignment:

    assign rsp_intg = tl_i.d_user.rsp_intg;

But the right hand side is zero, so constant and the assignment is not
marked as covered.

This commit adds a UserInIsZero parameter. If this is true then we
know the input d_user signal is zero and thus can wire the variable
directly to zero.

This removes the cover point but will not change RTL behaviour at all.

Signed-off-by: Rupert Swarbrick <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant