This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
en:ztex_boards:ztex_fpga_boards:bitstream_encryption [2013/11/26 11:34] – stefan | en:ztex_boards:ztex_fpga_boards:bitstream_encryption [2016/09/11 10:51] – stefan | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Bitstream Encryption ====== | ====== Bitstream Encryption ====== | ||
- | Several ZTEX FPGA Boards support Bitstream encryption, e.g. | + | Several ZTEX FPGA Boards support Bitstream encryption, e.g. [[http:// |
- | [[http:// | + | |
The key which is used to decrypt the bitstream is stored in special low power memory of the FPGA which is powered by a battery. This battery is an option and not installed by default. | The key which is used to decrypt the bitstream is stored in special low power memory of the FPGA which is powered by a battery. This battery is an option and not installed by default. | ||
Line 7: | Line 6: | ||
Using encrypted bitstreams is quite simple: | Using encrypted bitstreams is quite simple: | ||
- | - Generate an encrypted bitstream. This is done using the '' | + | - Generate an encrypted bitstream |
- | - Upload the key (.nky file) to the FPGA through JTAG using Xilinx | + | set_property BITSTREAM.ENCRYPTION.ENCRYPTKEYSELECT bbram [current_design] |
- | - FPGA now accepts the encrypted bitstream | + | set_property BITSTREAM.ENCRYPTION.KEYFILE <.nky file> [current_design]</code> If no key file (.nky file) is given a new one with random key is created. |
+ | - Upload the key (.nky file) to the FPGA through JTAG using Xilinx | ||
+ | - FPGA now accepts the encrypted bitstream | ||