Licensing, Relcon, Usage – Altera Quartus II Scripting User Manual
Page 94: Example, Restore, Available options, Relcon –68 --restore –68

2–68
Chapter 2: Command-line Executables
quartus_sh
Quartus II Scripting Reference Manual
© July 2013
Altera Corporation
This command starts the Distributed Master/Slave Toolkit’s slave daemon and set the working directory
to "d:/slave". The working directory stores the temporary directories that are used by the slave while
running the jobs. These temporary directories are deleted when the jobs are released successfully. If the
jobs fail to be released for some reasons, you may need to delete these temporary directories manually to
save disk space.
Licensing
This script is copyrighted by Altera Corporation and provided subject to the rights granted by the Altera
Legal Notice found in the file quartus/common/tcl/apps/qslave/qslave.tcl.
--relcon
Option to call a predefined Tcl script that can be used to place logic registers relative to user-defined pin
locations. One application of this script is to optimize timing margins for DDR/DDR2-SDRAM memory
interfaces on Stratix II.
Usage
quartus_sh --relcon [
Use "quartus_sh --relcon -?" for help on the available options.
Example
# Place the read postamble registers in the LABs adjacent to the
# DQS pins to optimize read postamble setup margin.
quartus_sh --relcon -project top -pin_name "mem_dqs[*]" -reg_name
"*|postamble_en_pos_2x[*]" -row_offset 1 -apply
# Place the read resync registers in the LABs adjacent to
# the DQ pins to optimize read resync setup and hold margins.
quartus_sh --relcon -project top -pin_name "mem_dq[*]" -reg_name "*|rdata_p_ams[*]"
-row_offset 1 -apply
quartus_sh --relcon -project top -pin_name "mem_dq[*]" -reg_name "*|rdata_n_ams[*]"
-row_offset 1 -apply
Licensing
This script is copyrighted by Altera Corporation and provided subject to the rights granted by the Altera
Legal Notice found in the file quartus/common/tcl/apps/relcon/relative_constraint.tcl
--restore
Option to restore the specified Quartus II Archive File (.qar).
Usage
quartus_sh --restore [
Available options
Option
Description
-content
List the contents of the specified Quartus II Archive file.
-ascii
When combined with the -content option, this option generates the specified
II Archive file.