configure_montecarlo
Set up Monte Carlo analysis by specifying component tolerances, process variations, and mismatch parameters for a netlist file. Returns a configuration ID for later execution.
Instructions
Configure a Monte Carlo analysis with component tolerances and return a config_id for later execution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| netlist | Yes | Path to the netlist file (.cir, .net, .asc) | |
| tolerances | No | R/C/L (and V/I type-level) component tolerance specifications. | |
| model_tolerances | No | Process-variation rules: per-.MODEL parameter perturbations sampled once per run. All instances of the model see the same perturbation (correlated). | |
| mismatch | No | Pelgrom-law mismatch rules per device prefix. Sampled INDEPENDENTLY per instance per run. Requires explicit AVT/AK — defaults are 0 (no mismatch) since coefficients are technology-specific. | |
| param_tolerances | No | Sample-once-per-run perturbation of .PARAM directives. Use this when the netlist already wires {param} substitutions into model cards or component values. | |
| num_runs | No | Number of Monte Carlo iterations | |
| seed | No | Optional RNG seed for reproducible runs. None = fresh entropy each call. |