rcs_artic_term_bmc_card: Fix is -> ==.

This commit is contained in:
Florent Kermarrec 2022-03-17 09:45:47 +01:00
parent 496b2cfab9
commit 0f82db26da
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ class Platform(LatticePlatform):
def __init__(self, device="LFE5UM5G", speed_grade="6", toolchain="trellis", **kwargs): def __init__(self, device="LFE5UM5G", speed_grade="6", toolchain="trellis", **kwargs):
assert device in ["LFE5UM5G", "LFE5UM"] assert device in ["LFE5UM5G", "LFE5UM"]
if device is "LFE5UM5G": if device == "LFE5UM5G":
speed_grade = "8" speed_grade = "8"
LatticePlatform.__init__(self, device + "-85F-" + speed_grade + "CABGA381", _io, toolchain=toolchain, **kwargs) LatticePlatform.__init__(self, device + "-85F-" + speed_grade + "CABGA381", _io, toolchain=toolchain, **kwargs)