blob: 2205747fa2d8546181882222c50596f358bf98c0 [file] [log] [blame] [view]
# Globalfoundries 180nm MCU models-ngspice regression
Explains how to run GF180nm models-ngspice regression.
## Folder Structure
```text
📦testing
┣ 📜Makefile
┣ 📜README.md
┣ 📦regression
┣ 📦smoke_test
┣ 📦180MCU_SPICE_Models
```
## Prerequisites
At a minimum:
- Git 2.35+
- Python 3.6+
- ngspice-36+
### On Ubuntu, you can just
`apt install -y build-essential python3`
- Check this [ngspice](http://ngspice.sourceforge.net/download.html) for ngspice installation.
## Regression Usage
To make a full test for GF180nm models-ngspice, you could use the following command in testing directory:
```bash
make all
```
- You could also check allowed targets in the Makefile, using the following command:
```bash
make help
```
## **Regression Outputs**
- The resulting files are in `regression/<device_folder>/` with name of `<device_name><options>` that contains:
1. A final report file of all results.
2. measured folder that contains measured data used in regression.
3. simulated folder that contains simulated data used in regression.
4. netlists folder that contains spice files used in simulation.