FPGAwars / icestudio

:snowflake: Visual editor for open FPGA boards
https://icestudio.io
GNU General Public License v2.0
1.67k stars 242 forks source link

Build fail with a trivial ICESugar-pro design #719

Open zapta opened 4 months ago

zapta commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

Thanks Carlos.

On Mon, Feb 19, 2024 at 11:46 AM Carlos Venegas Arrabé < @.***> wrote:

Hi @zapta https://github.com/zapta ! sorry for the delay in the reponse.

I could build without problems: Captura.de.pantalla.2024-02-19.a.las.20.43.57.png (view on web) https://github.com/FPGAwars/icestudio/assets/6904865/36503738-7a91-47de-8406-4c8ea5977c2c

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.png (view on web) https://github.com/FPGAwars/icestudio/assets/6904865/739661de-7d83-4f26-a2bd-bc607a98f0da

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

— Reply to this email directly, view it on GitHub https://github.com/FPGAwars/icestudio/issues/719#issuecomment-1953074850, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQVMQJBSSJKIPHCTQVDFBTYUOTXRAVCNFSM6AAAAABDLNIM7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTGA3TIOBVGA . You are receiving this because you were mentioned.Message ID: @.***>