mirror of https://github.com/openXC7/prjxray.git
074-dump_all: get vivado exec path from env variable
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
This commit is contained in:
parent
46c28ccb91
commit
1004ad6633
|
|
@ -340,9 +340,13 @@ def annotate_speed_model(tile_type, reduced_tile, output_dir, root_dir):
|
|||
for index in speed_model_indices:
|
||||
print(index, file=f)
|
||||
|
||||
# Get vivado path
|
||||
vivado = os.getenv('XRAY_VIVADO')
|
||||
assert vivado is not None
|
||||
|
||||
subprocess.check_call(
|
||||
"vivado -mode batch -source get_speed_model.tcl -tclargs {}".format(
|
||||
tmp_indices_file),
|
||||
"{} -mode batch -source get_speed_model.tcl -tclargs {}".format(
|
||||
vivado, tmp_indices_file),
|
||||
shell=True,
|
||||
stdout=subprocess.DEVNULL)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue