Generate folded-cascode opamp parameters with interactive CLI.
Install Node.js
and git
.
Open a terminal, enter the following commands (the same on Windows, Linux, macOS).
Clone the repository
git clone https://github.com/dragonman225/opamp-generator.git
Go into the directory
cd opamp-generator
Install Javascript libraries
npm install
Edit src/config.yml
. Change the process dependent parameters and performance specifications.
Start the interactive generator
npm run start
To consider channel-length modulation and get optimized MOSFET sizes, a lambda lookup table is needed. However, since the relationship of lambda and gate length is process-dependent, I do not provide my lookup table here. You need to do a simulation using your process model and save the lambda v.s. gate length curve as a compatiple CSV file described below, then edit the config to import.
length,lambda_n,lambda_p
1.8E-07,0.6,0.4
1.9E-07,0.58,0.36
2E-07,0.55,0.33
length
is gate length in meters. lambda_n
is lambda of NMOS. lambda_p
is lambda of PMOS.lambda = 1 / (Id * ro - Vds)
.src/config.yml
, edit the lambda_table
property. Change its value to your path. Absolute path is recommended.
lambda_table: your_csv_lookup_table.csv
Please see presentation file : https://slides.com/aic999/deck