I created a node plot generator using Diva DRC to "extract" the nets, and Skill to convert the DRC markers back to the real layers. My "problem" is in generating the Diva DRC rules file.
My current work-a-round is to call a csh script, with the list of net names as comand line options. The script starts off with a general rule header, then adds to that the netname specific section for each net (using vim to do a search-and-replace), and finishing by adding the final portion of the rule file. It works, but ONLY if icfb is launched as a foreground process. As a background process (icfb &), the csh script hangs.
My question is, how can I get Skill to do the same thing my csh script does now?
Comand = "/users/mlewis/bin/shownet_files/shownet.csh"
Full_Comand = cons( Comand ListOfNets )
Diva_Rules_File = buildString( Full_Comand " " )
csh( Diva_Rules_File )
cat /users/mlewis/bin/shownet_files/shownet.rul.top > divaDRC.rul
foreach i ($*)
cat /users/mlewis/bin/shownet_files/shownet.rul.mid >> divaDRC.rul
echo ":g/NETNAME/s/NETNAME/"$i"/g" > temp_file
echo ":wq" >> temp_file
vim -s temp_file divaDRC.rul
cat /users/mlewis/bin/shownet_files/shownet.rul.bot >> divaDRC.rul
Originally posted in cdnusers.org by cmosmike