Merge pull request #902 from tcal-x/radiant-lse

Add 'lse' as a --synth-mode alternative with Radiant toolchain.
This commit is contained in:
enjoy-digital 2021-05-03 10:13:52 +02:00 committed by GitHub
commit c3f4da4376
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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("\\", "/")