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

Error building top.svf #2

Open
ghent360 opened this issue Jul 20, 2020 · 3 comments
Open

Error building top.svf #2

ghent360 opened this issue Jul 20, 2020 · 3 comments

Comments

@ghent360
Copy link

7.39. Executing DFFLEGALIZE pass (convert FFs to types supported by the target).
ERROR: Conflicting init values for signal 1'0 (\eternit.ip_tx_liteethipv4checksum_r_next0 [1] = 1'0 != 1'x).
make: *** [Makefile:19: top.json] Error 1

this is running make top.svf in the fpga/syn folder.

@ghent360
Copy link
Author

this is probably an issue with liteeth itself. I re-generated the file and it still fails to compile with yosys.

@rednaz1337
Copy link

rednaz1337 commented Nov 1, 2020

Yeah I have the same problem.

Edit: Just tried it on another machine, also running Arch Linux, now it works fine. Weird.

Edit 2: now I'm getting


7.37. Executing DFFLEGALIZE pass (convert FFs to types supported by the target).
ERROR: Conflicting init values for signal 1'1 (\eternit.ip_tx_liteethipv4checksum_r_next0 [2] = 1'x != 1'0).
make: *** [Makefile:19: top.json] Fehler 1

@rednaz1337
Copy link

Ok, I think this is actually a bug in yosys. When I change

read_verilog ../liteeth_core.v
read_verilog ../udp_panel_writer.v
read_verilog ../ledpanel.v
read_verilog ../pll.v
read_verilog ../phy_io.v
read_verilog ../top.v
synth_ecp5 -retime

to

read_verilog ../liteeth_core.v
read_verilog ../udp_panel_writer.v
read_verilog ../ledpanel.v
read_verilog ../pll.v
read_verilog ../phy_io.v
read_verilog ../top.v

synth_ecp5
synth_ecp5 -retime

it builds this just fine. This also happens when I try to only build LiteEth without this project.

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

No branches or pull requests

2 participants