From 06b024156f97e9b44041e0db1b2c61d054be7a02 Mon Sep 17 00:00:00 2001 From: Mohamed Kassem Date: Sun, 13 Nov 2022 20:13:06 -0800 Subject: [PATCH 1/5] Update README.md Signed-off-by: Mohamed Kassem --- models/ngspice/testing/README.md | 83 +++++++++++++++++++++++--------- 1 file changed, 61 insertions(+), 22 deletions(-) diff --git a/models/ngspice/testing/README.md b/models/ngspice/testing/README.md index 2205747f..8f3c709a 100644 --- a/models/ngspice/testing/README.md +++ b/models/ngspice/testing/README.md @@ -6,34 +6,31 @@ Explains how to run GF180nm models-ngspice regression. ```text πŸ“¦testing - ┣ πŸ“œMakefile - ┣ πŸ“œREADME.md - ┣ πŸ“¦regression - ┣ πŸ“¦smoke_test - ┣ πŸ“¦180MCU_SPICE_Models + ┣ πŸ“œMakefile (Makefile to setup test cases) + ┣ πŸ“œREADME.md (This file) + ┣ πŸ“¦sc_regression/gf180mcu_fd_sc_mcu7t5v0 (Standard cells regression that simulates the standard cells using different voltage stimulus.) + ┣ πŸ“¦regression (This is the regression folder that has a test case per device.) + ┣ πŸ“¦smoke_test (An inverter design that simulates in all corners to make sure that all corners will work with no issue.) + ┣ πŸ“¦180MCU_SPICE_Models (Foundry measurement data used for model calibration.) ``` ## Prerequisites At a minimum: - -- Git 2.35+ - Python 3.6+ -- ngspice-36+ - -### On Ubuntu, you can just +- ngspice-37+ -`apt install -y build-essential python3` - -- Check this [ngspice](http://ngspice.sourceforge.net/download.html) for ngspice installation. +Our test environment has the following: +- Python 3.9.12 +- ngspice-37 ## Regression Usage -To make a full test for GF180nm models-ngspice, you could use the following command in testing directory: +- To make a full test for GF180nm models-ngspice, you could use the following command in testing directory: -```bash -make all -``` + ```bash + make all + ``` - You could also check allowed targets in the Makefile, using the following command: @@ -43,9 +40,51 @@ make all ## **Regression Outputs** -- The resulting files are in `regression//` with name of `` that contains: +After running regression, you should find the following in the folder `run__