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

Improve nested list assignments #4555

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

Conversation

leviathanch
Copy link

I've encountered some issues when trying to synthesize the most recent Rocket Core with Yosys,
those changes fix those issues and now all that's left is to solve the issues with automatic logic
inside an always block

@whitequark
Copy link
Member

It looks like there are multiple unrelated changes in the same PR, can you separate them into one change per commit?

@zachjs
Copy link
Collaborator

zachjs commented Aug 20, 2024

Also, can you please look into adding some test cases for these features? Without them, we might accidentally break them in the future.

@@ -6,7 +6,7 @@ GENFILES += frontends/verilog/verilog_lexer.cc

frontends/verilog/verilog_parser.tab.cc: frontends/verilog/verilog_parser.y
$(Q) mkdir -p $(dir $@)
$(P) $(BISON) -Wall -Werror -o $@ -d -r all -b frontends/verilog/verilog_parser $<
$(P) $(BISON) --debug -Wall -Werror -o $@ -d -r all -b frontends/verilog/verilog_parser $<
Copy link
Collaborator

Choose a reason for hiding this comment

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

Was this left in by accident?

Copy link
Author

Choose a reason for hiding this comment

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

Yeah, oops, I'll fix that, one moment

Copy link
Author

Choose a reason for hiding this comment

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

Fixed, rebased and push -f

Please review again

A list can either start with '{ or {, this commit fixes this
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.

4 participants