unlink_project_from_device (::quartus::external_memif_toolkit)

The following table displays information for the unlink_project_from_device Tcl command:

Tcl Package and Version

Belongs to ::quartus::external_memif_toolkit 1.0

Syntax unlink_project_from_device [-h | -help] [-long_help]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
Description
	Unlinks the currently opened project from the currently linked 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

	unlink_project_from_device

	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: 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: The currently opened project has not been linked to a device. Run link_project_to_device to link a project to a device.
TCL_ERROR 1 ERROR: Toolkit has not been initialized. Use initialize_connections to initialize the toolkit.