Skip to content

Commit

Permalink
fixing issue related to R1705 and W1510
Browse files Browse the repository at this point in the history
  • Loading branch information
Xinhang Guo committed Sep 30, 2024
1 parent c1e87f2 commit 0083540
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion allo/backend/hls.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def copy_build_files(top, project, mode, platform="vivado_hls", script=None):
with open(os.path.join(project, "run.tcl"), "w", encoding="utf-8") as tcl_file:
tcl_file.write(new_tcl)
return "success"
elif platform in {"ihls"}:
if platform in {"ihls"}:
return "success"
raise RuntimeError("Not implemented")

Expand Down Expand Up @@ -192,6 +192,7 @@ def __init__(
],
capture_output=True,
text=True,
check=False,
)
print(result.stdout)
elif mode == "source_file_only":
Expand Down

0 comments on commit 0083540

Please sign in to comment.