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

IceStudio projects fails an 'apio verify' test #770

Open
zapta opened this issue Sep 23, 2024 · 0 comments
Open

IceStudio projects fails an 'apio verify' test #770

zapta opened this issue Sep 23, 2024 · 0 comments

Comments

@zapta
Copy link

zapta commented Sep 23, 2024

This problem was observed in the apio repository but since these looks like IceStudio projects, filing it here.

This directory https://github.com/FPGAwars/apio/tree/develop/test-examples/Alhambra-II contains three IceStudio projects. The project 01-LEDs-buttons does pass apio verify but the other two 02-jumping-LED and 03-riscv-stop-watch fail.

Here is an example:

/Users/user/projects/apio_dev/repo/test-examples/Alhambra-II/02-jumping-LED $ apio verify
iverilog -B "/Users/user/.apio/packages/tools-oss-cad-suite/lib/ivl" -o hardware.out -D VCD_OUTPUT=dummy_vcd_output -D NO_ICE40_DEFAULT_ASSIGNMENTS "/Users/user/.apio/packages/tools-oss-cad-suite/share/yosys/ice40/cells_sim.v" main.v 02-jumping-LED_tb.v
main.v:383: error: 'q' has already been declared in this scope.
main.v:380:      : It was declared here as a net.
main.v:657: error: 'q' has already been declared in this scope.
main.v:655:      : It was declared here as a net.
main.v:3171: error: 'q' has already been declared in this scope.
main.v:3167:      : It was declared here as a net.
scons: *** [hardware.out] Error 3
===================================================================== [ ERROR ] Took 0.11 seconds =====================================================================

The errors refer to duplicate declarations of 'q' as seen here https://github.com/FPGAwars/apio/blob/777113150ff2d7ab553482b76d4e7050146e3dd3/test-examples/Alhambra-II/02-jumping-LED/main.v#L383

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

1 participant