UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 61258

Vivado 2014.x - Regenerate different key file for Encryption on Linux

Description

In a 7 series Linux environment, the "BITSTREAM.ENCRYPTION.KEYFILE" property is not handled correctly.

The constraints used are as below:

set_property BITSTREAM.ENCRYPTION.ENCRYPT Yes [current_design]
set_property BITSTREAM.ENCRYPTION.KEYFILE /*/*.nky

The generate_bitstream log from Linux environment would be:

-----------------------------------------------
Reading key file /work/project_11/original_2.nky. BITSTREAM.ENCRYPTION.KEYFILE Path
Processing options...
Creating bitmap...
Creating bitstream...
Writing bitstream ./adder.bit...
Writing key file ./adder.nky...                             
INFO: [Vivado 12-1842] Bitgen Completed Successfully.INFO: [Common 17-83] Releasing license: Implementationwrite_bitstream: Time (s): cpu = 00:01:00 ; elapsed = 00:00:59 . Memory (MB): peak = 2289.828 ; gain = 169.934INFO: [Common 17-206] Exiting Vivado at Fri Jun 19 21:11:39 2014...
-----------------------------------------------


write_bitstream is regenerating the key file which is not the same as the original key file.

Solution

write_bitstream on Linux cannot parse a .nky file created on DOS.

To work around this issue, run dos2unix on the .nky file.

This issue will be Fixed in 2014.3.
AR# 61258
Date Created 06/24/2014
Last Updated 07/03/2014
Status Active
Type General Article
Devices
  • Kintex-7
  • Virtex-7
  • Artix-7
Tools
  • Vivado Design Suite