adeinfo2msa
Syntax
Description
adeinfo2msa
extracts simulation data from Cadence® ADE simulation runs to analyze them using the Mixed Signal
Analyzer app.
You can use the name-value pair arguments to specify which simulation runs and tests to import from the Cadence ADE Assembler/Maestro. If no name-value arguments are defined, the function by default creates a .mat file where only metrics data from the latest Cadence simulation run is saved. The function then launches the Mixed Signal Analyzer app and loads the generated .mat file.
Examples
Export Cadence® Simulation Data to MAT File
You can export the Cadence® simulation run results to a .mat file after an interactive run result is created. The .mat file can then be imported to the Mixed-Signal Analyzer app. To export the data, launch MATLAB® from Cadence ADE by clicking the M button in the toolbar.
The MATLAB session that opens should have adeInfo
in the base workspace.
Run the function adeinfo2msa
. Since no name-value arguments are specified, the function creates a .mat file with only the metrics data from the latest Cadence simulation run. The .mat file is saved in the present working directory.
Once the .mat file is generated, the app automatically launches with the imported .mat file.
Use the name-value pair argument import2msa
to determine whether to launch the app with the generated .mat file or just to save the .mat file in the present working directory. You can also specify the simulation run type, run name, and test name.
You can also specify the signalList
argument to select a subset of probed signals to import.
adeinfo2msa(metricsOnly=false, signalList={'/ldo_out','/I_load'})
This command extracts the metrics data, probed signals ldo_out
and I_load
, and all the expression-based waveform data available in the Cadence simulation run to MAT files.
Input Arguments
Name-Value Arguments
Specify optional pairs of arguments as
Name1=Value1,...,NameN=ValueN
, where Name
is
the argument name and Value
is the corresponding value.
Name-value arguments must appear after other arguments, but the order of the
pairs does not matter.
Before R2021a, use commas to separate each name and value, and enclose
Name
in quotes.
Example: adeinfo2msa(runName='Interactive.70',import2msa=false)
imports the simulation data of the Cadence interactive run number 70, but does not launch the Mixed-Signal
Analyzer app.
import2msa
— Launch Mixed-Signal Analyzer app after importing simulation data
true
(default) | false
Determine whether to launch the Mixed-Signal Analyzer app after
importing simulation data from Cadence. Setting it to true
launches the app as well as
creating the MAT file and saving it to the present working directory. Setting it to
false
only creates the MAT file and saves it to the present
working directory, but does not launch the app.
metricsOnly
— Only import metrics from simulation data
true
(default) | false
Determine whether to import only the metrics or everything from the Cadence simulation data. Set it to false
to import metrics,
select probed signals and expression-based waveforms, at the cost of processing
time.
Note
If you set metricsOnly
to false
but do
not provide the signalList
argument, a pop-up window asks you
to select the signals you want to import when the Mixed-Signal Analyzer
app launches.
testName
— Test name mentioned in the Cadence ADE Maestro view
cell array of strings
The test name as mentioned in Cadence ADE Maestro view. This is the test whose simulation data you want to import. You can import multiple tests using a cell array of strings.
runName
— Cadence simulation run name
cell array of strings
The Cadence simulation run name. You can find it in the Cadence interactive run results history as
Interactive.<runNumber>
. You can import data for multiple runs
using a cell array of strings.
runType
— Type of Cadence
Interactive
(default) | Ocean
Specify whether processing Interactive
or
Ocean
simulation run results from Cadence.
fileName
— Name of MAT file where simulation results is to be stored
cell array of strings
Specify the name of the MAT file where the extracted Cadence simulation data is to be stored.
signalList
— Name of probed signals to import
cell array of strings
Specify the name of the probed signals to import to the Mixed-Signal Analyzer app. You can select multiple signals using a cell array of strings.
Note
If you set metricsOnly
to false
but do
not provide the signalList
argument, a pop-up window asks you
to select the signals you want to import when the Mixed-Signal Analyzer
app launches.
More About
Generated Simulation Data
The adeinfo2msa
generates a .mat file to save the
data from the Cadence simulation run and saves it in the current working directory. The Cadence simulation run is pointed by an adeInfo
object in the
MATLAB® base workspace. The .mat file contains the simulation results and metrics
data. It also contains the information about individual waveform data if you select to save
the waveform data.
You can select to save both the metrics data and waveforms by setting
metricsOnly
argument to false
. In this case, the
function creates a folder that contains the waveform data. The waveform data for each node
per analysis is saved in its own .mat file in the folder. You can also select specific
probed signals using the signalList
argument. The function imports all
expression-based waveforms.
Version History
Introduced in R2022b
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.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- 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)