Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17121 Discussions

qcrypt:test.rbf:8068: unexpected end-of-file

Steve-Mowbray-ENL
New Contributor I
200 Views

Hi 

When running Qcrypt on my working RBF configuration file I get the following result:

C:\Users\steve>D:/intelFPGA/21.1/quartus/bin64/qcrypt --encrypt --keyfile=keyfile.key --keyname=key1 --keystore=otp test.rbf test_qcrypt.rbf
Intel qcrypt 1.5 built at 12:02:50 on Aug 15 2017
Copyright (C) 2015-2017 Intel Corporation. All Rights Reserved.

qcrypt:test.rbf:8068: unexpected end-of-file

Any clues as to what could be wrong would be appreciated - I am confused as the unencrypted  RBF file works fine with passive serial configuration..

Thanks 

Steve 

Labels (1)
0 Kudos
1 Solution
Steve-Mowbray-ENL
New Contributor I
136 Views

Sorted -- according to AN-556:

"Encryption and compression cannot be used simultaneously in 20 nm FPGAs."

Assignments->Settings->"Device and Pin Options..."->Configuration->"Generate compressed bitstreams" seems to be checked by default -- unchecked and the rebuilt RBF gets encrypted correctly by "Qcrypt" tool (at double the size...).

View solution in original post

0 Kudos
1 Reply
Steve-Mowbray-ENL
New Contributor I
137 Views

Sorted -- according to AN-556:

"Encryption and compression cannot be used simultaneously in 20 nm FPGAs."

Assignments->Settings->"Device and Pin Options..."->Configuration->"Generate compressed bitstreams" seems to be checked by default -- unchecked and the rebuilt RBF gets encrypted correctly by "Qcrypt" tool (at double the size...).

0 Kudos
Reply