微處理器 - Gowin GW1NSR-LV4CQN48PC6/I5 (Lichee Tang Nano 4K) - 解決gowin_bba executable: GOWIN_BBA_EXECUTABLE-NOTFOUND問題



參考資訊:
https://github.com/YosysHQ/nextpnr/discussions/1265

問題如下:

$ cmake .. -DARCH=gowin
    -- Building with IPO
    -- Found Python3: /usr/include/python3.11 (found suitable version "3.11.2", minimum required is "3.5") found components: Development Development.Module Development.Embed
    -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found version "1.74.0") found components: filesystem program_options iostreams system thread
    -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found version "1.74.0") found components: program_options filesystem system
    -- Configuring architecture: gowin
    -- Enabled Gowin devices: GW1N-1;GW1NZ-1;GW1N-4;GW1N-9;GW1N-9C;GW1NS-2;GW1NS-4;GW2A-18
    -- gowin_bba executable: GOWIN_BBA_EXECUTABLE-NOTFOUND
    -- Using Gowin chipdb: /home/steward/Downloads/nextpnr/build/gowin/chipdb
    -- Configuring done (0.8s)
    -- Generating done (0.0s)
    -- Build files have been written to: /home/steward/Downloads/nextpnr/build

解法如下:

$ sudo pip3 install apycula