monte carlo
**Monte Carlo simulation** is the **computational method that uses random sampling to solve deterministic and stochastic problems** — generating thousands or millions of random trials to estimate probability distributions, predict yields, quantify uncertainties, and optimize processes in semiconductor manufacturing and beyond.
**What Is Monte Carlo Simulation?**
- **Method**: Repeatedly sample from probability distributions to compute outcomes.
- **Core Idea**: Replace analytical solutions with statistical sampling.
- **Applications**: Yield prediction, process variability, ion implantation, lithography.
- **Strength**: Handles complex, multi-variable problems where analytical solutions are intractable.
**Why Monte Carlo in Semiconductors?**
- **Yield Prediction**: Simulate millions of die with process variations to predict yield.
- **Ion Implantation**: Track individual ion trajectories through crystal lattice.
- **Lithography**: Simulate photon shot noise effects at EUV wavelengths.
- **Reliability**: Estimate failure rates from accelerated test data.
- **Design Centering**: Optimize nominal parameters for maximum yield margin.
**Key Concepts**
- **Random Number Generation**: Pseudo-random sequences (Mersenne Twister).
- **Probability Distributions**: Normal, lognormal, uniform for process parameters.
- **Convergence**: Accuracy improves as 1/√N (N = number of samples).
- **Variance Reduction**: Importance sampling, stratified sampling, antithetic variates.
- **Confidence Intervals**: 95% CI narrows with more samples.
**Monte Carlo Types in Semiconductor Applications**
- **Process MC**: Vary process parameters (CD, thickness, doping) → predict yield.
- **Device MC**: Vary device parameters → predict circuit performance distribution.
- **Particle Transport MC**: Track ions/photons through materials (SRIM, MCNP).
- **Kinetic MC**: Simulate atomic-scale processes (deposition, etching, diffusion).
**Practical Example — Yield MC**
- Define process parameter distributions (CD: μ=10nm, σ=0.5nm; Vt: μ=0.3V, σ=10mV).
- Sample 100,000 random parameter sets.
- Simulate circuit performance for each set.
- Count failures (outside spec) → Yield = passing / total.
- Identify dominant failure modes and sensitivity.
**Tools**: MATLAB, Python (NumPy/SciPy), Cadence Spectre MC, Synopsys HSPICE MC, SRIM.
Monte Carlo simulation is **indispensable in semiconductor engineering** — providing the statistical framework to predict, optimize, and guarantee process and device performance under real-world manufacturing variation.