From eeeffa9ffdf794af02ad974280668dc1f06e45d1 Mon Sep 17 00:00:00 2001 From: inc <87362+inc@users.noreply.github.com> Date: Thu, 29 Feb 2024 21:30:25 +0100 Subject: [PATCH] support TQFP144 ECP5 package --- litex/build/lattice/trellis.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litex/build/lattice/trellis.py b/litex/build/lattice/trellis.py index 80c5a0fcc..95d5e021f 100644 --- a/litex/build/lattice/trellis.py +++ b/litex/build/lattice/trellis.py @@ -128,6 +128,8 @@ class LatticeTrellisToolchain(YosysNextPNRToolchain): package = "CABGA554" elif "756" in package: package = "CABGA756" + elif "144" in package: + package = "TQFP144" else: raise ValueError("Invalid package {}".format(package)) return (family, size, speed_grade, package)