Hi, I'm trying to open the pdk with xschem to start simulating, but I'm having problems, I already defined the pdk in bash and I get this error. (PDK gf180mcuC)
s
Stefan Schippers
04/11/2023, 10:01 PM
There is probably a syntax error in your xschemrc. The PDK variable usually sets the process variant (gf180mcuC) and this variable is appended to PDK_ROOT. Try to go through the xschemrc file and if there is no definition for PDK add one, may be something like:
variable but the line above is using it. Move the PDK definition above it...
...
if {[info exists PDK_ROOT]} {
set 180MCU_MODELS ${PDK_ROOT}/${*PDK*}/libs.tech/ngspice/models
set PDK gf180mcuC
puts stderr "pdk installation: using $PDK_ROOT"
puts stderr "180MCU_MODELS: $180MCU_MODELS"
}
...
j
Juan Andres
04/25/2023, 3:10 AM
Hi, but now I have this problem
s
Stefan Schippers
04/25/2023, 8:10 AM
Edit your xschemrc file
delete every line with PDK_ROOT, XSCHEM_LIBRARY_PATH, 180MCU_MODELS.
add these 8 lines and set the paths according to your system installation.
You will probably need to change only the 1st line.
Copy code
set PDK_ROOT /home/schippes/share/pdk
set PDK gf180mcuC
set XSCHEM_LIBRARY_PATH {}
append XSCHEM_LIBRARY_PATH ${XSCHEM_SHAREDIR}/xschem_library
append XSCHEM_LIBRARY_PATH :$PDK_ROOT/$PDK/libs.tech/xschem
append XSCHEM_LIBRARY_PATH :$env(PWD)
set 180MCU_MODELS ${PDK_ROOT}/$PDK/libs.tech/ngspice
set XSCHEM_START_WINDOW {tests/0_top.sch}
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.