Skip to content

Spurious Yosys warning when building a Gowin project #5632

@zapta

Description

@zapta

Version

Yosys 0.61+56 (git sha1 f5ea73e-dirty, aarch64-apple-darwin23.5-clang++ 18.1.8 -fPIC -O3)

On which OS did this happen?

macOS

Reproduction Steps

NOTE: This is a regression, and I got it only when upgrading to the latest Yosys.

work-gowin-warning.zip

  1. Unzip the project

  2. Run yosys -p "synth_gowin -top blinky -json /tmp/_yosys_output.json" -q blinky.v

Expected Behavior

Expecting successful completion with no warnings.

Actual Behavior

Yosys emits a spurious warning: Warning: define gw1n not used in the library..

$ ./run.sh
+ yosys --version
Yosys 0.61+56 (git sha1 f5ea73eb9-dirty, aarch64-apple-darwin23.5-clang++ 18.1.8 -fPIC -O3)
+ yosys -p 'synth_gowin -top blinky -json /tmp/_yosys_output.json' -q blinky.v
Warning: define gw1n not used in the library.

Metadata

Metadata

Assignees

Labels

pending-verificationThis issue is pending verification and/or reproduction

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions