link_project_to_device (::quartus::external_memif_toolkit)
The following table displays information for the link_project_to_device Tcl command:
Tcl Package and Version |
Belongs to ::quartus::external_memif_toolkit 1.0 |
|||
Syntax | link_project_to_device [-h | -help] [-long_help] -device_name <name> -hardware_name <name> [-jdi_file <name> ] [-sof_file <name> ] | |||
Arguments | -h | -help | Short help | ||
-long_help | Long help with examples and possible return values | |||
-device_name <name> | The name of the device to connect to | |||
-hardware_name <name> | The name of the hardware connection to use | |||
-jdi_file <name> | Specifies the JTAG Debugging Information file to use when creating the design link. | |||
-sof_file <name> | Specifies the SOF file to use when creating the design link. | |||
Description |
Links the currently opened project to the specified target device on the specified hardware. |
|||
Example Usage |
project_open dut initialize_connections set hw_name [lindex [get_hardware_names] 0] set dev_name [lindex [get_device_names -hardware_name $hw_name] 0] link_project_to_device -hardware_name $hw_name -device_name $dev_name -sof_file dut.sof terminate_connections project_close |
|||
Return Value | Code Name | Code | String Return | |
TCL_OK | 0 | INFO: Operation successful | ||
TCL_ERROR | 1 | ERROR: An error occurred while linking the project to the device. | ||
TCL_ERROR | 1 | ERROR: No device name called <string> could be found on hardware named <string>. | ||
TCL_ERROR | 1 | ERROR: No hardware name called <string> could be found. | ||
TCL_ERROR | 1 | ERROR: The JTAG Debug Information (.jdi) file called <string> could not be found. Ensure this file exists or run quartus_asm to create it. | ||
TCL_ERROR | 1 | ERROR: A JTAG Debug Information (.jdi) file or a SOF file (.sof) is required for linking a project to a device, but no file was supplied. Ensure this file exists or run quartus_asm to create it. | ||
TCL_ERROR | 1 | ERROR: The currently opened project has already been linked to a device. Use unlink_project_from_device to unlink the project from a device. | ||
TCL_ERROR | 1 | ERROR: The SOF (.sof) file called <string> could not be found. Ensure this file exists or run quartus_asm to create it. | ||
TCL_ERROR | 1 | ERROR: Toolkit has not been initialized. Use initialize_connections to initialize the toolkit. |