Sfl_device=<device name, Start_address=<hexadecimal number, Voltage=<voltage – Altera Quartus II Scripting User Manual

Page 46: Example, Write, Design_security, Voltage=<voltage> –20 --write –20, Design_security –20

Advertising
background image

2–20

Chapter 2: Command-line Executables

quartus_cpf

Quartus II Scripting Reference Manual

© July 2013

Altera Corporation

The following are valid strings and values for the option file:

--sfl_device=<device name>

Option to specify the serial flash loader device name. Only the Cyclone device family supports serial flash
loader.

--start_address=<hexadecimal number>

Option to specify the start address for the Hexadecimal (Intel-Format) Output File (.hexout). Use this
option only with the "-h" or "--hexout" option.

--voltage=<voltage>

Option to specify the VCC level. 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 with a 3.3V supply
quartus_cpf -c -g 3.3 -n p <input_pof_file> <output_svf_file>

--write

Option to write the option file for the configuration device(s).

design_security

For families that support Design Security, use the 'key' option to specify the 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>]

String

Description

compression=on|off

Turns the compression on or off for enhanced configuration devices.

clock_divisor=1 to 16|1.5|2.5

Specifies the value of the clock divisor for enhanced configuration devices.

clock_source=internal|external

Specifies the clock source for enhanced configuration devices.

clock_frequency

Specifies the clock frequency for enhanced configuration devices. Internal values:
10|33|50|66 MHz External values: 1 Hz to 133.0 MHz

jtag_usercode

Specifies the JTAG user code value, which must be stored as a hexadecimal number,
for example, jtag_usercode=abcd1234.

disable_pullups=on|off

Disables the nCS and OE internal pull-ups on the configuration device.

memory_map_file=on|off

Turns the memory map file generation on or off.

auto_usercode=on|off

Turns the auto usercode option on or off.

auto_jtag_usercode_inc=on|off

Automatically increments JTAG user code in the second and subsequent
configuration devices if the target device requires multiple configuration devices.

use_low_voltage=on|off

Allows an EPC1 configuration device to operate in a 3.3-V environment.

bitstream_compression=on|off

Turns the bitstream compression on or off for a Cyclone device.

Advertising