write_hw_sio_scan - 2024.1 English

Vivado Design Suite Tcl Command Reference Guide (UG835)

Document ID
UG835
Release Date
2024-05-30
Version
2024.1 English

Write scan data to a file.

Syntax

write_hw_sio_scan [‑force] [‑quiet] [‑verbose] <file> <hw_sio_scan>

Returns

Name of the output file.

Usage

Name Description
[-force] Overwrite existing file
[-quiet] Ignore command errors
[-verbose] Suspend message limits during command execution
<file> hardware SIO_scan file name
<hw_sio_scan> hardware SIO scan data object

Categories

Hardware

Description

Write the populated hw_sio_scan object after run_hw_sio_scan completes.

To analyze the margin of a given link, it is often helpful to run a scan of the link using the specialized Eye Scan hardware of AMD UltraScale™ devices or 7 series FPGAs. The AMD Vivado™ serial I/O analyzer feature lets you to create, run, and save link scans.

This command saves the scan to disk after completing the scan run. The format of the file is a CSV file of values observed while running the scan.

This command returns the filename of the file output, or returns an error if the command fails.

Arguments

-force - (Optional) Overwrite the specified file if it already exists.

-quiet - (Optional) Execute the command quietly, returning no messages from the command. The command also returns TCL_OK regardless of any errors encountered during execution.
Note: Any errors encountered on the command-line, while launching the command, will be returned. Only errors occurring inside the command will be trapped.
-verbose - (Optional) Temporarily override any message limits and return all messages from this command.
Note: Message limits can be defined with the set_msg_config command.

<file> - (Required) The filename of the scan file to write. The default suffix of .csv will be assigned to the scan file if a suffix is not specified.

Note: If the path is not specified as part of the file name, the file will be written into the current working directory, or the directory from which the tool was launched.

<hw_sio_scan> - (Required) Specify a hw_sio_scan object to write to disk. The hw_sio_scan must be specified as an object as returned by the get_hw_sio_scans command.

Example

The following example writes the specified hw_sio_scan object to disk, over writing a file of the same name if one exists:

write_hw_sio_scan -force C:/Data/Vivado_Debug/LoopBack_1.csv \
[get_hw_sio_scans {SCAN_3}]