我记得是需要用xilinx官方的烧写器的,3K人民币的那种。
其实就是在efuse里面烧一个秘钥,vivado也通过这个秘钥将MCS加密,
别人读出来也是乱的。xdc里面设置如下:
set_property BITSTREAM.ENCRYPTION.ENCRYPT YES [current_design]
set_property BITSTREAM.ENCRYPTION.ENCRYPTKEYSELECT EFUSE [current_design]
set_property BITSTREAM.ENCRYPTION.KEY0 256'h9F2EC12787E0704C4A2431ABEC269D90E89980175C486C256EF36A1F47319AAB [current_design]
set_property BITSTREAM.ENCRYPTION.HKEY 256'hE82F72833A2BD7903A802D16D737197C8BD2FB0027C163430C554D230BCE649A [current_design]
set_property BITSTREAM.ENCRYPTION.STARTCBC 128'hB6242D538C339FEAB2153ABC72329E6F [current_design]
set_property BITSTREAM.READBACK.SECURITY LEVEL1 [current_design]
--
FROM 58.33.101.*