Clone this repository using the following commands:
$ sudo apt install -y git $ git clone https://github.com/Eyantra698Sumanto/avsdspamp_3v3_sky130
Refer the following websites for installation of eSim :
Ngspice gets installed alongwith eSim. If any other version ids to be installed refer: http://ngspice.sourceforge.net/download.html
Open the terminal and follow these steps:
git clone git://opencircuitdesign.com/open_pdks cd open_pdks ./configure --enable-sky130-pdk make sudo make install
Open the terminal and follow these steps:
git clone git://opencircuitdesign.com/magic cd magic sudo ./configure sudo make sudo make install
Refer following manual to know how to operate eSim: https://static.fossee.in/esim/manuals/eSim_Manual_2020_August.pdf
Add the sky130 devices and the libraries in .cir.out file
Check here how to run Ngspice: http://ngspice.sourceforge.net/ngspice-tutorial.html Use Ngspice 34
Run the following commands in the terminal(Use NGSPICE 34):
$cd avsdspamp_3v3_sky130/Prelayout/simulations $ngspice spamp_tran.cir
Run the following commands in the terminal(Use NGSPICE 34):
$cd avsdspamp_3v3_sky130/Prelayout/simulations $ngspice spamp_ac.cir
Run the following commands in the terminal(Use NGSPICE 34):
$cd avsdspamp_3v3_sky130/Prelayout/simulations $ngspice spamp_supplyana.cir
Run the following commands in the terminal(USe NGSPICE 34):
$cd avsdspamp_3v3_sky130/Prelayout/simulations $ngspice spamp_current.cir
Copy and paste the sky130A.tech file and execute following command in terminal:
magic -T sky130A.tech
Layout:
(Note: Take care of the DRC errors while designing layout)
After designing the layout run following command in tkcon terminal:
The spice code will get generated.
Save the spice code as .cir file and add the simulation parameters and sky130 libraries. Use NgSpice 35 The simulation waveforms are as follows:
Run the following commands in the terminal(Use NGSPICE 35):
$cd avsdspamp_3v3_sky130/Post_Layout_Simulations $ngspice spamp_tran.cir
Run the following commands in the terminal(Use NGSPICE 35):
$cd avsdspamp_3v3_sky130/Post_Layout_Simulations $ngspice spamp_ac.cir
Run the following commands in the terminal(Use NGSPICE 35):
$cd avsdspamp_3v3_sky130/Post_Layout_Simulations $ngspice spamp_supplyana.cir
Run the following commands in the terminal(Use NGSPICE 35):
$cd avsdspamp_3v3_sky130/Post_Layout_Simulations $ngspice spamp_current.cir
More accurate responses can be achieved if the above drawbacks can be considered. Any other material for the layout of resistors and capacitors can also be used for better results.
Sumanto Kar Contact: jeetsumanto123@gmail.com
Kunal Ghosh, Co-founder, VSD Corp. Pvt. Ltd. - kunalpghosh@gmail.com
Kunal Ghosh, Co-founder, VSD Corp. Pvt. Ltd. - kunalpghosh@gmail.com