I have made a stupid mistake while creating gds from my top level layout, and hence wanted to seek your help in case you have any solution.
Here it goes: I streamed out the gds from the layout using the export option in the CIW window of icfb. In order to check if the gds is okay, I streamed it in using the import option. However, I didn't change the library name during the import process. Hence my original layout library files got overwritten with the gds import files. Now all the transistors, resistors and contacts have gotten renamed by some unique cryptic names and are being referred from the same library instead of the tech lib.
Is there any way to get back the source layout from the available gds, with all the instances referred from the correct tech lib ?
Assuming you're using IC5141 (you mentioned "icfb"), the only hope you have is if you've streamed out using the "Keep PCell" option on the stream out options form. This will create a directory called "KPDIR" with some side files with the info to allow it to map back the structures and structure references in the stream file back to the original pcell libraries.
If you have indeed turned this on, you need to turn on "Keep PCells" in the stream in options form when streaming in - and it will attempt to recover things.
If you're using IC61, this option does not exist. It was not re-implemented in IC61 because it was a) quite complex, b) only useful for a round-trip flow if you didn't change anything in the stream file, and c) not 100% reliable. My view was always that you should archive the original database rather than trying to restore from stream files...
If you've not got this "Keep PCells" option as a route, your only option is to restore from backup (I'm assuming you are doing backups!). Or if you're using design management from one of our connections partners, that would allow you to go back to an earlier version, assuming you'd checked in the data.
In reply to Andrew Beckett: