Merge pull request #412 from Chandler-Kluser/master

Added Tang Nano 4k Support for GoWin Educational IDE v1.9.8.03
This commit is contained in:
enjoy-digital 2022-08-24 15:13:12 +02:00 committed by GitHub
commit 0dee8826f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -87,7 +87,10 @@ class Platform(GowinPlatform):
default_clk_period = 1e9/27e6 default_clk_period = 1e9/27e6
def __init__(self, toolchain="gowin"): def __init__(self, toolchain="gowin"):
GowinPlatform.__init__(self, "GW1NSR-LV4CQN48PC7/I6", _io, _connectors, toolchain=toolchain, devicename="GW1NSR-4C") # Educational GoWin IDE v. 1.9.8.03
GowinPlatform.__init__(self, "GW1NSR-LV4CQN48PC6/I5", _io, _connectors, toolchain=toolchain, devicename="GW1NSR-4C")
# Licensed GoWin IDE v. 1.9.7.06 Beta
# GowinPlatform.__init__(self, "GW1NSR-LV4CQN48PC7/I6", _io, _connectors, toolchain=toolchain, devicename="GW1NSR-4C")
self.toolchain.options["use_mode_as_gpio"] = 1 self.toolchain.options["use_mode_as_gpio"] = 1
self.toolchain.options["use_mspi_as_gpio"] = 1 self.toolchain.options["use_mspi_as_gpio"] = 1
self.toolchain.options["use_done_as_gpio"] = 1 self.toolchain.options["use_done_as_gpio"] = 1