Skip to content

Apicula/Windows build is broken #194

Description

@zapta

Version

Yosys 0.63+89 (git sha1 de99d67bb-dirty, aarch64-apple-darwin23.5-clang++ 18.1.8 -fPIC -O3)

On which OS did this happen?

macOS

Reproduction Steps

Use the oss-cad-suite release of 2026-03-11 and run

gowin_pack -d GW2A-18C -o _build/tang20k/hardware.fs _build/tang20k/hardware.pnr.json

The input file
hardware.pnr.json

The input file was generated using

yosys -p "synth_gowin -top main -json _build/tang20k/hardware.json ; write_verilog _build/tang20k/yosys-synth.v" -q -DSYNTHESIZE ftdi_tx_fifo.v main.v ftdi/async_fifo/async_fifo.v ftdi/async_fifo/fifomem.v ftdi/async_fifo/rptr_empty.v ftdi/async_fifo/sync_r2w.v ftdi/async_fifo/sync_w2r.v ftdi/async_fifo/wptr_full.v testing/test_utils.v utils/pll.v utils/pulse_stretcher.sv utils/reset_gen.v utils/ws2812.v

nextpnr-himbaechel --device GW2AR-LV18QN88C8/I7 --json _build/tang20k/hardware.json --write _build/tang20k/hardware.pnr.json --report _build/tang20k/hardware.pnr --vopt family=GW2A-18C --vopt cst=pinout.cst -q --seed 1008

Expected Behavior

gowin_pack completes with no warnings.

Actual Behavior

The gowin_pack commands prints two warnings about missing python modules.

gowin_pack -d GW2A-18C -o _build/tang20k/hardware.fs _build/tang20k/hardware.pnr.json
/Users/user/.apio/packages/oss-cad-suite/lib/python3.11/site-packages/apycula/bitmatrix.py:60: UserWarning: Numpy is not available, performance will be degraded.
  warnings.warn("Numpy is not available, performance will be degraded.")
/Users/user/.apio/packages/oss-cad-suite/lib/python3.11/site-packages/apycula/crc16.py:19: UserWarning: fastcrc is not available, performance will be degraded.
  warnings.warn("fastcrc is not available, performance will be degraded.")

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