I am trying to run some skill code to access db information from a bash script, but cannot get the script to run successfully. Can anyone describe the proper way to perform a simple db access from a shell?
My attempt was somthing like this:
./start_cadence_virtuoso -nograph < find_coords.il
(or alternatively include the skill code in the bash script, but neither format seems to work)
A simple find_coords.il skill script might look like this:
cv=dbOpenCellViewByType("mylib" "mycell" "layout")
foreach( inst cv~>instances
if(inst~>cellName == "specific_cell" then
printf("%L\n" inst~>xy) ; this would be printed to an output file or as needed once the script was functional
Ok, I got it to work from the command line -
dbAccess -load myfile.il
I was thinking that dbAccess was a skill command!