You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/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 =====================================================================
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 passapio verify
but the other two02-jumping-LED
and03-riscv-stop-watch
fail.Here is an example:
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
The text was updated successfully, but these errors were encountered: