-
Notifications
You must be signed in to change notification settings - Fork 782
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
[hw,lc_ctrl,rtl] Make number of RMA ack signals available at top #25383
base: master
Are you sure you want to change the base?
Conversation
124e4a6
to
de90423
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM other than a small typo. Thx @Razer6
0689ea3
to
037cad8
Compare
bind lc_ctrl lc_tx_cov_array_if #( | ||
.Count(lc_ctrl_dv_utils_pkg::NUM_RMA_ACK_SIGS) | ||
) u_lc_flash_rma_ack_i_if ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit surprised about this: aren't the two values equal? (The parameter in the design feels less like things are going to change with future modifications)
lc_tx_t [NumRmaAckSigs-1:0] flash_rma_ack_i; | ||
lc_tx_t [lc_ctrl_dv_utils_pkg::NUM_RMA_ACK_SIGS-1:0] flash_rma_ack_i; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this the value we're giving the parameter anyway? (and the same question for later hunks)
int delay_lens[NumRmaAckSigs] = '{default: 0}; | ||
if (cfg.lc_ctrl_vif.flash_rma_ack_i != {NumRmaAckSigs{val}}) begin | ||
for (int i = 0; i < NumRmaAckSigs; i++) begin | ||
int delay_lens[NUM_RMA_ACK_SIGS] = '{default: 0}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Genuine question:) Can this value be grabbed from the interface with something like cfg.lc_ctrl_vif.NumRmaAckSigs
? That way, we know the choice will match.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't manage to get the right :/
037cad8
to
3e4831e
Compare
Signed-off-by: Robert Schilling <[email protected]>
3e4831e
to
46c01af
Compare
No description provided.