master.tag files

O

okguy

Guest
By mistake, I have deleted all the master.tag file of the virtuoso
database.
I only have the prop.xx and *.cdb files left.

I can see the schematics and layout but cannot edit nor save them,
otherwise Virtuoso loose the database and I cannot access it anymore.
Is there a way to recover the all database, to edit and save it again ?
 
On 26 mar, 15:04, "okguy" <okguy74@***.*> wrote:
By mistake, I have deleted all the master.tag file of the virtuoso
database.
master.tag files are simple text files. It is easy to recreate them
using a simple shell script such as the following (this is bash).
Should work for most libraries


library="/path/to/library"
for cell in `find $library/* -type d ` ; do
for view in `find $cell/* -type d ` ; do
if [ ! -f $view/master.tag ] ; then
for master in layout.cdb sch.cdb symbol.cdb text.txt verilog.v
ADE_state.info ; do
if [ -f $view/$master ] ; then
echo "::::::::::::::" > $view/master.tag
echo "-- Master.tag File, Rev:1.0" >> $view/master.tag
echo "$master" >> $view/master.tag
echo "Created master.tag for $view"
break 2
fi
done
echo "No master found for view $view"
fi
done
done
 

Welcome to EDABoard.com

Sponsor

Back
Top