Add 'lse' as a --synth-mode option with Radiant.
Signed-off-by: Tim Callahan <tcal@google.com>
This commit is contained in:
parent
fb8f45be73
commit
dcd13d27ef
|
@ -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):
|
def _build_tcl(device, sources, vincpaths, build_name, pdc_file, synth_mode):
|
||||||
tcl = []
|
tcl = []
|
||||||
# Create project
|
# Create project
|
||||||
|
syn = "lse" if synth_mode == "lse" else "synplify"
|
||||||
tcl.append(" ".join([
|
tcl.append(" ".join([
|
||||||
"prj_create",
|
"prj_create",
|
||||||
"-name \"{}\"".format(build_name),
|
"-name \"{}\"".format(build_name),
|
||||||
"-impl \"impl\"",
|
"-impl \"impl\"",
|
||||||
"-dev {}".format(device),
|
"-dev {}".format(device),
|
||||||
"-synthesis \"synplify\""
|
"-synthesis \"" + syn + "\""
|
||||||
]))
|
]))
|
||||||
|
|
||||||
def tcl_path(path): return path.replace("\\", "/")
|
def tcl_path(path): return path.replace("\\", "/")
|
||||||
|
|
Loading…
Reference in New Issue