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

[dd, prim] Simplyfing condition to ease coverage closure #25814

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

Conversation

antmarzam
Copy link
Contributor

The acknoledgement can't be set unless the request is set. The condition has been simplified to only check for the acknoledgment.

In addition, the new assertion checks if the ack is set, the request must be set

The acknoledgement can't be set unless the request is set. The
condition has been simplified to only check for the acknoledgment.

In addition, the new assertion checks if the ack is set, the request
must be set

Signed-off-by: Antonio Martinez Zambrana <[email protected]>
Comment on lines +158 to +161
// The condition above was originally `dst_update_req && dst_update_ack`.
// However, since there can't be an ACK without a REQ that means the condition
// can be simplified to `dst_update_ack` only.
// Assertion `DstAckReqChk_A` checks the above always happens
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need this comment in the code?

Comment on lines +172 to +173
// dst_update_ack should only be sent if there was a dst_update_req.
// By association, whenever src_ack is seen, then src_busy must be high.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you wanted to copy this comment as well :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants