f4pga/flows/common: cleanup
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
This commit is contained in:
parent
3ef329ce6f
commit
4d52d3c721
|
@ -156,17 +156,6 @@ def vpr(mode: str, vprargs: VprArgs, cwd=None):
|
||||||
"""
|
"""
|
||||||
Execute `vpr`.
|
Execute `vpr`.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
modeargs = []
|
|
||||||
if mode == "pack":
|
|
||||||
modeargs = ["--pack"]
|
|
||||||
elif mode == "place":
|
|
||||||
modeargs = ["--place"]
|
|
||||||
elif mode == "route":
|
|
||||||
modeargs = ["--route"]
|
|
||||||
elif mode == "analysis":
|
|
||||||
modeargs = ["--analysis"]
|
|
||||||
|
|
||||||
return sub(
|
return sub(
|
||||||
*(
|
*(
|
||||||
[
|
[
|
||||||
|
@ -182,7 +171,7 @@ def vpr(mode: str, vprargs: VprArgs, cwd=None):
|
||||||
"--read_placement_delay_lookup",
|
"--read_placement_delay_lookup",
|
||||||
vprargs.place_delay,
|
vprargs.place_delay,
|
||||||
]
|
]
|
||||||
+ modeargs
|
+ ([f"--{mode}"] if mode in ["pack", "place", "route", "analysis"] else [])
|
||||||
+ vprargs.optional
|
+ vprargs.optional
|
||||||
),
|
),
|
||||||
cwd=cwd,
|
cwd=cwd,
|
||||||
|
|
Loading…
Reference in New Issue