hi all , all my designs are showing this issue . please help me out what is the basic problem coming...
p
hi all , all my designs are showing this issue . please help me out what is the basic problem coming out . @Stefan Schippers @Mitch Bailey @Krzysztof Herman @Mohamed Monem.
m
It is an issue with the path of the devices symbol. Make sure that xschemrc file include the correct path to the symbols You can check the path by clicking Q on any device then you will find the path icon at the top.
p
@Mohamed Monem path showing now is same as earlier so what to do now
like in opening of xschem , top.sch opens at first . it is also not coming
Which path to follow to find error . please give me that path so that i cam identify what is missing @Mohamed Monem @Stefan Schippers
m
What are the values of your
PDK_ROOT
,
PDK
, and
PDKPATH
variables?
s
In the directory where you want to start xschem create this minimal xschemrc file: PDK_ROOT should be changed according to the location where it is installed on YOUR system.
Copy code
### change PDK_ROOT to point to **your** PDK installation!
set PDK_ROOT /home/schippes/share/pdk
#### change PDK to point to the process variant. (sky130A, sky130B, ...)
set PDK sky130A

#### path for xschem base symbols (ideal components, pins, labels etc) 
set XSCHEM_LIBRARY_PATH $XSCHEM_SHAREDIR/xschem_library

#### path for sky130 process specific symbols
append XSCHEM_LIBRARY_PATH :$PDK_ROOT/$PDK/libs.tech/xschem
👍 1
p
@Stefan Schippers how to do this can you guide in detail
if it is in step by step form . will be very benifial .please guide in doing so ? thank you @Stefan Schippers
s
• Launch a command terminal shell •
cd
into a directory where you plan to start xschem
Copy code
mkdir newdirectory
cd newdirectory
• start a text editor and create a new file named
xschemrc
• type the following text
Copy code
#### change PDK_ROOT to point to **your** PDK installation!
set PDK_ROOT /home/schippes/share/pdk
#### change PDK to point to the process variant. (sky130A, sky130B, ...)
set PDK sky130A

#### path for xschem base symbols (ideal components, pins, labels etc) 
set XSCHEM_LIBRARY_PATH $XSCHEM_SHAREDIR/xschem_library

#### path for sky130 process specific symbols
append XSCHEM_LIBRARY_PATH :$PDK_ROOT/$PDK/libs.tech/xschem
• save and exit • start xschem:
xschem
p
@Stefan Schippers @Mohamed Monem hi , i have followed the steps as you said . but the way xschem earlier open it is not opening in the same way like top.sch is not there .i habe made my own simulation folder that is also missing .means all my designs . in library manager also paths are changed automatically which i am not able to understand .
s
the top.sch schematic will be opened on startup by adding this additional line to xschemrc:
set XSCHEM_START_WINDOW {sky130_tests/top.sch}
If you still don't see correctly your designs you need to provide more data. • Where is
pfet_01v8_lvt.sym
installed on the system? there should be a file installed under
.../pdk/sky130A/libs.tech/xschem/sky130_fd_pr
please provide the full pathname. • Where is
ammeter.sym
installed on the system? It should be in a devices/ directory under
.../share/xschem/xschem_library/devices
. Please provide the full pathname. If you answer the two above questions I can provide you to a correct xschemrc file. Also attach one of the .sch files that xschem does not display correctly. I will try to open on my system and see if there are problems with the file.