From dcd13d27ef9a606eb0de6c51c56ed623e29312b1 Mon Sep 17 00:00:00 2001 From: Tim Callahan Date: Sat, 1 May 2021 21:12:56 -0700 Subject: [PATCH] Add 'lse' as a --synth-mode option with Radiant. Signed-off-by: Tim Callahan --- litex/build/lattice/radiant.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/litex/build/lattice/radiant.py b/litex/build/lattice/radiant.py index c46df20b2..140e506fa 100644 --- a/litex/build/lattice/radiant.py +++ b/litex/build/lattice/radiant.py @@ -121,12 +121,13 @@ def _build_pdc(named_sc, named_pc, clocks, vns, build_name): def _build_tcl(device, sources, vincpaths, build_name, pdc_file, synth_mode): tcl = [] # Create project + syn = "lse" if synth_mode == "lse" else "synplify" tcl.append(" ".join([ "prj_create", "-name \"{}\"".format(build_name), "-impl \"impl\"", "-dev {}".format(device), - "-synthesis \"synplify\"" + "-synthesis \"" + syn + "\"" ])) def tcl_path(path): return path.replace("\\", "/")