Difference between revisions of "Exporting GDS"

From Vlsiwiki
Jump to: navigation, search
Line 5: Line 5:
 
Click on "Options". The first page should show an option "Translate Entire Hier". Check that or else it will only have shapes at the top level!
 
Click on "Options". The first page should show an option "Translate Entire Hier". Check that or else it will only have shapes at the top level!
  
Now you need to set up the layer map. Click on the "Layers" tab. Click on "Load File" and select
+
Now you need to set up the layer map. Save this to a file called cmpe222layermap:
/mada/software/techfiles/ncsu/pipo/streamInLayermap. Click on OK.
+
 
 +
<PRE>
 +
# Layer map for converting from GDSII to Cadence format (SCMOS processes)
 +
 
 +
# Cadence layer    Cadence layer purpose      GDSII layer
 +
# -------------    ---------------------      -----------
 +
nwell              drawing                    42  0
 +
pwell              drawing                    41  0
 +
pactive              drawing                    1  0
 +
nactive              drawing                    2  0
 +
active              drawing                    43  0
 +
tactive            drawing                    60  0
 +
nselect            drawing                    45  0
 +
pselect            drawing                    44  0
 +
poly                drawing                    46  0
 +
poly                pin                        46  0
 +
metal1              pin                    49  0
 +
metal2              pin                    51  0
 +
metal3              pin                    62  0
 +
metal4              pin                    31  0
 +
metal5              pin                    33  0
 +
metal6              pin                    37  0
 +
metal1              drawing                    49  0
 +
metal2              drawing                    51  0
 +
metal3              drawing                    62  0
 +
metal4              drawing                    31  0
 +
metal5              drawing                    33  0
 +
metal6              drawing                    37  0
 +
cc                  drawing                    25  0
 +
cc                  drawing                    47  0
 +
cc                  drawing                    48  0
 +
cc                  drawing                    55  0
 +
via                drawing                    50  0
 +
via2                drawing                    61  0
 +
via3                drawing                    30  0
 +
via4                drawing                    32  0
 +
via5                drawing                    36  0
 +
glass              drawing                    52  0
 +
pad                drawing                    26  0
 +
sblock              drawing                    29  0
 +
metalcap            drawing                    35  0
 +
text                drawing                    99  0
 +
</PRE>
 +
Click on the "Layers" tab. Click on "Load File" and select
 +
the file. Click on OK.
  
 
Click on "Translate". You will see 8 ERRORs about "Failed to create the new layer purpose pair...", but we are not using those layers so it is ok. You can verify the shapes that were exported by looking at the "strmOut.log" in your directory. It looks like this:
 
Click on "Translate". You will see 8 ERRORs about "Failed to create the new layer purpose pair...", but we are not using those layers so it is ok. You can verify the shapes that were exported by looking at the "strmOut.log" in your directory. It looks like this:

Revision as of 19:44, 3 December 2008

To export GDS, you can go to File->Export->Stream... in the CIW.

In the new window that opens up, specify a stream file (for example, mult.gds). Select the technology library (NCSU_techlib_tsmc02d). Select YOUR library, top level cell and "layout" as the view.

Click on "Options". The first page should show an option "Translate Entire Hier". Check that or else it will only have shapes at the top level!

Now you need to set up the layer map. Save this to a file called cmpe222layermap:

# Layer map for converting from GDSII to Cadence format (SCMOS processes)

# Cadence layer     Cadence layer purpose       GDSII layer
# -------------     ---------------------       -----------
nwell               drawing                     42  0
pwell               drawing                     41  0
pactive              drawing                     1  0
nactive              drawing                     2  0
active              drawing                     43  0
tactive             drawing                     60  0
nselect             drawing                     45  0
pselect             drawing                     44  0
poly                drawing                     46  0
poly                pin                         46  0
metal1              pin                     49  0
metal2              pin                     51  0
metal3              pin                     62  0
metal4              pin                     31  0
metal5              pin                     33  0
metal6              pin                     37  0
metal1              drawing                     49  0
metal2              drawing                     51  0
metal3              drawing                     62  0
metal4              drawing                     31  0
metal5              drawing                     33  0
metal6              drawing                     37  0
cc                  drawing                     25  0
cc                  drawing                     47  0
cc                  drawing                     48  0
cc                  drawing                     55  0
via                 drawing                     50  0
via2                drawing                     61  0
via3                drawing                     30  0
via4                drawing                     32  0
via5                drawing                     36  0
glass               drawing                     52  0
pad                 drawing                     26  0
sblock              drawing                     29  0
metalcap            drawing                     35  0
text                drawing                     99  0

Click on the "Layers" tab. Click on "Load File" and select the file. Click on OK.

Click on "Translate". You will see 8 ERRORs about "Failed to create the new layer purpose pair...", but we are not using those layers so it is ok. You can verify the shapes that were exported by looking at the "strmOut.log" in your directory. It looks like this:

Summary of Objects Translated:

	Scalar Instances:		7
	Array Instances:		0
	Polygons:			0
	Paths:				0
	Rectangles:			57
	Lines:				0
	Arcs:				0
	Donuts:				0
	Dots:				0
	Ellipses:			0
	Boundaries:			0
	Area Blockages:			0
	Layer Blockages:		0
	Area Halos:			0
	Markers:			0
	Rows:				0
	Standard Vias:			0
	Custom Vias:			0
	Pathsegs:			0
	Text:				0
	Cells:				7

Turn in the GDS file. NAME THE FILE THE SAME AS YOUR TOP LEVEL CELL OR I CANNOT OPEN IT!! If your top design is "mult" name it mult.gds. Case matters.


You can check that your file exported correctly by:

  1. create a new library but do not attach a technology file
  2. File->Import->Stream...
  3. specify the gds file to translate
  4. specifying the correct "top level" cell
  5. specify the same layer map as before
  6. Verify in the strmIn.log that the numbers of shapes match the above strmOut.log.

If you start over, you will have to delete and re-create the library, because otherwise you get an error that a technology library is already attached.

In order to view the layout, you need to set up the display resources properly. There is a bug in this right now...