6 Bitstream File Configuration
UG290-2.3E
73(87)
2. Scan the FPGA device;
3. Right-click on the device name and select "Configure Security";
4. Enter the encrypted key value in the pop-up interface, click "write" and
write the value to the FPGA, as shown in Figure 6-3.
Figure 6-3 Setting the Decryption Key
After the decryption key is written successfully, readback the written
value via the "Read" button on the interface to verify.
After the key is written successfully, users also can select to "lock" it in
FPGA via the Lock command. Once you have performed this action, any
read and write key operations will be invalid, the key value cannot be
modified, and all read bits are all "1"
.
After the decryption key is set, the encrypted bitstream data will only
work when the data matches the decryption key. The key does not affect
the non-encrypted bitstream data.
Note!
The initial value of the Gowin FPGA keys is 0. If a key value is changed to 1, it cannot be
changed back to 0. For example, the key value written during an operation is
00000000-00000000-00000000-00000001, and the last bit of the modified key must be 1.
6.2.4
Programming Operation
Gowin Programmer offers the tool for programming AES encryption
key. Open this tool by clicking "Tools > Security" in Gowin Software, as
shown in Figure 6-4.