Skip to content

Commit

Permalink
Switch to .hwh file from .tcl file
Browse files Browse the repository at this point in the history
  • Loading branch information
bmorcos committed Mar 6, 2020
1 parent 9fdd951 commit f5b7237
Show file tree
Hide file tree
Showing 5 changed files with 2,497 additions and 927 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# What is this?

This is a method of reading the Device DNA from the PL for Zynq 7000 devices wrapped in an AXI interface for easy MMIO access on the PS.
This is a method of reading the Device DNA from the PL for Zynq 7000 devices
wrapped in an AXI interface for easy MMIO access on the PS.

This is built with Vivado 2018.3 and is based off the
[Xilinx AXI_DNA](https://www.xilinx.com/support/answers/71342.html)
Expand Down Expand Up @@ -34,7 +35,7 @@ the ``bin`` directory.

### Test it out

You can now copy ``dna_extractor.bit`` and ``dna_extractor.tcl`` from
You can now copy ``dna_extractor.bit`` and ``dna_extractor.hwh`` from
the ``bin`` directory to the ``/home/xilinx`` directory of your PYNQ board and
copy the ``DNA_test.ipynb`` notebook to the
``/home/xilinx/jupyter_notebooks`` directory.
Expand Down
3 changes: 2 additions & 1 deletion pynq_dna/PYNQ_DNA.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,8 @@ export_ip_user_files -of_objects [get_files ./src/design_1.bd] -no_script -force
export_simulation -of_objects [get_files ./src/design_1.bd] -directory ./DNA_extractor/DNA_extractor.ip_user_files/sim_scripts -ip_user_files_dir ./DNA_extractor/DNA_extractor.ip_user_files -ipstatic_source_dir ./DNA_extractor/DNA_extractor.ip_user_files/ipstatic -force -quiet
launch_runs impl_1 -to_step write_bitstream -jobs 6
wait_on_run impl_1
write_bd_tcl -force ./bin/dna_extractor.tcl
file copy -force ./DNA_extractor/DNA_extractor.runs/impl_1/design_1_wrapper.bit ./bin/dna_extractor.bit
file copy -force ./src/hw_handoff/design_1.hwh ./bin/dna_extractor.hwh

exit

Binary file modified pynq_dna/bin/dna_extractor.bit
Binary file not shown.
Loading

0 comments on commit f5b7237

Please sign in to comment.