Product Documentation
Spectre AMS Designer and Xcelium Simulator Mixed-Signal User Guide
Product Version 22.09, September 2022

Run Script for xrun

When creating an xrun run script for design verification, you need to specify the following items on the xrun command line:

Item/Option


Example

Digital design inputs

xrun

./source/digital/*.v \

AMS control file


amsdcb.scs \

Analog solver control file


top.scs \

Timescale for undefined Verilog modules


-timescale 1ns/100ps \

Tcl probe on behavioral nodes


-input probe.tcl

Some things to note:

Tcl File Creation to Probe Behavioral Nodes  

To probe behavioral nodes and save that information to a database file called waves.shm, you might create a Tcl file (probe.tcl) containing commands such as the following:

database -open waves -into waves.shm -defaultprobe -create -database waves -all -depth allprobe -create -database waves testbench.refclkprobe -create -database waves testbench.clk_p0_1xprobe -create -database waves testbench.clk_p0_4xprobe -create -database waves testbench.p0

You can also specify simulation control commands (such as run) in a Tcl file.
Related Topics



 ⠀
X