Frequency=<frequency with units, Example, Key=<filename and key id – Altera Quartus II Scripting User Manual

Page 45: Examples, Operation=<pb|v|p, Option=<filename, Frequency=<frequency with units> –19, Key=<filename and key id> –19, Operation=<pb|v|p> –19 --option=<filename> –19, Operation=<pb|v|p> on

Advertising
background image

Chapter 2: Command-line Executables

2–19

quartus_cpf

© July 2013

Altera Corporation

Quartus II Scripting Reference Manual

--frequency=<frequency with units>

Option to specify the JTAG TCK clock frequency. Use this option only if you want to generate a Serial
Vector Format (.svf) for the output file.

Example

# To create an SVF for programming with a 10MHz JTAG TCK clock frequency
quartus_cpf -c -q 10.0MHz -n p <input_pof_file> <output_svf_file>

--key=<filename and key id>

Option to specify a key (or keys) to be used for generating secured configuration bitstreams or the
Encryption Key Programming File (.ekp).

Use the following format to specify key values:

<keyfile>:<keyid>[:<keyid2>]

in which keyfile is a valid Key File (.key), keyid is a valid id for a key in the specified file, and keyid2 is a
valid id for a key in the specified file.

Examples

# To convert .sof to a secured configuration bitstream .rbf
# using a single key file
quartus_cpf --key <keyfile>:<keyid1>:<keyid2> <input_sof_file> <output_rbf_file>

# To generate an Encryption Key Programming File (.ekp)
# using two key files
quartus_cpf --key <keyfile1>:<keyid1> --key <keyfile2>:<keyid2> <input_sof_file>
<output_ekp_file>

--operation=<pb|v|p>

Option to specify the programming options. Use this option only if you want to generate a Serial Vector
Format File (.svf) for the output file.

Example

# To create an SVF for programming
quartus_cpf -c -n p <input_pof_file> <output_svf_file>

--option=<filename>

Option to create the configuration device file using the specified input option file.

You can create the option file using any text editor. Use the strings and the values listed below or use the
"quartus_cpf -w" command to generate the strings in the text file automatically.

Use the following format to specify string values:

<string>=<value>

Value

Options

p

program

v

verify

pb

program and blank check

Advertising