From 0f3dfbfd2645a0fe5e946430c87a512ee024d01b Mon Sep 17 00:00:00 2001 From: gatecat Date: Tue, 19 Jul 2022 10:54:49 +0100 Subject: [PATCH] oxide: Fix ES postfix on device name Signed-off-by: gatecat --- litex/build/lattice/oxide.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/build/lattice/oxide.py b/litex/build/lattice/oxide.py index 62a585af3..a0eddc693 100644 --- a/litex/build/lattice/oxide.py +++ b/litex/build/lattice/oxide.py @@ -119,7 +119,7 @@ class LatticeOxideToolchain(GenericToolchain): s_fail = s + "{fail_stmt}\n" # Required so Windows scripts fail early. script_contents += s_fail.format( build_name = self._build_name, - device = "ES" if self._es_device else self.platform.device, + device = f"{self.platform.device}{'ES' if self._es_device else ''}", timefailarg = "--timing-allow-fail" if not self._timingstrict else "", ignoreloops = "--ignore-loops" if self._ignoreloops else "", fail_stmt = fail_stmt,