Skip to content

Build fail with a trivial ICESugar-pro design #719

Description

@zapta

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions