Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

How do I obtain a license file to enable the design security features

Hi folks,

How do I obtain a license file to enable the design security features such as configuration file encryption for Cyclone V?

Thanks,

jp

7 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Folks,

    My distributor (Digi-Key) said I don't need a license file.....but here is the error message I get when I try to use Quartus for a CycloneV SE device:

    [pavan@kt-hw1 run1]$ /home/tools/altera/14.0/quartus/bin/quartus_cpf --64bit -e -k ./output_files/keyfile:key1 ./output_files/zorya_top.sof ./output_files/zorya_top.ekp

    Info: *******************************************************************

    Info: Running Quartus II 64-Bit Convert_programming_file

    Info: Version 14.0.0 Build 200 06/17/2014 SJ Full Version

    Info: Copyright (C) 1991-2014 Altera Corporation. All rights reserved.

    Info: Your use of Altera Corporation's design tools, logic functions

    Info: and other software and tools, and its AMPP partner logic

    Info: functions, and any output files from any of the foregoing

    Info: (including device programming or simulation files), and any

    Info: associated documentation or information are expressly subject

    Info: to the terms and conditions of the Altera Program License

    Info: Subscription Agreement, the Altera Quartus II License Agreement,

    Info: the Altera MegaCore Function License Agreement, or other

    Info: applicable license agreement, including, without limitation,

    Info: that your use is for the sole purpose of programming logic

    Info: devices manufactured by Altera and sold by Altera or its

    Info: authorized distributors. Please refer to the applicable

    Info: agreement for further details.

    Info: Processing started: Mon Apr 6 15:33:19 2015

    Info: Command: quartus_cpf --64bit -e -k ./output_files/keyfile:key1 ./output_files/zorya_top.sof ./output_files/zorya_top.ekp

    Error: Quartus II 64-Bit Convert_programming_file was unsuccessful. 0 errors, 0 warnings

    Error: Peak virtual memory: 373 megabytes

    Error: Processing ended: Mon Apr 6 15:33:20 2015

    Error: Elapsed time: 00:00:01

    Error: Total CPU time (on all processors): 00:00:02

    [pavan@kt-hw1 run1]$

    Any thoughts on what is wrong?

    Thanks,
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    May distributor (Digi-Key) says I don't need a license file. AN-556 says I do pn page 7.

    Here is the eroro message I get when I try it:

    [pavan@kt-hw1 run1]$ /home/tools/altera/14.0/quartus/bin/quartus_cpf --64bit -e -k ./output_files/keyfile:key1 ./output_files/zorya_top.sof ./output_files/zorya_top.ekp

    Info: *******************************************************************

    Info: Running Quartus II 64-Bit Convert_programming_file

    Info: Version 14.0.0 Build 200 06/17/2014 SJ Full Version

    Info: Copyright (C) 1991-2014 Altera Corporation. All rights reserved.

    Info: Your use of Altera Corporation's design tools, logic functions

    Info: and other software and tools, and its AMPP partner logic

    Info: functions, and any output files from any of the foregoing

    Info: (including device programming or simulation files), and any

    Info: associated documentation or information are expressly subject

    Info: to the terms and conditions of the Altera Program License

    Info: Subscription Agreement, the Altera Quartus II License Agreement,

    Info: the Altera MegaCore Function License Agreement, or other

    Info: applicable license agreement, including, without limitation,

    Info: that your use is for the sole purpose of programming logic

    Info: devices manufactured by Altera and sold by Altera or its

    Info: authorized distributors. Please refer to the applicable

    Info: agreement for further details.

    Info: Processing started: Mon Apr 6 15:33:19 2015

    Info: Command: quartus_cpf --64bit -e -k ./output_files/keyfile:key1 ./output_files/zorya_top.sof ./output_files/zorya_top.ekp

    Error: Quartus II 64-Bit Convert_programming_file was unsuccessful. 0 errors, 0 warnings

    Error: Peak virtual memory: 373 megabytes

    Error: Processing ended: Mon Apr 6 15:33:20 2015

    Error: Elapsed time: 00:00:01

    Error: Total CPU time (on all processors): 00:00:02

    [pavan@kt-hw1 run1]$

    Any thougts on what's wrong?

    Thanks,

    jp
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    My distributor (Digi-Key) says I don't need a license file. AN-556 says I do.

    Here is the error message I get when I try it:

    [pavan@kt-hw1 run1]$ /home/tools/altera/14.0/quartus/bin/quartus_cpf --64bit -e -k ./output_files/keyfile:key1 ./output_files/zorya_top.sof ./output_files/zorya_top.ekp

    Info: *******************************************************************

    Info: Running Quartus II 64-Bit Convert_programming_file

    Info: Version 14.0.0 Build 200 06/17/2014 SJ Full Version

    Info: Copyright (C) 1991-2014 Altera Corporation. All rights reserved.

    Info: Your use of Altera Corporation's design tools, logic functions

    Info: and other software and tools, and its AMPP partner logic

    Info: functions, and any output files from any of the foregoing

    Info: (including device programming or simulation files), and any

    Info: associated documentation or information are expressly subject

    Info: to the terms and conditions of the Altera Program License

    Info: Subscription Agreement, the Altera Quartus II License Agreement,

    Info: the Altera MegaCore Function License Agreement, or other

    Info: applicable license agreement, including, without limitation,

    Info: that your use is for the sole purpose of programming logic

    Info: devices manufactured by Altera and sold by Altera or its

    Info: authorized distributors. Please refer to the applicable

    Info: agreement for further details.

    Info: Processing started: Mon Apr 6 15:33:19 2015

    Info: Command: quartus_cpf --64bit -e -k ./output_files/keyfile:key1 ./output_files/zorya_top.sof ./output_files/zorya_top.ekp

    Error: Quartus II 64-Bit Convert_programming_file was unsuccessful. 0 errors, 0 warnings

    Error: Peak virtual memory: 373 megabytes

    Error: Processing ended: Mon Apr 6 15:33:20 2015

    Error: Elapsed time: 00:00:01

    Error: Total CPU time (on all processors): 00:00:02

    [pavan@kt-hw1 run1]$

    Any Ideas on what's wrong?

    Thanks,

    jp
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Do you have a subscription license? If yes, check whether you have the following line in the license file:

    FEATURE quartus_nonvolatile_encryption

    (as mentioned in license FAQ: https://www.altera.com/support/support-resources/download/licensing/q-and-a.html#c_07)

    If this line is missing, regenerate the license file in licensing center.

    If you're using web edition, i think you might need to contact your local distributor and ask them to request a license from altera. Hope this helps!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Are u trying to generate an ekp file? How about using exactly the same command line described in page 10 an556? Not to forget the key identity in the key file too(page9). Other way to create ekp is from Quartus II GUI.Go to File>Convert Programming File..(explained in page 8 AN556).if u can see the bitstream encryption not greyed out in step 7(i),it means u already hv the encryption feature. Good luck!