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

[entropy_src, dv] Replace the "+" operator incorrectly used to concatenate string literals in SystemVerilog code #25497

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dariuszst
Copy link

The SystemBerilog LRM doesn't allow to use a "+" operator for string literals concatenation. It should be replaced with correct form of concatenation expression (using {} brackets).

@dariuszst dariuszst requested a review from a team as a code owner December 3, 2024 13:37
@dariuszst dariuszst requested review from matutem and removed request for a team December 3, 2024 13:37
@dariuszst dariuszst force-pushed the entropy_src_concat_strings branch from cd74866 to ee2ec40 Compare December 9, 2024 12:29
@rswarbrick
Copy link
Contributor

Annoyingly, it looks like lint has failed because of the commit message. I think there's a missing newline, and the commit message would be nice if it had the [square brackets] stuff at the front like the message on the PR. Could you do that?

…enate string literals in SystemVerilog code

The "+" operator used on string literals is replaced with correct concatenation expression.
The indents and misspelling in a message string have been corrected.
Signed-off-by: Dariusz Stachanczyk <[email protected]>
@dariuszst dariuszst force-pushed the entropy_src_concat_strings branch from ee2ec40 to 483fce6 Compare December 10, 2024 08:38
Copy link
Contributor

@matutem matutem left a comment

Choose a reason for hiding this comment

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

Could you also make the commit message more succinct to help the folks reading this in the future? Something like "Fix incorrect string concatenation" seems adequate to describe the change.

I also made a change suggestion.

Co-authored-by: Matute <[email protected]>
Signed-off-by: Dariusz Stachańczyk <[email protected]>
@dariuszst
Copy link
Author

@rswarbrick, @matutem - are there any additional actions required from my side to have this PR merged?

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.

3 participants