Intel

The torii.platform.vendor.gowin module provides a base platform to support Gowin FPGAs with the Gowin and Apicula toolchains.

class torii.platform.vendor.gowin.GowinPlatform(*, toolchain='Apicula')

Apicula toolchain

Required tools:
  • yosys

  • nextpnr-gowin

  • gowin_pack

The environment is populated by running the script specified in the environment variable AMARANTH_ENV_APICULA, if present.

Build products:
  • {{name}}.fs: binary bitstream.

Gowin toolchain

Required tools:
  • gw_sh

The environment is populated by running the script specified in the environment variable AMARANTH_ENV_GOWIN, if present.

Build products:
  • {{name}}.fs: binary bitstream.