Intel® Quartus® Prime Pro Edition User Guide: Platform Designer

ID 683609
Date 12/12/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

8.13.11.2. get_wirelevel_expressions

Description

Retrieve a list of wire-level expressions from an optional input port, instance, or all expressions in the current level of system hierarchy. If the port bit selection is specified as an argument, the range must be identical to what was used in the set_wirelevel_expression statement.

Usage

get_wirelevel_expressions <instance_or_port_bitselection>

Returns

String[]
A flattened list of wire-level expressions. Every item in the list consists of right- and left-hand clauses of a wire-level expression. You can loop over the returned list using foreach{port expr} $return_list{}.

Arguments

instance_or_port_bitselection
Specifies which instance or port from which a list of wire-level expressions are retrieved using the <instance_name>.<port_name>[<bit_selection>] format.
  • If no <port_name>[<bit_selection>] is specified, the command causes the return of all expressions from the specified instance.
  • If no argument is present, the command causes the return of all expressions from the current level of system hierarchy.
The bit selection can be a bit-select, for example [0], or a partial range defined in descending order, for example [7:0]. If no bit selection is specified, the full range of the port is selected.

Example

get_wirelevel_expressions  
get_wirelevel_expressions module0
get_wirelevel_expressions {module0.portA[7:0]}