You can use the
LINE_NUMBER properties on a cell to get information about where the cell is located in the RTL source. You can then open the RTL source in a text editor and navigate to the appropriate line number. Following is the associated Tcl command:
- Tcl Command:
- Tcl Command Example: The following example shows how to use the
get_cellsTcl command in an open design to get a specific instance of a cell, query the properties of that cell object, and report the file and line of interest:
set cellName dac_spi_i0 set fileName [get_property FILE_NAME [get_cells $cellName]] set lineNum [get_property LINE_NUMBER [get_cells $cellName]] puts "Cell: $cellName is instanced in file: $fileName \ at line number $lineNum"