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

Yosys crash: Signal `\A' with invalid width range -1 in cells_map.v" #4687

Open
1353369570 opened this issue Oct 28, 2024 · 1 comment
Open
Labels
pending-verification This issue is pending verification and/or reproduction

Comments

@1353369570
Copy link

Version

Yosys 0.46+124 (git sha1 d1695ad, g++ 9.4.0-1ubuntu1~20.04.3 -fPIC -O3)

On which OS did this happen?

Linux

Reproduction Steps

read_verilog rtl.v ; synth_xilinx -arch xc7 -top modinst71 -widemux 5

Expected Behavior

The synthesis should complete without errors, generating the expected netlist for the specified Xilinx architecture

Actual Behavior

Yosys has the error"/usr/local/bin/../share/yosys/xilinx/cells_map.v:151: ERROR: Signal `\A' with invalid width range -1!"
image
rtl.txt

@1353369570 1353369570 added the pending-verification This issue is pending verification and/or reproduction label Oct 28, 2024
@1353369570 1353369570 changed the title Yosys synthesize command fails with "Signal `\A' with invalid width range -1" error in cells_map.v. Yosys crash: Signal `\A' with invalid width range -1 in cells_map.v" Oct 28, 2024
@georgerennie
Copy link
Collaborator

I believe this is the same as #4590, but I don't know enough about the xilinx cells to fix it myself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending-verification This issue is pending verification and/or reproduction
Projects
None yet
Development

No branches or pull requests

2 participants