Overview
“Adiabatic analysis” is a structuring method for ngspice scripts that allows a user to create an adiabatic circuit simulation file. This version of the adiabatic analysis software supports shift registers.
Files will have the following sections:
- A command line
- A netlist with the circuit under test
- A line that includes a fairly large software framework or test harness: .include saa.cir
The file saa.cir can be used for multiple circuits. The features of the test harness include:
- DC supply voltages GND and Vp on 70 and 71
- 8-phase clocks on 110-117, responsive to parameters for frequency and fine control of waveform shape
- A power measurement subsystem that creates plots 1 and 2
- Waveform plots 3 and 4, plotting signals wv3_nn and wv4_nn, nn = 00..23 generated by the circuit under test
- A an ability to perform parameter sweeps
Setup Instructions
The following files must be present in the working directory:
- saa.cir (this file): The main file, yet just containing a “test harness”; the user will run one of the main programs below:
- sS2.cir: Static 2-Level Adiabatic Logic (S2LAL) shift register circuit, with .include saa.cir at the end
- sQ2.cir: Quiet 2-Level Adiabatic Logic (Q2LAL) shift register circuit, with .include saa.cir at the end
- snR.cir: nMOS Reversible Energy Recovery Logic (nRERL) shift register circuit, with .include saa.cir at the end
- nn.cir: Note note prototype quantum computer control circuit, with .include saa.cir at the end
The following must be available:
- The working directory must have a gp subdirectory. The software deposits output files in the subdirectory to reduce clutter
- An ngspice installation. This file was tested with version 36. A gnuplot installation allows more sophisticated plots [ngspice 36, section 18.7.1].
- modelcard.nmos and modelcard.pmos: device models for BSIM4 from ngspice distribution (optional)
- ps_nsoi1_uni.58.scs and ps_psoi1_uni.58.scs: device models for the undisclosed SOI transistor undisclosed SOI
- Sky130 PDK, see notes below (optional)
Simulation code is in the circuit file saa.cir in the github repository https://github.com/erikdebenedictis.