-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing MOS library #322
Comments
@ArashKat please verify your PDK installation. Please checkout this manual. The core issue is probably:
Our MOS devices use PSP model written in Verilog-A, we distribute source code but the user have to compile it using open source tool openvaf. The binary have to be placed in |
Hi @ArashKat, could you please check the recommendation and give your feedback if it solves your issue? |
Hello the manual was very helpful ... it solved the issue: however it doesn't recognize the resistors; Xschem crashes and suddenly will be closed when I select a pdk's resistor. |
Hi @KrzysztofHerman, could you please take a look? |
For me, the problem is that after running the install.py I did not create any r3_cmc file .... I added them manually using this link: https://github.com/dwarning/VA-Models/releases/tag/v2.2 by copying the VA-Models-osdilibs.zip file to $PDK_ROOT/$PDK/Lib.tech/ngspice/openvaf directory and added the following command: osdi '$PDK_ROOT/$PDK/libs.tech/ngspice/openvaf/osdilibs/r3_cmc.osdi' to .spiceinit in $HOME still Xschem jump out when I select the resistors |
The following error exists in simulating MOSs:
Error on line:
n.xm1.nsg13_hv_pmos net2 net1 0 0 xm1:sg13g2_hv_pmos_psp w= 1.000000000000000e-06 l= 4.500000000000000e-07 nf= 1.000000000000000e+00 mult= 1.000000000000000e+00 as= 3.400000000000000e-13 ad= 3.400000000000000e-13 ps= 2.680000000000000e-06 pd= 2.680000000000000e-06 dta= 0.000000000000000e+00 ngcon=2
could not find a valid modelname
Simulation interrupted due to error!
the netlist:
**.subckt dc_hv_pmos
Vgs net1 GND -0.75
Vds net3 GND -1.5
XM1 net2 net1 GND GND sg13_hv_pmos w=1.0u l=0.45u ng=1 m=1
Vd net3 net2 0
.save i(vd)
**** begin user architecture code
.lib /home/arashka/IHP-Open-PDK/ihp-sg13g2/libs.tech/ngspice/models/cornerMOShv.lib mos_tt
.param temp=27
.control
save all
op
print I(Vd)
dc Vds 0 -2 -0.01 Vgs -0.45 -1.1 -0.05
write dc_hv_pmos.raw
.endc
**** end user architecture code
**.ends
.GLOBAL GND
The text was updated successfully, but these errors were encountered: