Skip to content
Snippets Groups Projects
Commit e1b4bb52 authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[PYNQ] fix variable ref'd before assignment problem in DeployToPYNQ

parent 05dad1b0
No related branches found
No related tags found
No related merge requests found
......@@ -68,10 +68,10 @@ class DeployToPYNQ(Transformation):
for file in os.listdir(vivado_pynq_proj):
if file.endswith(".bit"):
bitfile = os.path.join(vivado_pynq_proj, file)
copy(bitfile, deployment_dir)
elif file.endswith(".hwh"):
hwhfile = os.path.join(vivado_pynq_proj, file)
copy(bitfile, deployment_dir)
copy(hwhfile, deployment_dir)
copy(hwhfile, deployment_dir)
# driver.py and python libraries
pynq_driver_dir = model.get_metadata_prop("pynq_driver_dir")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment