Merge pull request #902 from tcal-x/radiant-lse
Add 'lse' as a --synth-mode alternative with Radiant toolchain.
This commit is contained in:
commit
c3f4da4376
|
@ -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("\\", "/")
|
||||
|
|
Loading…
Reference in New Issue