Closed PaulKokhanov1 closed 1 year ago
Virtuoso is needed since the methods are translated and executed in the skill interpreter
There is a nograph mode for virtuoso so it can be started without a gui:
But then you still have to start the skillbridge server.
You can echo the command into virtuoso:
echo "pyStartServer" | virtuoso -nograph &> /dev/null &
python your_client_script.py
In your client script you have to wait until the skillbridge server is started. Otherwise you wont get the Workspace to open.
I hope this helps.
Thanks for the prompt reply! Do I first have to load the python_server.il prior to invoking the pyStartServer? If so, what would be the code to do this via the terminal?
Yes! I would put the python_server.il into a corresponding cds init or similar which is auto loaded on startup.
Sorry but I am very unfamiliar with using the terminal, I realize the init will be auto loaded however, I am not sure how to define and create it, and specifically what "startup" you mean? do you mean when the nograph version of virtuoso is started? Thanks again for all the help!
There are config files which are loaded on virtuoso startup.
Virtuoso will look at startup for a .cdsinit file in your current working path or home path and load it.
Maybe we should document this?
Maybe we should document this?
You mean that the load(python_server.il)
could reside in the .cdsinit?
The whole process of starting virtuoso without a gui and connecting skillbridge.
I see, unfortunately within my company I don't have access to editing the .cdsinit file, what other options do I have?
You can create your own .cdsinit either in either your current working directory or home folder the file should then be loaded additionally.
is it as simple as just calling it .cdsinit ? how do I specify that it should correlate to the virtuoso startup and not some other application?
It is just a file called .cdsinit
the load order and that virtuoso looks for that specific file is virtuoso specific behaviour. Other applications should not look for it.
Additional information about this behaviour can be found when you look for cdsinit or cdsenv at cadence support, since this is Cadence behaviour.
I understand, so other applications would have an init file but most likely with a different name, ok, thanks again for the help, I will see what I can do and ask anymore questions if I have any.
Actually, one quick question, what does this part in the command line code do &> /dev/null &
?
&>
- redirects stdout and stderr of the application in this case to /dev/null
so it dismisses it.
the &
afterwards runs the command in background so it does not block your session.
I get the following error trying to run that command
I get the following error trying to run that command
The same command runs sucessfully virtuoso in the background on my side
@PaulKokhanov1 what kind of Shell are you using? virtuoso -nograph &> /dev/null &
is a valid bash command
Hello, this is more of a question on the capabilities of skillbridge rather than an issue. I have a task where I use skill code to extract a list of pins, specifically,
I was using skillbridge to launch this procedure during my python script and analyze it using python. However, I was wondering what are my options to launch this piece of code without starting virtuoso? Is it even possible? I am a little doubtful since I would specify the library name, cell name and view name in the procedure call and I imagine it needs virtuoso to be open in order to process it. But maybe there is a way to "start" virtuoso without enabling the GUI? Any ideas/advice or even directions on where to look? Thanks. Feel free to further ask me questions if I was not clear enough with my goal.