https://open-source-silicon.dev logo
#sky130
Title
# sky130
s

Starkzz

03/23/2022, 7:40 AM
Note: No compatibility mode selected! Circuit: ** sch_path: /home/manohar/untitled.sch Error: unknown subckt: xm1 net1 net2 0 0 sky130_fd_pr__nfet_01v8 0.15 {1*nf=1 ad=()int((nf+1)/2)} 1.0 0 {()int((nf+2)/2)}} {()2*int((nf+1)/2)}} {()2*int((nf+2)/2)}} {()0.29}} {()0.29}} 0 0 0 1 1 Simulation interrupted due to error! ngspice 11 -> edit untitled.spice ^[ Note: No compatibility mode selected! Circuit: ** sch_path: /home/manohar/untitled.sch Error: unknown subckt: xm1 net1 net2 0 0 sky130_fd_pr__nfet_01v8 0.15 {1*nf=1 ad=()int((nf+1)/2)} 1.0 0 {()int((nf+2)/2)}} {()2*int((nf+1)/2)}} {()2*int((nf+2)/2)}} {()0.29}} {()0.29}} 0 0 0 1 1 run circuit? n running circuit Error: there aren't any circuits loaded.
t

Tim Edwards

03/23/2022, 12:31 PM
You need the line
.lib /path/to/sky130.lib.spice tt
pointing to the open_pdks installation of the PDK models, such as
/usr/local/share/pdk/sky130A/libs.tech/ngspice/sky130.lib.spice
. Also, if you get the "No compatibility mode selected" message, you should copy the
spinit
file from the same directory into your local directory and rename it to
.spiceinit
.
s

Starkzz

03/24/2022, 3:59 AM
Sir one humble request of mine can we have a meeting in any of your free time This Open-source tool is new for us We 5 students want to work on it for our final year project but couldn't do it cause of the simulation problem that we are getting in xschem Please tell us a free time of your, so that we could have a meeting. Thank Ü
8 Views