Product Documentation
Spectre FX Circuit Simulator User Guide
Product Version 23.1, September 2023

Dynamic Subcircuit Port Power Check (dyn_subcktpwr)

Spectre Syntax

title dyn_subcktpwr <port=[port1 port2...]> <inst=[inst1 inst2...]> <power=[on|off]> error_limit=<value> time_window=[start1 stop1 start2 stop2 ....] <save=no|violation> <spice=no|yes> <depth=n> filter=[none|gates] ith=<value>

SPICE Syntax

.cck title dyn_subcktpwr <port=[port1 port2...]> <inst=[inst1 inst2...]> <net=[n1 n2...]> <power=[on|off]> error_limit=<value> time_window=[start1 stop1 start2 stop2 ....] <save=no|violation> <spice=no|yes> <depth=n> filter=[none|gates] ith=<value>

Description

Reports port currents, port powers, and subcircuit powers.

The port current is positive when the current is going into a subcircuit. This check will report average, RMS, and maximum values of the current entering a port.

Any port name matching inst and port parameters are reported.

Power analysis can be done by using the parameter power. When the parameter power is set to on, then two additional sections are generated. The first section reports the average, RMS and the maximum power entering the ports, specified using the parameter port. The second section reports the average, RMS, and the maximum power consumed by each instance of a subcircuit, specified using the parameter inst.

The wildcard in port parameter only considers the ports defined in the subcircuit definition. For global nodes, you need to add the ports manually.

Arguments

port

The ports that need to be analyzed. Default value is none.

inst

Subcircuit instances to which the circuit check is applied. Default is inst=*

power

If set to off (default), report only port currents. If set to on, report port currents, and power of ports and subcircuits.

depth

Hierarchy level (from top level) to be checked. depth=3 reports errors on top level plus 3 sublevels. Default is none.

filter

If set to none (default), all gates are checked. If set to gates, ports connected to MOSFET gates are skipped.

error_limit

Maximum number of errors to be reported. Default is 10000.

time_window

Time window to which the circuit check is applied. Multiple non-overlapping time windows are supported. Default time window is 0 to tend.

save

Specifies how to probe the signals specified within this circuit check. Possible values are:

  • no: None of the signals in this circuit check are probed. This is the default value.
  • violation: Automatically probe the signals with violations under this circuit check.

spice

Specifies whether to save the probed signals specified by the save parameter in the SPICE syntax.

Possible values are:

  • yes: Saves the signals in SPICE syntax
  • no: Saves the signals in Spectre syntax. This is the default value.

ith

If all the abs(AVG), RMS and abs(MAX) values are below ith, the values will be filtered out.

Example

Spectre Syntax

chk1 dyn_subcktpwr inst=[*] port=[*] depth=1 time_window=[0 10m] power=on

SPICE Syntax

.cck chk1 dyn_subcktpwr inst=[*] port=[*] depth=1 time_window=[0 10m] power=on

The above command reports the port current for all ports of all instances in the time window between 0 and 10ms. The report includes the current and power information for all subcircuit instances one level down the hierarchy.

The following is an example of the report that is displayed in the Web browser:

Related Topics

Dynamic Checks


Return to top
 ⠀
X