From 1097f82283b55e6635fc36c014e151e0d4048bf5 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 29 Oct 2018 15:58:54 +0100 Subject: [PATCH] build/lattice/prjtrellis: set default toolchain_path to "/opt/prjtrellis" --- litex/build/lattice/prjtrellis.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/litex/build/lattice/prjtrellis.py b/litex/build/lattice/prjtrellis.py index 3bbf0739..f6bf5402 100644 --- a/litex/build/lattice/prjtrellis.py +++ b/litex/build/lattice/prjtrellis.py @@ -11,8 +11,9 @@ from litex.build import tools from litex.build.lattice import common # TODO: -# - add inout support to iowrapper -# - check/document attr_translate +# - add timing constraint support. +# - add inout support to iowrapper. +# - check/document attr_translate. nextpnr_ecp5_architectures = { @@ -128,6 +129,8 @@ class LatticePrjTrellisToolchain: def build(self, platform, fragment, build_dir="build", build_name="top", toolchain_path=None, run=True): + if toolchain_path is None: + toolchain_path = "/opt/prjtrellis/" os.makedirs(build_dir, exist_ok=True) cwd = os.getcwd() os.chdir(build_dir) -- 2.30.2