Skip to content

Fuzzing does not work with Gowin Software 1.9.9 and 1.9.11 #309

Open
@JR-Elo

Description

@JR-Elo

Description:

  1. The fuzzing process fails with an Error when using Gowin IDE versions 1.9.9 and 1.9.11
  2. Chip database (pickle files) generation only works with Gowin IDE 1.9.8, but fails with newer versions

Steps to reproduce:

  1. Clone apicula repository
  2. Set up environment with Gowin IDE (tested with 1.9.8, 1.9.9, 1.9.11)
  3. Run fuzzer

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Obtaining file:///home/pi/fpga/git/apicula Preparing metadata (setup.py) ... done Requirement already satisfied: crc in /home/pi/Programme/apycula_env/lib/python3.11/site-packages (from Apycula==0.16.dev37+gce70be7) (7.0.0) Installing collected packages: Apycula Attempting uninstall: Apycula Found existing installation: Apycula 0.12 Uninstalling Apycula-0.12: Successfully uninstalled Apycula-0.12 Running setup.py develop for Apycula Successfully installed Apycula-0.16.dev37+gce70be7 Fuzzing wird gestartet... python3 -m apycula.tiled_fuzzer GW1N-1 check 19199191 Traceback (most recent call last): File "<frozen runpy>", line 198, in runmodule_as_main File "<frozen runpy>", line 88, in runcode File "/home/pi/fpga/git/apicula/apycula/tiled_fuzzer.py", line 237, in <module> tm = tm_h4x.read_tm(f, device) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pi/fpga/git/apicula/apycula/tm_h4x.py", line 318, in read_tm assert len(chunk) == chunklen ^^^^^^^^^^^^^^^^^^^^^^ AssertionError make: *** [Makefile:12: GW1N-1_stage1.pickle] Error 1

The Tang Nano 9K is becoming increasingly popular in the FPGA community, and proper support for current IDE versions would be very helpful.

Environment:

  • OS: Pop!_OS 22.04 LTS
  • Kernel: 6.9.3-76060903-generic
  • Architecture: x86_64
  • Python: 3.10.12
  • Apicula: 0.16.dev37+gce70be7
  • Gowin IDE versions tested: 1.9.8, 1.9.9, 1.9.11

NOTE: Version v1.9.8 (http://cdn.gowinsemi.com.cn/Gowin_V1.9.8_linux.tar.gz) is no longer available for download.

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