Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 10/04/2021
Public

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

Document Table of Contents

3.1.2.8. bpps::get_location_info (::quartus::bpps)

The following table displays information for the bpps::get_location_info Tcl command:

Tcl Package and Version

Belongs to ::quartus::bpps

Syntax bpps::get_location_info [-h | -help] [-long_help] [-children] [-gid] [-name] [-parents] [-placed_cells] [-properties] [-type] <location_id>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-children Query the children location IDs
-gid Query the gid of the location IDs
-name Return the location name of the location id
-parents Query the parent location IDs
-placed_cells Return the placed cells at the location id
-properties Return the device location properties in json
-type Return the location type of the location id
<location_id> location id
Description

Gets information about the specified location (referenced by location ID). You can obtain location using the periph::get_locations Tcl command or using the bpps::get_location_info -properties <loc_id> Tcl command

Example Usage
project_open onewire_nf

blueprint::initialize
periph::update_plan

foreach cell [periph::get_cells -placed] {
	puts "Found cell ID $cell named [periph::get_cell_info -name $cell] placed in location [periph::get_cell_info -location $cell] named [periph::get_location_info -name [periph::get_cell_info -location $cell]]"
}
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful

Did you find the information on this page useful?

Characters remaining:

Feedback Message