Product Documentation
Spectre Circuit Simulator Reference
Product Version 23.1, September 2023

Dynamic Subckt Port Power Check (dyn_subcktpwr)

Description

Reports port currents, port powers, and subcircuit powers.

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

The power analysis can be done by using the parameter power. When parameter power is set to on, then two additional sections are generated. The first section reports the average, RMS and maximum of power entering at all ports, which is given in the parameter port. The second section reports the average, RMS and maximum of power consumed by each instance of a subcircuit that is defined by the inst parameter. Note that for the second section it is mandatory to have the parameter port set to [*].

Note that Max is defined as the maximum of the absolute of a waveform within a time_window. For example, consider a current entering a port having a peak value of 1mA and another peak value of -2mA below 0. Therefore, the check will report "Max (A)" as -2mA and the time point will be reported in "Max Time(s)". Therefore, this check will use an absolute function to find the maximum current/power but it will report that finding with a regular current/power. Unlike Max, the average and RMS are defined as the average or RMS value of a regular waveform within a time_window, respectively.

The filter parameter (filter) can be used to filter out ports that are connected only to the gate of MOSFET.

The results are written to the dynamic.xml file, which can be viewed in a Web browser.

Syntax

Name dyn_subcktpwr parameter=value ...

Parameters

Design check parameters

port

[...]

Ports to be checked. Default is none.

net

Net. Default is none.

power

off

report power or not.Possible values are off and on.

Filtering parameters

filter

none

check all ports or only those not connecting to gates.Possible values are none and gates.

abs_avg

0

Calculate normal average value (0) or absolute average value (1). Default is 0.Possible values are 0 and 1.

top

0

Report total current of top-level voltage source (1) or not (0). This parameter is supported only with Spectre FX. The default value is 0.Possible values are 0 and 1.

ith

0.0

Port currents with either abs(AVG), RMS or abs(MAX) value larger than the specified ith are reported. In other words, if all abs(AVG), RMS and abs(MAX) values are below ith then it will be filtered out. Default is 0.0.

time_window

[tstart, tstop] sec

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

error_limit

10000

Maximum number of errors reported. Default is 10000.

Wildcard scoping

inst

[...]

Subcircuit instances to which the check is applied. Default is none.

depth

Hierarchy levels (starting from top, instance, or subcircuit scope) to be checked. Default is none.

Related Topics

Dynamic Subcircuit Port Power Check


Return to top
 ⠀
X