I get this error when trying to open xschem
a
I get this error when trying to open xschem
@Arman Avetisyan
a
Why copy yhe xschemrc?
remove it and use rcfile argument when running xschem
a
Sorry remove what?
How to ise rcfile argument?
a
1. Remove the file you copied 2. Provide the rcfile to the xschem as an argument to --rcfile. It might not be named that way. Read the documentation for xschem, as I am not in front of conputer right now
a
I did not copy anyfile. xschemrc is created when I export the PDK files.
When I run it after writing these commands (after xschemrc is created), I have the error. the commands are is the picture
a
1. I can see the cp command right above the xschem 2. In the next sentence you say you copied the file
a
Yes yes
a
remove the copied file
a
I copied it
So what about the pdk files?
a
and then use --rcfile <path to the xschemrc> or similar argument. I cant remember the name, look it up in the xschem documentation
a
@Arman Avetisyan I advised him to do that
Didn't know about the rcfile switch
Thanks for sharing
s
@Ahmed Ramadan (Mabrains) Can you please tell the xschem version? (xschem -v) Verify no xschem package is installed from Ubuntu or other app stores, these are all way too old.
a
@Stefan Schippers we compile it from souce
We don't use Ubuntu for installation.
s
@Ahmed Ramadan (Mabrains) your procedure is correct. Create a new directory, export the PDK_ROOT shell variable, copy the xschemrc file into the directory and start xschem from the directory. Please post here the xschemrc file you are using and post the result of '`xschem -v`' Also do '`which xschem`' in a terminal and ensure the executable is the one you expect to be used.
a
This problem has been solved. I have another problem while running simulation
@Stefan Schippers
I don't see ngspice in the list of the root. The error is when I place a corner (tt_model), it says that ngspice does not exist.
Does this mean that I have to install ngspice and the pdk again?
@Stefan Schippers
s
@Ahmed Ramadan (Mabrains) first of all can you run ngspice from a terminal? May be you need to specify the full path of the simulator? If this is the case use the full path for ngspice in the simulator configuration: go to Simulations->Configure simulators and tools, and replace ngspice with its full path.
a
I don't see ngspice in the pdk_opena unfortunately
opens*
And it does not exist in the root path too
s
If you can not run ngspice from a terminal then xschem can't either. You must provide the full path (if not in standard places like ~/bin or /usr/local/bin ...) Otherwise if you don't have ngspice just clone the repository (
git clone
https://git.code.sf.net/p/ngspice/ngspice), do a
git checkout pre-master
then
./autogen.sh
, then read the install instructions (README and INSTALL).
a
When I run it it dies not open anything but no errors
does not*
Currently I'm downloading all package of ngspice, xschem, klayout, ...,etc and the pdk too
I don't know what the problem is
And I'm not that clever in Linux
What I understand is that ngspice does not exist in the path of sky130
I find all the package (xschem, klayout, magic,..) except ngspice
So now I'm installing the pdk again, hoping the problem will be solved