Hi all, I am trying to run testbench for LDO with ...
# xschem
a
Hi all, I am trying to run testbench for LDO with DC analysis and sweeping one voltage to get the VTC but i get some error and not able to proceed? How do i proceed?
s
Please send the
Jaga_LDO_VC_LY_tb1.spice
file generated by xschem in the simulation directory (usually ~/.xschem/simulations) and also the
Jaga_LDO_VC_LY_xsch.spice
file that you are including into the testbench.
a
Hello Stefan.. I have attached both of them.
Error leads to the device XM7 , I can not figure out what it is ?
s
@Antaryami Panigrahi 2 things to fix: 1. You should not include
Jaga_LDO_VC_LY_xsch.spice
, the
Jaga_LDO_VC_LY
subcircuit is already present in the testbench. 2. create a
.spiceinit
file in the directory where simulation is done (usually
~/.xschem/simulations
) with following content:
Copy code
set ngbehavior=hsa
set ng_nomodcheck
The above file is needed to set ngspice in HSPICE compatibility, needed for skywater and other open source pdks. With these changes simulation runs fine.
1.png
a
Thank you so much @Stefan Schippers, 😀. It almost crushed my head. It's working.😁. Why the other SPICE gave me a tough time ?