platforms/sipeed_tang_mega_138k: Fix default_clk_name/period.

This commit is contained in:
Florent Kermarrec 2023-09-26 21:07:21 +02:00
parent 5be6a46cfe
commit 928c1a2539
1 changed files with 2 additions and 2 deletions

View File

@ -78,8 +78,8 @@ _connectors = [
# Platform ----------------------------------------------------------------------------------------- # Platform -----------------------------------------------------------------------------------------
class Platform(GowinPlatform): class Platform(GowinPlatform):
default_clk_name = "clk27" default_clk_name = "clk50"
default_clk_period = 1e9/27e6 default_clk_period = 1e9/50e6
def __init__(self, dock="standard", toolchain="gowin"): def __init__(self, dock="standard", toolchain="gowin"):
GowinPlatform.__init__(self, "GW5AST-LV138FPG676AES", _io, _connectors, toolchain=toolchain, devicename="GW5AST-138B") GowinPlatform.__init__(self, "GW5AST-LV138FPG676AES", _io, _connectors, toolchain=toolchain, devicename="GW5AST-138B")