Skip to content

Conversation

@xiota
Copy link

@xiota xiota commented Nov 10, 2025

No "larger effort". Basically rebased from #3339.

Motivation: @thotypous told me, "that patch is quite important. Without it, yosys cannot synthesize output from the bluespec compiler."

@jix said of the earlier PR, "The overall approach looks good." But apparently didn't merge because:

  • Terminology – Addressed by changing 'alias' to 'rename'.
  • Missing test cases – Added.
  • Checking for edge cases to improve error messages – Not done.

I tried to add detection for edge cases, but was unable to without breaking intended behavior. If important, someone else would need to do it later.

Fixes #2613
Fixes #3334

@xiota xiota requested a review from widlarizer as a code owner November 10, 2025 17:28
@xiota xiota changed the title Pr port renaming Add parsing of verilog module port aliases / renaming Nov 10, 2025
@xiota xiota changed the title Add parsing of verilog module port aliases / renaming Add parsing of verilog module port renaming (aliases) Nov 10, 2025
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.

Yosys can't parse port renames in module declaration No support for Verilog-2001 non-ANSI port aliases

2 participants