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

Build fail with a trivial ICESugar-pro design #719

Open
zapta opened this issue Feb 16, 2024 · 2 comments
Open

Build fail with a trivial ICESugar-pro design #719

zapta opened this issue Feb 16, 2024 · 2 comments

Comments

@zapta
Copy link

zapta commented Feb 16, 2024

I am trying to build for ICESugar-pro but all attempts fail during the build with a cryptic error message, even trivial ones. What am I doing wrong? Details below. Also, is there a way to get a proper error message from nextpnr-ecp5?

Icestudio version: 0.11.3w202402070902 (on Max OS 14.3, M2)

Design:
image

Build error log

APIO_HOME_DIR="/Users/user/.icestudio/apio" PATH="/Users/user/.icestudio/venv/bin:/usr/bin:/bin:/usr/sbin:/sbin" "/Users/user/.icestudio/venv/bin/apio" build --board "iCESugar-Pro_(USB-Blaster)" --verbose-pnr -p "/Users/user/projects/fpga/repo/experimental/ice-build/test"

(DEBUG) Profile path: /Users/user/.icestudio/apio/profile.json
(DEBUG) Home_dir: /Users/user/.icestudio/apio

PATH: /Users/user/.icestudio/apio/packages/tools-oss-cad-suite/bin:/Users/user/.icestudio/apio/packages/tools-oss-cad-suite/lib:/Users/user/.icestudio/venv/bin:/usr/bin:/bin:/usr/sbin:/sbin

[Thu Feb 15 20:21:11 2024] Processing iCESugar-Pro_(USB-Blaster)
--------------------------------------------------------------------------------
yosys -p "synth_ecp5 -json hardware.json" -q main.v
nextpnr-ecp5 --25k --package CABGA256 --json hardware.json --textcfg hardware.config --lpf main.lpf --timing-allow-fail --force


Info: Logic utilisation before packing:
Info:     Total LUT4s:         0/24288     0%
Info:         logic LUTs:      0/24288     0%
Info:         carry LUTs:      0/24288     0%
Info:           RAM LUTs:      0/12144     0%
Info:          RAMW LUTs:      0/ 6072     0%

Info:      Total DFFs:         0/24288     0%

Info: Packing IOs..
Info: pin 'v46fc91$tr_io' constrained to Bel 'X72/Y17/PIOB'.
Info: pin 'v139d61$tr_io' constrained to Bel 'X72/Y14/PIOC'.
Info: Packing constants..
scons: *** [hardware.config] Error -11
========================= [ ERROR ] Took 1.42 seconds =========================

test.ice source file.
test.ice.zip

@cavearr
Copy link
Member

cavearr commented Feb 19, 2024

Hi @zapta ! sorry for the delay in the reponse.

I could build without problems:

Captura de pantalla 2024-02-19 a las 20 43 57

Check for the latest wip at https://downloads.icestudio.io to assure have the latest toolchain installed:

Captura de pantalla 2024-02-19 a las 20 45 18

You need to view 0.9.1 toolchain installed (Develop version of toolchain).

@zapta
Copy link
Author

zapta commented Feb 19, 2024 via email

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