gw_sh can't find GoWin FPGA model
See original GitHub issuetried to run:
python3 -m litex_boards.targets.sipeed_tang_nano_4k --build --load --cpu-variant=minimal
with litex + gcc-riscv + ninja + migen installed. I have compiled everything, but when the script runs gw_sh
shell it fails in
set_device -name GW1NSR-4C GW1NSR-LV4CQN48PC7/I6
with the following error:
*** GOWIN Tcl Command Line Console ***
can't find device: GW1NSR-LV4CQN48PC7/I6 GW1NSR-4C
while executing
"set_device -name GW1NSR-4C GW1NSR-LV4CQN48PC7/I6"
(file "run.tcl" line 1)
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/root/litex/litex-boards/litex_boards/targets/sipeed_tang_nano_4k.py", line 169, in <module>
main()
File "/root/litex/litex-boards/litex_boards/targets/sipeed_tang_nano_4k.py", line 156, in main
builder.build()
File "/root/litex/litex/litex/soc/integration/builder.py", line 357, in build
vns = self.soc.build(build_dir=self.gateware_dir, **kwargs)
File "/root/litex/litex/litex/soc/integration/soc.py", line 1277, in build
return self.platform.build(self, *args, **kwargs)
File "/root/litex/litex/litex/build/gowin/platform.py", line 41, in build
return self.toolchain.build(self, *args, **kwargs)
File "/root/litex/litex/litex/build/generic_toolchain.py", line 113, in build
self.run_script(script)
File "/root/litex/litex/litex/build/gowin/gowin.py", line 147, in run_script
raise OSError("Error occured during Gowin's script execution.")
OSError: Error occured during Gowin's script execution.
I have used GoWin Education IDE versions 1.9.8.03 and 1.9.8 and both of them were not able to synthesize the sample project.
I have also tried to run set_device -name GW1NSR-4C GW1NSR-LV4CQN48PC7/I6
in standalone gw_sh
shell without the script, but I get the same error.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Gowin RISC-V | IP and Reference Design | Support
Go to http://gowinsemi.com/support/home/ and Click on “Apply License” for the GOWIN EDA FPGA Design License. Go to http://www.gowinsemi.com/support/enquires/ ...
Read more >GOWIN Semiconductor: Home
Our commitment to technology and quality enables customers to reduce the total cost of ownership from using FPGA on their production boards. Our...
Read more >Untitled
Ekin elif turkoglu, Ebe bandz can't come home, Krispy kreme nutrition apple fritter! ... Mio cid castellano antiguo, Everyday symbols we see.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @Chandler-Kluser,
thanks for the feedback. The build has been tested with “GowinSynthesis V1.9.7.06Beta” and is still working with it. It seems Gowin changed things in 1.9.8, this would need to be investigated.
solved the issue!
GoWin Educational IDE accepts only
GW1NSR-LV4CQN48PC6/I5
part number, take a look atgw_sh
output:I could check the Educational IDE by opening the wizard of the IDE for a new project:
I will open a pull request by updating
litex_boards/platforms/sipeed_tang_nano_4k.py
file to accept the Educational IDE.