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

Issue 445 LINT fixes #461

Closed
wants to merge 1 commit into from
Closed

Conversation

mborder-amd
Copy link

Various LINT issues addressed. All changes are passing RTL->RTL formal equivalence.

@@ -116,7 +116,7 @@ import el2_pkg::*;
);

assign start_addr_dccm_or_pic = start_addr_in_dccm_region_d | start_addr_in_pic_region_d;
assign base_reg_dccm_or_pic = ((rs1_region_d[3:0] == pt.DCCM_REGION) & pt.DCCM_ENABLE) | (rs1_region_d[3:0] == pt.PIC_REGION);
assign base_reg_dccm_or_pic = (|((rs1_region_d[3:0] == pt.DCCM_REGION) & pt.DCCM_ENABLE)) | (rs1_region_d[3:0] == pt.PIC_REGION);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Since we're changing this line anyway, wouldn't it be more conceptually accurate/stylistically preferred to use logical boolean operators instead of bitwise:

assign base_reg_dccm_or_pic = ((rs1_region_d[3:0] == pt.DCCM_REGION) && pt.DCCM_ENABLE) || (rs1_region_d[3:0] == pt.PIC_REGION);

@calebofearth calebofearth mentioned this pull request Mar 14, 2024
@calebofearth calebofearth added the enhancement New feature or request label Mar 27, 2024
@calebofearth
Copy link
Collaborator

Let's abandon this PR, as the changes have been pulled into #483

@calebofearth calebofearth mentioned this pull request Apr 26, 2024
39 tasks
@calebofearth
Copy link
Collaborator

#483 is completed, including the changes from this PR. Closing.

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

Successfully merging this pull request may close these issues.

3 participants