Quartus® Prime Pro Edition User Guide: Debug Tools

ID 683819
Date 7/08/2024
Public
Document Table of Contents

7.5.7. Using the Design Service

You can use design service commands to work with Quartus® Prime design information.

Load

When you open System Console from the Quartus® Prime software, the current project's debug information is sourced automatically if the .sof file is present. In other situations, you can load the .sof manually.

set sof_path [file join project_dir output_files project_name.sof]
set design [design_load $sof_path]

System Console is now aware of the .sof loading.

Linking

Once a .sof loads, System Console automatically links design information to the connected device. The link persists and you can unlink or reuse the link on an equivalent device with the same .sof.

You can perform manual linking as follows:

set device_index 0; # Device index for our target
set device [lindex [get_service_paths device] $device_index]
design_link $design $device

Manual linking fails if the target device does not match the design service.

Linking fails even if the .sof programmed to the target is not the same as the design .sof.