ade2metric
Description
ade2metric(
extracts the metric data from an expression in the Outputs Setup
of Cadence® ADE simulation results for the test
name,testName='maestroTestName')maestroTestName.
Note
The function only works in the Cadence environment or if you launch MATLAB® from Cadence.
Examples
Launch MATLAB from Cadence.You can extract the metric data from a specific expression defined in the Cadence Outputs Setup in MATLAB.
Consider expression named delay in the Outputs
Setup.

To extract the metric data for all data points from delay, first
load the results from the adeInfo object.
adeInfo.loadResult('DataPoint',-1)ans =
AdeInfoManager with properties:
adeSession: 'fnxSession0'
adeHistory: 'Interactive.177'
adeSkillSession: 'ade:SKILLPI_FOR_MATLAB_2039927:v1.0:virtuoso2039927:rfams-rh8-1'
adeTest: 'Bash_Test'
adeCurrentResultsPath: '/local/ptiwary/Lab_DataAnalytics/simulation/Bash/Clock_Buffer/maestro/results/maestro/Interactive.177/psf/Bash_Test/psf'
adeRDBLocation: '/local/ptiwary/Lab_DataAnalytics/Bash/Clock_Buffer/maestro/results/maestro/Interactive.177.rdb'
adeRDB: [1×1 cadence.DBManager]
adeDataPoint: -1
Extract the metric data.
x = ade2metric('delay')x =
1.0e-08 *
0.1674
0.1677
0.1676
0.1678
0.1717
0.1720
0.1717
0.1720
To extract the metric data for a single data point 1, load the
data from case 1.
adeInfo.loadResult('DataPoint',1)ans =
AdeInfoManager with properties:
adeSession: 'fnxSession0'
adeHistory: 'Interactive.177'
adeSkillSession: 'ade:SKILLPI_FOR_MATLAB_2039927:v1.0:virtuoso2039927:rfams-rh8-1'
adeTest: 'Bash_Test'
adeCurrentResultsPath: '/local/ptiwary/Lab_DataAnalytics/simulation/Bash/Clock_Buffer/maestro/results/maestro/Interactive.177/1/Bash_Test/psf'
adeRDBLocation: '/local/ptiwary/Lab_DataAnalytics/Bash/Clock_Buffer/maestro/results/maestro/Interactive.177.rdb'
adeRDB: [1×1 cadence.DBManager]
adeDataPoint: 1
Extract the metric data for data point 1.
x = ade2metric('delay')x = 1.6742e-09
You can measure the speed delay product (SDP) metric for an analog circuit in the Cadence® environment using a MATLAB® expression. To calculate SDP, multiply the slew rate of the waveform signal with the delay. For example, you can find the speed delay product of the /o1 signal using the MATLAB expression speedDelayProduct('/o1','delay'). As you can see, the expression calculates the speed delay product for all eight corners.

The MATLAB expression uses a MATLAB script (speedDelayProduct.m) that calls the ade2wave and ade2metric functions to extract the Cadence simulation data. The script is attached with this example as a supporting file.
% Use ade2wave to extract the waveform data for 'netname' [x,y]=ade2wave(netname); % Use slewrate function from Signal Processing Toolbox slewRate=abs(mean(slewrate(y,x))); % Use ade2metric to extract the metric data from Cadence simulation delay=ade2metric(metric); % Evaluate speed delay product sdp=slewRate*delay;
Once you run the simulation, you can see the SDP for all eight corners.

You can calculate the mean of delay for an analog signal /o1 in the Cadence® environment using a MATLAB® expression. As you can see, the expression calculates the mean delay after the simulation is run and has only one value.

The MATLAB expression uses a MATLAB script (metricAvg.m) that calls the ade2metric function to extract the Cadence simulation data. The script is attached with this example as a supporting file.
%Extract metric data from Cadence simulation delayData=ade2metric(metric); %Compute mean of delay meanMetric=mean(delayData);
Once you run the simulation, the result show the mean delay as a scalar.

Input Arguments
Name of the expression used in the Outputs Setup from Cadence ADE simulation results, whose metric data you want to extract, specified as a string.
If you do not specify a name for the expression in the Outputs Setup, you can use the complete expression as defined in Details to point to the expression.
Version History
Introduced in R2025a
See Also
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)