design::load_design (::quartus::design)
The following table displays information for the design::load_design Tcl command:
Tcl Package and Version |
Belongs to ::quartus::design 1.0 |
|||
Syntax | design::load_design [-h | -help] [-long_help] [-latest_snapshot] [-snapshot <snapshot> ] [-writeable] | |||
Arguments | -h | -help | Short help | ||
-long_help | Long help with examples and possible return values | |||
-latest_snapshot | Load the latest snapshot for the design | |||
-snapshot <snapshot> | Snapshot name to load database(s) from | |||
-writeable | Loads databases in a writeable mode. | |||
Description |
Load the databases for the currently opened project. The databases are by default loaded in read-only mode and must be loaded with the -writeable option if manipulation to the databases is desired. |
|||
Example Usage |
project_open onewire_nf design::load_design -latest_snapshot foreach asgn_id [design::get_assignments] { puts "Found assignment [design::get_assignment_info -name $asgn_id] [design::get_assignment_info -to $asgn_id] = [design::get_assignment_info -value $asgn_id]" } |
|||
Return Value | Code Name | Code | String Return | |
TCL_OK | 0 | INFO: Operation successful | ||
TCL_ERROR | 1 | ERROR: The specified snapshot name, <string>, is invalid. | ||
TCL_ERROR | 1 | ERROR: At least one snapshot must be supplied, but no snapshots were supplied. | ||
TCL_ERROR | 1 | ERROR: <string> snapshots were expected but <string> were supplied. |