Altera Quartus II Scripting Manuel d'utilisateur Page 231

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 634
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 230
Chapter 3: Tcl Packages & Commands 3–101
flow
© July 2013 Altera Corporation Quartus II Scripting Reference Manual
execute_hc
Usage
execute_hc [-archive <file name>] [-compare] [-create_companion <revision name>]
[-handoff_report] [-hc_ready] [-min_archive]
Options
-archive <file name>: Option to archive HardCopy Handoff Files into the specified file
name
-compare: Option to run HardCopy Companion Revision Comparison
-create_companion <revision name>: Option to create/overwrite the specified companion
revision
-handoff_report: Option to run HardCopy Handoff Report
-hc_ready: Option to generate HardCopy Design Readiness Check report
-min_archive: Option to exclude design files when archiving HardCopy Handoff Files
Description
Runs one of the predefined HardCopy flows.
All created or modified Quartus II Settings File (.qsf) assignments are automatically exported before
running the predefined flow, as if you called the "export_assignments" command beforehand.
You must use the Tcl command "catch" to determine whether the predefined flow ran successfully or not,
as in the following example:
if {[catch {execute_hc -compare} result]} {
post_message "Result: $result"
post_message -type error "HardCopy Companion Revision Comparison failed. See report
files."
} else {
post_message "HardCopy Companion Revision Comparison was successful."
}
Example
# Load the ::quartus::flow Tcl package
load_package flow
# Open the FPGA revision named "my_fpga"
project_open my_design -revision my_fpga
# Compile the FPGA "my_fpga" revision
execute_flow -compile
# Create a HardCopy companion revision named "my_hcii"
execute_hc -create_companion my_hcii
# Set "my_hcii" as the current revision before compiling it
set_current_revision my_hcii
# Compile the HardCopy "my_hcii" revision
execute_flow -compile
# Compare the two HardCopy companion revisions
execute_hc -compare
# Generate HardCopy Design Readiness Check report
execute_hc -hc_ready
Vue de la page 230
1 2 ... 226 227 228 229 230 231 232 233 234 235 236 ... 633 634

Commentaires sur ces manuels

Pas de commentaire