f4pga/wrappers/sh/pack: use Path instead of bash's mv
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
This commit is contained in:
parent
918e8a6c2d
commit
a74239fb35
|
@ -77,10 +77,8 @@ def generate_constraints():
|
||||||
def pack():
|
def pack():
|
||||||
print("[F4PGA] Running (deprecated) pack")
|
print("[F4PGA] Running (deprecated) pack")
|
||||||
extra_args = ['--write_block_usage', 'block_usage.json'] if isQuickLogic else []
|
extra_args = ['--write_block_usage', 'block_usage.json'] if isQuickLogic else []
|
||||||
run_bash_cmds(vpr_common_cmds('pack')+f"""
|
run_bash_cmds(vpr_common_cmds('pack')+f"run_vpr --pack {' '.join(extra_args)}")
|
||||||
run_vpr --pack {' '.join(extra_args)}
|
Path('vpr_stdout.log').rename('pack.log')
|
||||||
mv vpr_stdout.log pack.log
|
|
||||||
""")
|
|
||||||
|
|
||||||
|
|
||||||
def place():
|
def place():
|
||||||
|
|
Loading…
Reference in New Issue