Get_simulation_memory_info, Usage, Options – Altera Quartus II Scripting User Manual
Page 491: Description, Example, Get_simulation_memory_info –361
Chapter 3: Tcl Packages & Commands
3–361
simulator
© July 2013
Altera Corporation
Quartus II Scripting Reference Manual
get_simulation_memory_info
Usage
get_simulation_memory_info -node <hpath> <depth|width>
Options
-node <hpath>: Hierarchical path name of the logic memory
<depth|width>: Depth or width of the specified logic memory
Description
Returns the depth (number of words or addresses) or width (number of bits per memory word) of the
specified logic memory.
If neither "depth" nor "width" is specified as the positional argument, both depth and width information
are returned.
Example
Example 1
---------
# Get both memory depth and width information for
# node "|fast_write|lpm_rom:inst1|altrom:srom|content"
get_simulation_memory_info -node \
|fast_write|lpm_rom:inst1|altrom:srom|content
Example 2
---------
# Get memory depth information for
# node "|fast_write|lpm_rom:inst1|altrom:srom|content"
get_simulation_memory_info -node \
|fast_write|lpm_rom:inst1|altrom:srom|content depth
Example 3
---------
# Get memory width information for
# node "|fast_write|lpm_rom:inst1|altrom:srom|content"
get_simulation_memory_info -node \
|fast_write|lpm_rom:inst1|altrom:srom|content width