134
8 Comparing Layout Database -- dbdiff Outline Ex_01 – -rdb Ex_02 – Unmerged Shapes Ex_03 – -comparemergeddiffshapes Ex_04 – Ex_05 – PATH Ex_06 – -compareshapesaspolygons Ex_07 – Hierarchy Ex_08 – -checkcell Ex_09 – Different Cell Name Ex_10 – -cellmap Ex_11 – -hierarchyonly Ex_12 – Empty Cell Ex_13 – -ignoreemptycells Ex_14 – Different Hierarchy Ex_15 – -compareallplacedcells Ex_16 – -flattencell Ex_17 – Array Reference Ex_18 – -comparearefsassrefs Ex_19 – Library vs. Design Ex_20 – -exclude_instance

Diff in GDS

Embed Size (px)

DESCRIPTION

to gind difference in GDS

Citation preview

Page 1: Diff in GDS

8Comparing Layout Database -- dbdiff

Outline

Ex_01 – -rdb

Ex_02 – Unmerged Shapes

Ex_03 – -comparemergeddiffshapes

Ex_04 – ��������������� �������

Ex_05 – PATH

Ex_06 – -compareshapesaspolygons

Ex_07 – Hierarchy

Ex_08 – -checkcell

Ex_09 – Different Cell Name

Ex_10 – -cellmap

Ex_11 – -hierarchyonly

Ex_12 – Empty Cell

Ex_13 – -ignoreemptycells

Ex_14 – Different Hierarchy

Ex_15 – -compareallplacedcells

Ex_16 – -flattencell

Ex_17 – Array Reference

Ex_18 – -comparearefsassrefs

Ex_19 – Library vs. Design

Ex_20 – -exclude_instance

Page 2: Diff in GDS

9Comparing Layout Database -- dbdiff

Outline (cont.)

Ex_21 – -automatch

Ex_22 – -multimatch

Ex_23 – -nocompare

Ex_24 – -exclude_layer

Ex_25 – -include_layer

Ex_26 – -layermap

Ex_27 – -sortlayer

Ex_28 – TEXT

Ex_29 – -comparetext

Ex_30 – -template

Ex_31 – -version

Ex_32 – -h

Page 3: Diff in GDS

10Comparing Layout Database -- dbdiff

Ex_01 – -rdb

Page 4: Diff in GDS

11Comparing Layout Database -- dbdiff

reference.gds

design.gds

Page 5: Diff in GDS

12Comparing Layout Database -- dbdiff

Ex_01_rdb/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

Page 6: Diff in GDS

13Comparing Layout Database -- dbdiff

��������������� � ���������� ������������������ ������ ���������������������������� ����!�"#!���$�����%&��������!��#� ��'�����������������������������������(���!&�(&���������������)*+�,-(.��-/��*/+��(��0�+0�(0���/���(-�(*0��(1�*/2-("��*-/���������������,)*�)�*+��)0��(-�0(�1�-2�"0/�-(�$(��)*�+��-(�-(��*-/�����������������-(�*�+�3*�0/+-(+��/��*+�+4560����-�3*�0/+0��0("+�������"#!���$�����%&�&��!7���8%�!�#���#����'9�3�#�8������(�##�#���#�3�#�8�3�#�8:;"� �9��:� �03&<��=��+"��,�6���� � �� >��>�0��� ��9��9'9����"$��)-"0������&���������8��%��� ���������� ������<<�#��?"$��)-"0���#����� :& &!<�$�+�:&��#�&��#��& �-��033�:��&��# ���#%��& �-��033�:�� �-��033�������� :����!��-��033�����!

(0��*/$��0+*$/�&��#��& 03��+0���*"0�@��(0��*/$��0+*$/����#%��& 03��+0���*"0�@��

�-"��(*/$��0+*$/+

�-"��(0���033��-��033�7�!���-��033A(02��0+*$/B�033+��-"�30�0�@���-2����03��+0���*"0�@��

���&��#�%�<����&�#�����*220(0/�,(*�*/$�(0�-(��2*30��-��033�����! 03��+0���*"0�@��

,(*�*/$�(;0�(0+43�+�����5�+0���-��033�������� 03��+0���*"0�@��

��!��(����<�������+%�#&��<������<���������+%�#&

CCCCCCCCCCCCCC�+�<<�� �(���!�CCCCCCCCCCCCCCCCCCCCCCCC

��!���0���&���<�����������+%�#&��D�;��!����"<�� ��������������"

Page 7: Diff in GDS

14Comparing Layout Database -- dbdiff

�������� � ���������� �

����#! 3���/�<�����&��#��&����#!����������������-��033(��#%�3���/�<��������#%��&(��#%��������������-��033"$��)-"0 ��������&���������8��%��� ���������� )�&!/�< �����3�#�8:;"��<� ����2���+���'��������9� ���

*#����7�!����C�E����# �E#�!&�!������#%��#�!���#&!�#% ��!��"�&!������%��#��:::::::::::::::::::::::::::::: �����#%����� ::::::::::::::::::::::::::::::::::::::::::::::::

F��&��#��F��������/�<�F��������������#%�F����������� ���F 5��#�#��5�8�F��"�&!��/�<�F�3� ��F���!�� � F

F�����#!�F�������-��033�F�������/7�-�G%!�F�������� ��#��F���� ����������������������� ����F�������������������������F����������F����������������FF�����#!�F�������-��033�F�������/7�-�G%!�F���(%!�#���F����� ����������������� ����F�������������������������F����������F����������������FF�����#!�F�������-��033�F��"�&&�#��-�G%!�F���(%!�#���F������ ���������������������������� F�������������������������F����������F����������������FF�����#!�F�������-��033�F��"�&&�#��-�G%!�F���(%!�#���F���� ����������������������� ����F�������������������������F����������F����������������F

CCCCCCCCCCCCCC�+�<<�� �(���!CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

CCCCCCCCCCCCCCCC+��������#%�&�<<�� ����#CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

3� ��������!�! � /7-�G& "�&&�#�-�G& ��!�����������

������������������������������ �������������������� ������������ ��������������CCCCCCCCCCCCCCCC+��������#%�&�<<�� �#CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

CCCCCCCCCCCCCCCC�����#!�%��&�&�<<�� ����#CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

���/�< (��#%���/�<

�-��033��������������-��033CCCCCCCCCCCCCCCC�����#!�%��&�&�<<�� �#CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

��<<�#�3�#�08%�!�������� :& &!<�$�+�:&��#�&��#��& �-��033�:��&��# ���#%��& �-��033�:����!��-��033�����! :�� �-��033��������

��!���0���&���<�����������+%�#&��D�;��!����"<�� ��������������"

TOPCELL.report

Page 8: Diff in GDS

15Comparing Layout Database -- dbdiff

Page 9: Diff in GDS

16Comparing Layout Database -- dbdiff

Page 10: Diff in GDS

17Comparing Layout Database -- dbdiff

Page 11: Diff in GDS

18Comparing Layout Database -- dbdiff

Ex_02 – Unmerged Shapes

Page 12: Diff in GDS

19Comparing Layout Database -- dbdiff

reference.gds

design.gds

Page 13: Diff in GDS

20Comparing Layout Database -- dbdiff

Ex_02_Unmerged_Shapes/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

Page 14: Diff in GDS

21Comparing Layout Database -- dbdiff

Page 15: Diff in GDS

22Comparing Layout Database -- dbdiff

Page 16: Diff in GDS

23Comparing Layout Database -- dbdiff

Ex_03 – -comparemergeddiffshapes

Page 17: Diff in GDS

24Comparing Layout Database -- dbdiff

Ex_03_comparemergeddiffshape/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

-comparemergeddiffshape

Page 18: Diff in GDS

25Comparing Layout Database -- dbdiff

��������������� � ���������� ������������������ ������ ���������������������������� ����!�"#!���$�����%&��������!��#� ��'�����������������������������������(���!&�(&���������������)*+�,-(.��-/��*/+��(��0�+0�(0���/���(-�(*0��(1�*/2-("��*-/���������������,)*�)�*+��)0��(-�0(�1�-2�"0/�-(�$(��)*�+��-(�-(��*-/�����������������-(�*�+�3*�0/+-(+��/��*+�+4560����-�3*�0/+0��0("+�������"#!���$�����%&�&��!7���8%�!�#���#����'9�3�#�8������(�##�#���#�3�#�8�3�#�8:;"� �9��:� �03&<��=��+"��,�6���� � �� >��>�0��� ��9��9'9����"$��)-"0������&���������8��%��� ���������� ������<<�#��?"$��)-"0���#����� :& &!<�$�+�:&��#�&��#��& �-��033�:��&��# ���#%��& �-��033�:���-��033�������� :����!��-��033�����!

(0��*/$��0+*$/�&��#��& 03��+0���*"0�@��(0��*/$��0+*$/����#%��& 03��+0���*"0�@��

�-"��(*/$��0+*$/+

"0($*/$��*220(0/�0+�*/��033��-��033�03��+0���*"0�@��"0($*/$��-"�30�0��03��+0���*"0�@���-"��(*+-/��2�0(�"0($*/$��-"�30�0��03��+0���*"0�@���-"��(0���033��-��033�7�!���-��033A(02��0+*$/B�033+��-"�30�0�@���-2����03��+0���*"0�@��

���&��#�%�<����&�#����+�"0,(*�*/$�(0�-(��2*30��-��033�����! 03��+0���*"0�@��

,(*�*/$�(;0�(0+43�+�����5�+0���-��033�������� 03��+0���*"0�@��

��!��(����<�������+%�#&��<������<���������+%�#&

CCCCCCCCCCCCCC�+�<<�� �(���!�CCCCCCCCCCCCCCCCCCCCCCCC

��!���0���&���<�����������+%�#&��D�;��!����"<�� ��������������"

Page 19: Diff in GDS

26Comparing Layout Database -- dbdiff

Ex_04 –

MGC_DBDIFF_MAX_VERTEXCOUNT

Page 20: Diff in GDS

27Comparing Layout Database -- dbdiff

Ex_03_comparemergeddiffshape/RUNME

#!/bin/csh

setenv MGC_DBDIFF_MAX_VERTEXCOUNT 10

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

-comparemergeddiffshape

Page 21: Diff in GDS

28Comparing Layout Database -- dbdiff

Page 22: Diff in GDS

29Comparing Layout Database -- dbdiff

setenv MGC_DBDIFF_MAX_VERTEXCOUNT 10

Page 23: Diff in GDS

30Comparing Layout Database -- dbdiff

Page 24: Diff in GDS

31Comparing Layout Database -- dbdiff

Page 25: Diff in GDS

32Comparing Layout Database -- dbdiff

Page 26: Diff in GDS

33Comparing Layout Database -- dbdiff

setenv MGC_DBDIFF_MAX_VERTEXCOUNT 10

Page 27: Diff in GDS

34Comparing Layout Database -- dbdiff

Page 28: Diff in GDS

35Comparing Layout Database -- dbdiff

Page 29: Diff in GDS

36Comparing Layout Database -- dbdiff

Page 30: Diff in GDS

37Comparing Layout Database -- dbdiff

Ex_05 – PATH

Page 31: Diff in GDS

38Comparing Layout Database -- dbdiff

reference.gds

design.gds

Page 32: Diff in GDS

39Comparing Layout Database -- dbdiff

Ex_05_PATH/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

Page 33: Diff in GDS

40Comparing Layout Database -- dbdiff

��������������� � ���������� ������������������ ������ ���������������������������� ����!�"#!���$�����%&��������!��#� ��'�����������������������������������(���!&�(&���������������)*+�,-(.��-/��*/+��(��0�+0�(0���/���(-�(*0��(1�*/2-("��*-/���������������,)*�)�*+��)0��(-�0(�1�-2�"0/�-(�$(��)*�+��-(�-(��*-/�����������������-(�*�+�3*�0/+-(+��/��*+�+4560����-�3*�0/+0��0("+�������"#!���$�����%&�&��!7���8%�!�#���#����'9�3�#�8������(�##�#���#�3�#�8�3�#�8:;"� �9��:� �03&<��=��+"��,�6���� � �� >��>�0��� ��9��9'9����"$��)-"0������&���������8��%��� ���������� ������<<�#��?"$��)-"0���#����� :& &!<�$�+�:&��#�&��#��& �-��033�:��&��# ���#%��& �-��033�:�� �-��033�������� :����!��-��033�����!

(0��*/$��0+*$/�&��#��& 03��+0���*"0�@��(0��*/$��0+*$/����#%��& 03��+0���*"0�@��

�-"��(*/$��0+*$/+

�-"��(0���033��-��033�7�!���-��033A(02��0+*$/B�033+��-"�30�0�@���-2����03��+0���*"0�@��

���&��#�%�<����&�#�����*220(0/�,(*�*/$�(0�-(��2*30��-��033�����! 03��+0���*"0�@��

,(*�*/$�(;0�(0+43�+�����5�+0���-��033�������� 03��+0���*"0�@��

��!��(����<�������+%�#&��<������<���������+%�#&

CCCCCCCCCCCCCC�+�<<�� �(���!�CCCCCCCCCCCCCCCCCCCCCCCC

��!���0���&���<�����������+%�#&��D�;��!����"<�� ��������� �� �"

Page 34: Diff in GDS

41Comparing Layout Database -- dbdiff

�������� � ���������� �

����#! 3���/�<�����&��#��&����#!����������������-��033(��#%�3���/�<��������#%��&(��#%��������������-��033"$��)-"0 ��������&���������8��%��� ���������� )�&!/�< �����3�#�8:;"��<� ����2���+���'����� �� � ���

*#����7�!����C�E����# �E#�!&�!������#%��#�!���#&!�#% ��!��"�&!������%��#��

::::::::::::::::::::::::::::::�����#%����� ::::::::::::::::::::::::::::::::::::::::::::::::

F��&��#��F������/�<�F������������������#%�F��������������� � F����������������5��#�#��5�8�F��"�&!��/�<�F�3� ��F���!�� � F

F�����#! F����-��033�F��������/7�-�G%! F���(%!�#�� F������������������������ ����F������������������������F������� ��F�����������������F

F�����#! F����-��033�F��"�&&�#��-�G%! F�������������� ��!� F������������������������ ����F������������������������F������� ��F�����������������F

CCCCCCCCCCCCCC�+�<<�� �(���!CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

CCCCCCCCCCCCCCCC+��������#%�&�<<�� ����#CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

3� ��������!�! � /7-�G& "�&&�#�-�G& ��!�����������

������������������������������������������������ �������������CCCCCCCCCCCCCCCC+��������#%�&�<<�� �#CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

CCCCCCCCCCCCCCCC�����#!�%��&�&�<<�� ����#CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

���/�< (��#%���/�<

�-��033��������������-��033CCCCCCCCCCCCCCCC�����#!�%��&�&�<<�� �#CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

��<<�#�3�#�08%�!�������� :& &!<�$�+�:&��#�&��#��& �-��033�:��&��# ���#%��& �-��033�:����!��-��033�����! :�� �-��033��������

��!���0���&���<�����������+%�#&��D�;��!����"<�� ��������� ����"

TOPCELL.report

Page 35: Diff in GDS

42Comparing Layout Database -- dbdiff

Ex_06 –

-compareshapesaspolygons

Page 36: Diff in GDS

43Comparing Layout Database -- dbdiff

Ex_06_compareshapesaspolygons/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

-compareshapesaspolygons

Page 37: Diff in GDS

44Comparing Layout Database -- dbdiff

��������������� � ���������� ������������������ ������ ���������������������������� ����!�"#!���$�����%&��������!��#� ��'�����������������������������������(���!&�(&���������������)*+�,-(.��-/��*/+��(��0�+0�(0���/���(-�(*0��(1�*/2-("��*-/���������������,)*�)�*+��)0��(-�0(�1�-2�"0/�-(�$(��)*�+��-(�-(��*-/�����������������-(�*�+�3*�0/+-(+��/��*+�+4560����-�3*�0/+0��0("+�������"#!���$�����%&�&��!7���8%�!�#���#����'9�3�#�8������(�##�#���#�3�#�8�3�#�8:;"� �9��:� �03&<��=��+"��,�6���� � �� >��>�0��� ��9��9'9����"$��)-"0������&���������8��%��� ���������� ������<<�#��?"$��)-"0���#����� :& &!<�$�+�:&��#�&��#��& �-��033�:��&��# ���#%��&�-��033�:%�<���&���&�&��� ��#& :�� �-��033�������� :����!��-��033�����!

(0��*/$��0+*$/�&��#��& 03��+0���*"0�@��(0��*/$��0+*$/����#%��& 03��+0���*"0�@��

�-"��(*/$��0+*$/+

�-"��(0���033��-��033�7�!���-��033A(02��0+*$/B�033+��-"�30�0�@���-2����03��+0���*"0�@��

���&��#�%�<����&�#����+�"0,(*�*/$�(0�-(��2*30��-��033�����! 03��+0���*"0�@��

,(*�*/$�(;0�(0+43�+�����5�+0���-��033�������� 03��+0���*"0�@��

��!��(����<�������+%�#&��<������<���������+%�#&

CCCCCCCCCCCCCC�+�<<�� �(���!�CCCCCCCCCCCCCCCCCCCCCCCC

��!���0���&���<�����������+%�#&��D�;��!����"<�� ��������� ��'�"

Page 38: Diff in GDS

45Comparing Layout Database -- dbdiff

Ex_07 – Hierarchy

Page 39: Diff in GDS

46Comparing Layout Database -- dbdiff

Ex_07_Hierarchy/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

Page 40: Diff in GDS

47Comparing Layout Database -- dbdiff

reference.gds

design.gds

Page 41: Diff in GDS

48Comparing Layout Database -- dbdiff

�������� � ���������� �

����#!���3���/�<�����&��#��&����#!����������������-��033(��#%�3���/�<��������#%��&(��#%��������������-��033"$��)-"0 ��������&���������8��%��� ���������� )�&!/�< �����3�#�8:;"��<� ����2���+���'�����>� �� ���

*#����7�!�������� E����# �E#�!&�!������#%��#�!���#&!�#%���!��"�&!������%��#�

:::::::::::::::::::::::::::::: �����#%������::::::::::::::::::::::::::::::::::::::::::::::::

F��&��#��F������/�<�F��������������#%�F��������������� �� F��������������������5��#�#��5�8�F��"�&!��/�<�F�3� ��F���!�� � F

F�����#!�F��������������� � F�������/7�-�G%!�F������������� ��#�F������������������'9���� �'��F�������������������������F����������F����������������FF�����#!�F��������������� � F��"�&&�#��-�G%!�F������������� ��#�F������������������'9����� �'��F�������������������������F����������F����������������F

F�����#!�F����-��033�F�����������������������������F��*#&!�#% F������������������ >9����������F���������������������� F�����������F�����������������F

F�����#!�F����-��033�F��������/7�-�G%!�F������������� ��#�F�� ��������������'9������'��F�������������������������F����������F����������������FF�����#!�F����-��033�F���"�&&�#��-�G%!�F������������� ��#�F��� ����������������'9�������'��F�������������������������F����������F����������������F

CCCCCCCCCCCCCC�+�<<�� �(���!CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

CCCCCCCCCCCCCCCC+��������#%�&�<<�� ����#CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

3� ��������!�! � /7-�G& "�&&�#�-�G& ��!�����������

�������������������� ������������� ���������������������������CCCCCCCCCCCCCCCC+��������#%�&�<<�� �#CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

CCCCCCCCCCCCCCCC�����#!�%��&�&�<<�� ����#CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

���/�< (��#%���/�<

�����������������������������������������-��033��������������-��033CCCCCCCCCCCCCCCC�����#!�%��&�&�<<�� �#CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

��<<�#�3�#�08%�!�������� :& &!<�$�+�:&��#�&��#��& �-��033�:��&��# ���#%��& �-��033�:����!��-��033�����!:�� �-��033��������

��!���0���&���<�����������+%�#&��D�;��!����"<�� ��������� �9��"5

TOPCELL.report

Page 42: Diff in GDS

49Comparing Layout Database -- dbdiff

Ex_08 – -checkcell

� An optional argument that specifies the path of a checkcell file.

� This file contains the list of cells to check for differences;

dbdiff then checks only the specified cells.

� If you know that modification has been done in particular cells,

you can specify those changed cell names in a file and use this option.

� This speeds up the operation of dbdiff by allowing it to look for differences

in some of the cells rather than all of the cells.

Page 43: Diff in GDS

50Comparing Layout Database -- dbdiff

Ex_08_checkcell/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

-checkcell cell_list.txt

TOPCELLB

cell_list.txt

Page 44: Diff in GDS

51Comparing Layout Database -- dbdiff

�������� � ���������� �

����#!���3���/�<�����&��#��&����#!����������������-��033(��#%�3���/�<��������#%��&(��#%��������������-��033"$��)-"0 ��������&���������8��%��� ���������� )�&!/�< �����3�#�8:;"��<� ����2���+���'��������9� ���

*#����7�!����C�E����# �E#�!&�!������#%��#�!���#&!�#% ��!��"�&!������%��#��

:::::::::::::::::::::::::::::: �����#%������::::::::::::::::::::::::::::::::::::::::::::::::

F��&��#��F������/�<�F��������������#%�F���������� ���F��� 5��#�#��5�8�F��"�&!��/�<�F�3� ��F���!�� � F

F�����#!�F�����-��033�F�������/7�-�G%!�F�������� ��#�F������� ��������'9�������'��F�������������������������F����������F����� ��FF�����#!�F�����-��033�F��"�&&�#��-�G%!�F�������� ��#�F�������� �������'9�������'��F�������������������������F����������F��� ��F

���&�%�%D�5�-��033

CCCCCCCCCCCCCC�+�<<�� �(���!CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

CCCCCCCCCCCCCCCC+��������#%�&�<<�� ����#CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

3� ��������!�! � /7-�G& "�&&�#�-�G& ��!�����������

������������������������������������������������ �������������CCCCCCCCCCCCCCCC+��������#%�&�<<�� �#CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

CCCCCCCCCCCCCCCC�����#!�%��&�&�<<�� ����#CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

���/�< (��#%���/�<

�-��033��������������-��033CCCCCCCCCCCCCCCC�����#!�%��&�&�<<�� �#CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

��<<�#�3�#�08%�!�������� :& &!<�$�+�:&��#�&��#��& �-��033�:��&��# ���#%��& �-��033�:%�%D%�� %�����&!�!8!:����!��-��033�����! :�� �-��033��������

��!���0���&���<�����������+%�#&��D�;��!����"<�� ��������� ��9�"5

TOPCELL.report

Page 45: Diff in GDS

52Comparing Layout Database -- dbdiff

Ex_09 – Different Cell Name

Page 46: Diff in GDS

53Comparing Layout Database -- dbdiff

reference.gds

design.gds

Page 47: Diff in GDS

54Comparing Layout Database -- dbdiff

// dbdiff v2009.3_15.12

Current Lib Name : design.gdsCurrent Top Cell : TOPCELLReference Lib Name : reference.gdsReference Top Cell : TOPCELLMGC_HOME : /apps/Calibre/ixl_cal_2009.3_15.12HostName : Linux-VMTime : Fri Sep 18 15:02:25 2009

In below table * ,if any ,denotes the difference in the instance due to Master Cell change ------------------------------ Difference Table ------------------------------------------------

���������������������������������������������������������������� �� ���������������������������������!"�#�����!$�������%����������&���������%��� � �

| Current | TOPCELL | New Object | Instance | 1000 1000 1760 1950 | B2 | | || Current | TOPCELL | New Object | Instance | 1000 0 2760 950 | A2 | | || Current | TOPCELL | Missing Object | Instance | 1000 0 2760 950 | A1 | | || Current | TOPCELL | Missing Object | Instance | 1000 1000 1760 1950 | B1 | | || Current | TOPCELL | New Object | Polygon | 100 1030 860 1980 | | 1 | 0 || Current | TOPCELL | Missing Object | Polygon | 100 30 860 980 | | 1 | 0 |

CCCCCCCCCCCCCC�+�<<�� �(���!CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCH

TOPCELL.report

Page 48: Diff in GDS

55Comparing Layout Database -- dbdiff

Ex_10 – -cellmap (part I)

Page 49: Diff in GDS

56Comparing Layout Database -- dbdiff

Ex_10_cellmap_I/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

-cellmap cell_list.txt

A1 A2B1 B2

cellmap.txt

Page 50: Diff in GDS

57Comparing Layout Database -- dbdiff

TOPCELL.report

// dbdiff v2009.3_15.12

Current Lib Name : design.gdsCurrent Top Cell : TOPCELLReference Lib Name : reference.gdsReference Top Cell : TOPCELLMGC_HOME : /apps/Calibre/ixl_cal_2009.3_15.12HostName : Linux-VMTime : Fri Sep 18 15:03:39 2009

In below table * ,if any ,denotes the difference in the instance due to Master Cell change ------------------------------ Difference Table ------------------------------------------------

���������������������������������������������������������������� �� ���������������������������������!"�#�����!$�������%����������&���������%��� � �

| Current | TOPCELL | New Object | Instance | 1000 1000 1760 1950 | B2 | | || Current | TOPCELL | New Object | Instance | 1000 0 2760 950 | A2 | | || Current | TOPCELL | Missing Object | Instance | 1000 0 2760 950 | A1 | | || Current | TOPCELL | Missing Object | Instance | 1000 1000 1760 1950 | B1 | | || Current | TOPCELL | New Object | Polygon | 100 1030 860 1980 | | 1 | 0 || Current | TOPCELL | Missing Object | Polygon | 100 30 860 980 | | 1 | 0 |

************** Summary Report**************************************…

Page 51: Diff in GDS

58Comparing Layout Database -- dbdiff

Ex_10 – -cellmap (part II)

Page 52: Diff in GDS

59Comparing Layout Database -- dbdiff

reference.gds

design.gds

A2 A1B2 B1

cellmap.txt

Page 53: Diff in GDS

60Comparing Layout Database -- dbdiff

Ex_10_cellmap_II/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

-cellmap cell_list.txt

A2 A1B2 B1

cellmap.txt

Page 54: Diff in GDS

61Comparing Layout Database -- dbdiff

// dbdiff v2009.3_15.12

Current Lib Name : design.gdsCurrent Top Cell : TOPCELLReference Lib Name : reference.gdsReference Top Cell : TOPCELLMGC_HOME : /apps/Calibre/ixl_cal_2009.3_15.12HostName : Linux-VMTime : Fri Sep 18 15:05:11 2009

In below table * ,if any ,denotes the difference in the instance due to Master Cell change

------------------------------ Difference Table ------------------------------------------------

������������������������������������������������������������������ ��������������������������������!"�#�����!$�������%����������&���������%��� � �

| Current | A2 | New Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | A2 | Missing Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | TOPCELL | * | Instance | 1000 0 2760 950 | A2 | | || Current | TOPCELL | New Object | Polygon | 100 1030 860 1980 | | 1 | 0 || Current | TOPCELL | Missing Object | Polygon | 100 30 860 980 | | 1 | 0 |

************** Summary Report**************************************…

****************Different cells summary begin*********************************************

CellName ReferenceCellName

A2 A1TOPCELL TOPCELL****************Different cells summary end***********************************************…

TOPCELL.report

Page 55: Diff in GDS

62Comparing Layout Database -- dbdiff

Ex_11 – -hierarchyonly

Page 56: Diff in GDS

63Comparing Layout Database -- dbdiff

Ex_11_hierarchyonly/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

-cellmap cell_list.txt

-hierarchyonly

Page 57: Diff in GDS

64Comparing Layout Database -- dbdiff

��������������� � ���������� ������������������ ������ ���������������������������� ����!�"#!���$�����%&��������!��#� ��'�����������������������������������(���!&�(&���������������)*+�,-(.��-/��*/+��(��0�+0�(0���/���(-�(*0��(1�*/2-("��*-/���������������,)*�)�*+��)0��(-�0(�1�-2�"0/�-(�$(��)*�+��-(�-(��*-/�����������������-(�*�+�3*�0/+-(+��/��*+�+4560����-�3*�0/+0��0("+�������"#!���$�����%&�&��!7���8%�!�#���#����'9�3�#�8������(�##�#���#�3�#�8����#� �9��:>'�03&<��=��+"��,�6���������9� 9�0��� ��'�8'9�9�����"$��)-"0���<�&%����&���������8��%��� ���������� ������<<�#��?"$��)-"0���#����� :& &!<�$�+�:&��#�&��#��& �-��033�:��&��# ���#%��& �-��033�:%��<��%��<���!8! :�����%� �#� :�� �-��033�������� :����!��-��033�����!

(0��*/$��0+*$/�&��#��& 03��+0���*"0�@��(0��*/$��0+*$/����#%��& 03��+0���*"0�@��

�-"��(*/$��0+*$/+

�-"��(0���033�5 �7�!��5�A(02��0+*$/B�033+��-"�30�0�@���-2����03��+0���*"0�@���-"��(0���033�� �7�!����A(02��0+*$/B�033+��-"�30�0�@� �-2����03��+0���*"0�@���-"��(0���033��-��033�7�!���-��033A(02��0+*$/B�033+��-"�30�0�@���-2����03��+0���*"0�@��

���&��#�%�<����&�#����+�"0,(*�*/$�(0�-(��2*30��-��033�����! 03��+0���*"0�@��

,(*�*/$�(;0�(0+43�+�����5�+0���-��033�������� 03��+0���*"0�@��

��!��(����<�������+%�#&��<������<���������+%�#&

CCCCCCCCCCCCCC�+�<<�� �(���!�CCCCCCCCCCCCCCCCCCCCCCCC

��!���0���&���<�����������+%�#&��D�;��!����"<�� ��������������"5

Page 58: Diff in GDS

65Comparing Layout Database -- dbdiff

Ex_12 – Empty Cell

Page 59: Diff in GDS

66Comparing Layout Database -- dbdiff

reference.gds

design.gds

Page 60: Diff in GDS

67Comparing Layout Database -- dbdiff

Ex_12_Empty_Cell/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

Page 61: Diff in GDS

68Comparing Layout Database -- dbdiff

TOPCELL.report// dbdiff v2009.3_15.12

Current Lib Name : design.gdsCurrent Top Cell : TOPCELLReference Lib Name : reference.gdsReference Top Cell : TOPCELLMGC_HOME : /apps/Calibre/ixl_cal_2009.3_15.12HostName : Linux-VMTime : Sat Sep 19 00:00:09 2009

In below table * ,if any ,denotes the difference in the instance due to Master Cell change ------------------------------ Difference Table ------------------------------------------------

| Design | Cell Name | Difference | Type | Bounding Box | Master Name | Layer | DataType |

| Current | B | Missing Object | Instance | 1000 0 1000 0 | E | | || Current | A | New Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | A | Missing Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | TOPCELL | * | Instance | 1000 1000 1760 1950 | B | | || Current | TOPCELL | New Object | Instance | 3000 1000 3000 1000 | E | | || Current | TOPCELL | New Object | Instance | 2000 1000 2000 1000 | E | | || Current | TOPCELL | Missing Object | Instance | 0 1000 0 1000 | E | | || Current | TOPCELL | * | Instance | 1000 0 2760 950 | A | | || Current | TOPCELL | New Object | Polygon | 100 1030 860 1980 | | 1 | 0 || Current | TOPCELL | Missing Object | Polygon | 100 30 860 980 | | 1 | 0 |

************** Summary Report**************************************…

Page 62: Diff in GDS

69Comparing Layout Database -- dbdiff

reference.gds

���� E is empty!

design.gds

���� E is empty!

Page 63: Diff in GDS

70Comparing Layout Database -- dbdiff

Ex_13 – -ignoreemptycells

Page 64: Diff in GDS

71Comparing Layout Database -- dbdiff

Ex_13_ignoreemptycells/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

-ignoreemptycells

Page 65: Diff in GDS

72Comparing Layout Database -- dbdiff

TOPCELL.report// dbdiff v2009.3_15.12

In below table * ,if any ,denotes the difference in the instance due to Master Cell change ------------------------------ Difference Table ------------------------------------------------

| Design | Cell Name | Difference | Type | Bounding Box | Master Name | Layer | DataType |

| Current | A | New Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | A | Missing Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | TOPCELL | * | Instance | 1000 0 2760 950 | A | | || Current | TOPCELL | New Object | Polygon | 100 1030 860 1980 | | 1 | 0 || Current | TOPCELL | Missing Object | Polygon | 100 30 860 980 | | 1 | 0 |

************** Summary Report**************************************

****************Empty cell summary begin**************************************************

Current design:E

Reference design:E

****************Empty cell summary end****************************************************

Page 66: Diff in GDS

73Comparing Layout Database -- dbdiff

Ex_14 – Different Hierarchy

Page 67: Diff in GDS

74Comparing Layout Database -- dbdiff

reference.gds

design.gds

�-��033

�-��033

Page 68: Diff in GDS

75Comparing Layout Database -- dbdiff

reference.gds

design.gds

�-��033

�-��033

Page 69: Diff in GDS

76Comparing Layout Database -- dbdiff

reference.gds

design.gds

�-��033

�-��033

5

5

Page 70: Diff in GDS

77Comparing Layout Database -- dbdiff

Ex_14_Different_Hierarchy/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

Page 71: Diff in GDS

78Comparing Layout Database -- dbdiff

// dbdiff v2009.3_15.12

Current Lib Name : design.gdsCurrent Top Cell : TOPCELLReference Lib Name : reference.gdsReference Top Cell : TOPCELLMGC_HOME : /apps/Calibre/ixl_cal_2009.3_15.12HostName : Linux-VMTime : Fri Sep 18 15:44:08 2009

In below table * ,if any ,denotes the difference in the instance due to Master Cell change ------------------------------ Difference Table ------------------------------------------------

| Design | Cell Name | Difference | Type | Bounding Box | Master Name | Layer | DataType |

| Current | B | Missing Object | Instance | 100 1030 1860 1980 | ���� | | |

| Current | B | New Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | B | Missing Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | C | New Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | C | Missing Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | A | New Object | Instance | 2100 1030 3860 1980 | ���� | | |

| Current | A | * | Instance | 100 1030 1860 1980 | C | | || Current | A | New Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | A | Missing Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | TOPCELL | * | Instance | 2000 0 3760 950 | B | | || Current | TOPCELL | * | Instance | 0 0 3760 1950 | A | | |…

TOPCELL.report

Page 72: Diff in GDS

79Comparing Layout Database -- dbdiff

…************** Summary Report**************************************

****************Shape difference summary begin********************************************

Layer Datatype NewObjs MissingObjs Total

1 0 3 3 6 ****************Shape difference summary end**********************************************

****************Instance difference summary begin*****************************************

CellName RefCellName NewInsts MissingInsts Total

A A 1 0 1 B B 0 1 1 ****************Instance difference summary end*******************************************

****************Different cells summary begin*********************************************

CellName ReferenceCellName

��������

��������

��������

****************Different cells summary end***********************************************

Command Line Executed : dbdiff -system GDS -design design.gds TOPCELL -refdesign reference.gds TOPCELL -report TOPCELL.report -rdb TOPCELL_dbdiff.rdb

Total Elapsed Time :: 0 SecondsPeak Virtual Memory :: 42.68 MB

TOPCELL.report

I�J �&�#�!�%�<����K

Page 73: Diff in GDS

80Comparing Layout Database -- dbdiff

Ex_15 – -compareallplacedcells

Page 74: Diff in GDS

81Comparing Layout Database -- dbdiff

Ex_15_compareallplacedcells/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

-compareallplacedcells

Page 75: Diff in GDS

82Comparing Layout Database -- dbdiff

// dbdiff v2009.3_15.12

Current Lib Name : design.gdsCurrent Top Cell : TOPCELLReference Lib Name : reference.gdsReference Top Cell : TOPCELLMGC_HOME : /apps/Calibre/ixl_cal_2009.3_15.12HostName : Linux-VMTime : Fri Sep 18 15:38:18 2009

In below table * ,if any ,denotes the difference in the instance due to Master Cell change ------------------------------ Difference Table ------------------------------------------------

| Design | Cell Name | Difference | Type | Bounding Box | Master Name | Layer | DataType |

| Current | B | Missing Object | Instance | 100 1030 1860 1980 | D | | || Current | B | New Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | B | Missing Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | C | New Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | C | Missing Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | A | New Object | Instance | 2100 1030 3860 1980 | D | | || Current | A | * | Instance | 100 1030 1860 1980 | C | | || Current | A | New Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | A | Missing Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | TOPCELL | * | Instance | 2000 0 3760 950 | B | | || Current | TOPCELL | * | Instance | 0 0 3760 1950 | A | | || Current | D | New Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | D | Missing Object | Polygon | 1100 30 1860 980 | | 1 | 0 |…

TOPCELL.report

Page 76: Diff in GDS

83Comparing Layout Database -- dbdiff

…************** Summary Report**************************************

****************Shape difference summary begin********************************************

Layer Datatype NewObjs MissingObjs Total

1 0 4 4 8 ****************Shape difference summary end**********************************************

****************Instance difference summary begin*****************************************

CellName RefCellName NewInsts MissingInsts Total

A A 1 0 1 B B 0 1 1 ****************Instance difference summary end*******************************************

****************Different cells summary begin*********************************************

CellName ReferenceCellName

A A B B C C

��������

****************Different cells summary end***********************************************

Command Line Executed : dbdiff -system GDS -design design.gds TOPCELL -refdesign reference.gds TOPCELL -compareallplacedcells -report TOPCELL.report -rdb TOPCELL_dbdiff.rdb

Total Elapsed Time :: 0 SecondsPeak Virtual Memory :: 43.91 MB

TOPCELL.report

Page 77: Diff in GDS

84Comparing Layout Database -- dbdiff

Ex_16 – -flattencell

Page 78: Diff in GDS

85Comparing Layout Database -- dbdiff

Ex_16_flattencell/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

-flattencell flatten_cell_list.txt

A currentA referenceB both

flatten_cell_list.txt

Page 79: Diff in GDS

86Comparing Layout Database -- dbdiff

H:::::::::::::::::::::::::::::: �����#%������:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

F��&��#��F�����/�<F������������#%�F������� ���F���������� 5��#�#��5�8�F"�&!��/�<F3� �F��!�� �F

F�����#!�F���������������F������/7�-�G%!�F����� ��#�F������������'9��������'�F���������������������F��������F��������������FF�����#!�F���������������F�"�&&�#��-�G%!�F����� ��#�F��������� �'9������'�F���������������������F��������F��������������FF�����#!�F���������������F������/7�-�G%!�F������ ��#�F��������������'9������'�F���������������������F�������F��������������FF�����#!�F���������������F�"�&&�#��-�G%!�F������ ��#�F��������������'9������'�F���������������������F�������F��������������FF�����#!�F��-��033 F�����������������������C�F�*#&!�#% F� �����������>9�������F������������������ F��������F���������������FF�����#!�F��-��033 F�����������������������C�F�*#&!�#% F���������������>9��������F������������������ F��������F����������������FF�����#!�F��-��033�F������/7�-�G%!�F������ ��#�F������������� �>9��������F���������������������F�������F��������������FF�����#!�F��-��033�F������/7�-�G%!�F������ ��#�F������������� �>9��������F���������������������F�������F��������������FF�����#!�F��-��033�F�"�&&�#��-�G%!�F������ ��#�F���������������>9��������F���������������������F�������F��������������FF�����#!�F��-��033�F�"�&&�#��-�G%!�F������ ��#�F���������������>9��������F���������������������F�������F��������������F

CCCCCCCCCCCCCC�+�<<�� �(���!CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

CCCCCCCCCCCCCCCC+��������#%�&�<<�� ����#CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC3� ��������!�! � /7-�G& "�&&�#�-�G& ��!�����������

������������������������������������������������'�������������CCCCCCCCCCCCCCCC+��������#%�&�<<�� �#CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

CCCCCCCCCCCCCCCC�����#!�%��&�&�<<�� ����#CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC���/�< (��#%���/�<

���������������������������������������������������������������������������������������������-��033��������������-��033CCCCCCCCCCCCCCCC�����#!�%��&�&�<<�� �#CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCH

TOPCELL.report

Page 80: Diff in GDS

87Comparing Layout Database -- dbdiff

Ex_17 – Array Reference

Page 81: Diff in GDS

88Comparing Layout Database -- dbdiff

reference.gds

design.gds

Page 82: Diff in GDS

89Comparing Layout Database -- dbdiff

Ex_17_Array_Reference/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

Page 83: Diff in GDS

90Comparing Layout Database -- dbdiff

// dbdiff v2009.3_15.12

Current Lib Name : design.gdsCurrent Top Cell : TOPCELLReference Lib Name : reference.gdsReference Top Cell : TOPCELLMGC_HOME : /apps/Calibre/ixl_cal_2009.3_15.12HostName : Linux-VMTime : Fri Sep 18 16:35:37 2009

In below table * ,if any ,denotes the difference in the instance due to Master Cell change ------------------------------------------- Difference Table -----------------------------------------------------------

| Design | Cell Name | Difference | Type | Bounding Box | Master Name | Layer | DataType |

| Current | A | New Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | A | Missing Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current |TOPCELL | New Object | Instance | 100 30 1860 980 | A | | || Current |TOPCELL | New Object | Instance | 100 1030 1860 1980 | A | | || Current |TOPCELL | New Object | Instance | 2100 1030 3860 1980 | A | | || Current |TOPCELL | New Object | Instance | 2100 30 3860 980 | A | | || Current |TOPCELL | Missing Object | Instance | 100 30 3860 1980 | A | | |

************** Summary Report**************************************…

TOPCELL.report

Page 84: Diff in GDS

91Comparing Layout Database -- dbdiff

Ex_18 – -comparearefsassrefs

Page 85: Diff in GDS

92Comparing Layout Database -- dbdiff

Ex_18_comparearefsassrefs/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

-comparearefsassrefs

Page 86: Diff in GDS

93Comparing Layout Database -- dbdiff

TOPCELL.report

// dbdiff v2009.3_15.12

Current Lib Name : design.gdsCurrent Top Cell : TOPCELLReference Lib Name : reference.gdsReference Top Cell : TOPCELLMGC_HOME : /apps/Calibre/ixl_cal_2009.3_15.12HostName : Linux-VMTime : Fri Sep 18 16:39:22 2009

In below table * ,if any ,denotes the difference in the instance due to Master Cell change ------------------------------ Difference Table ------------------------------------------------

| Design | Cell Name | Difference | Type | Bounding Box | Master Name | Layer | DataType |

| Current | A | New Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | A | Missing Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | TOPCELL | * | Instance | 100 30 1860 980 | A | | || Current | TOPCELL | * | Instance | 100 1030 1860 1980 | A | | || Current | TOPCELL | * | Instance | 2100 1030 3860 1980 | A | | || Current | TOPCELL | * | Instance | 2100 30 3860 980 | A | | |

************** Summary Report**************************************…

Page 87: Diff in GDS

94Comparing Layout Database -- dbdiff

Ex_19 – Library vs. Design

Page 88: Diff in GDS

95Comparing Layout Database -- dbdiff

reference.gds

design.gds

Page 89: Diff in GDS

96Comparing Layout Database -- dbdiff

In below table * ,if any ,denotes the difference in the instance due to Master Cell change ------------------------------ Difference Table ------------------------------------------------

| Design | Cell Name | Difference | Type | Bounding Box | Master Name | Layer | DataType |

| Current | B | New Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | B | Missing Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | TOPCELL | New Object | Instance | 4000 2000 5760 2950 | B | | || Current | TOPCELL | New Object | Instance | 4000 0 5760 950 | B | | || Current | TOPCELL | New Object | Instance | 3000 1000 4760 1950 | B | | || Current | TOPCELL | New Object | Instance | -900 1030 860 1980 | B | | || Current | TOPCELL | Missing Object | Instance | 2100 30 3860 980 | B | | || Current | TOPCELL | New Object | Instance | 2000 2000 3760 2950 | C | | || Current | TOPCELL | New Object | Instance | 0 2000 1760 2950 | C | | || Current | TOPCELL | New Object | Instance | 100 30 1860 980 | C | | || Current | TOPCELL | Missing Object | Instance | 100 1030 1860 1980 | C | | || Current | TOPCELL | New Object | Instance | 2000 0 3760 950 | A | | || Current | TOPCELL | New Object | Instance | 1100 1030 2860 1980 | A | | || Current | TOPCELL | Missing Object | Instance | 100 30 1860 980 | A | | || Current | TOPCELL | Missing Object | Instance | 2100 1030 3860 1980 | D | | |

************** Summary Report**************************************…

****************Different cells summary begin*********************************************CellName ReferenceCellName

��������

TOPCELL TOPCELL****************Different cells summary end***********************************************…

TOPCELL.report

Page 90: Diff in GDS

97Comparing Layout Database -- dbdiff

Ex_20 – -exclude_instance

Page 91: Diff in GDS

98Comparing Layout Database -- dbdiff

Ex_20_exclude_instance/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

-exclude_instance

Page 92: Diff in GDS

99Comparing Layout Database -- dbdiff

TOPCELL.report// dbdiff v2009.3_15.12

Current Lib Name : design.gdsCurrent Top Cell : TOPCELLReference Lib Name : reference.gdsReference Top Cell : TOPCELLMGC_HOME : /apps/Calibre/ixl_cal_2009.3_15.12HostName : Linux-VMTime : Fri Sep 18 18:33:21 2009

In below table * ,if any ,denotes the difference in the instance due to Master Cell change ------------------------------ Difference Table ------------------------------------------------

| Design | Cell Name | Difference | Type | Bounding Box | Master Name | Layer | DataType |

| Current | B | New Object | Polygon | 1100 30 1860 980 | | 1 | 0 || Current | B | Missing Object | Polygon | 1100 30 1860 980 | | 1 | 0 |

************** Summary Report**************************************

****************Shape difference summary begin********************************************

Layer Datatype NewObjs MissingObjs Total

1 0 1 1 2 ****************Shape difference summary end**********************************************

****************Different cells summary begin*********************************************CellName ReferenceCellName

��������

****************Different cells summary end***********************************************…

Page 93: Diff in GDS

100Comparing Layout Database -- dbdiff

Ex_21 – -automatch

Page 94: Diff in GDS

101Comparing Layout Database -- dbdiff

reference.gds

design.gds

Page 95: Diff in GDS

102Comparing Layout Database -- dbdiff

reference.gds

design.gds

Page 96: Diff in GDS

103Comparing Layout Database -- dbdiff

Ex_21_automatch/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

-automatch

Page 97: Diff in GDS

104Comparing Layout Database -- dbdiff

TOPCELL.report…Automatching Report Start:------------------------------ AutoMatched Cell Table ------------------------------------------------

Current design cellname | Reference design cellname

v2$1$11 | v2$1$01v2$1$12 | v2$1$02v2$2$11 | v2$2$01v2$4$11 | v2$4$01

Automatching report End

In below table * ,if any ,denotes the difference in the instance due to Master Cell change ------------------------------ Difference Table ------------------------------------------------

| Design | Cell Name | Difference | Type | Bounding Box | Master Name | Layer | DataType |

| Current | TOPCELL | New Object | Instance | 0 8000 7000 13000 | v2$2$11 | | || Current | TOPCELL | Missing Object | Instance | 9000 0 16000 5000 | v2$2$01 | | || Current | TOPCELL | New Object | Instance | 9000 0 16000 7000 | v2$4$11 | | || Current | TOPCELL | Missing Object | Instance | 0 6000 7000 13000 | v2$4$01 | | |

************** Summary Report**************************************…

Page 98: Diff in GDS

105Comparing Layout Database -- dbdiff

Ex_22 – -multimatch

Page 99: Diff in GDS

106Comparing Layout Database -- dbdiff

Ex_22_multimatch/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

-automatch

-multimatch

Page 100: Diff in GDS

107Comparing Layout Database -- dbdiff

…Automatching Report Start:------------------------------ AutoMatched Cell Table ------------------------------------------------

Current design cellname | Reference design cellname

v2$1$11 | v2$1$01v2$2$11 | v2$2$01v2$4$11 | v2$4$01

$0-"0�(*��3�0L4*;�30/���033+�*/��4((0/���0+*$/

+0����A� ?�?��� ?�?� B$0-"0�(*��3�0L4*;�30/���033+�*/�(020(0/�0��0+*$/

+0����A� ?�?��� ?�?� B

Automatching report End

In below table * ,if any ,denotes the difference in the instance due to Master Cell change ------------------------------ Difference Table ------------------------------------------------

| Design | Cell Name | Difference | Type | Bounding Box | Master Name | Layer | DataType |

| Current | TOPCELL | New Object | Instance | 0 8000 7000 13000 | v2$2$11 | | || Current | TOPCELL | Missing Object | Instance | 9000 0 16000 5000 | v2$2$01 | | || Current | TOPCELL | New Object | Instance | 9000 0 16000 7000 | v2$4$11 | | || Current | TOPCELL | Missing Object | Instance | 0 6000 7000 13000 | v2$4$01 | | |…

TOPCELL.report

Page 101: Diff in GDS

108Comparing Layout Database -- dbdiff

Ex_23 – -nocompare

Page 102: Diff in GDS

109Comparing Layout Database -- dbdiff

Ex_23_nocompare/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

-automatch

-multimatch

-nocompare

Page 103: Diff in GDS

110Comparing Layout Database -- dbdiff

TOPCELL.report�������� � ���������� �

����#!���3���/�<�����&��#��&����#!����������������-��033(��#%�3���/�<��������#%��&(��#%��������������-��033"$��)-"0 ��������&���������8��%��� ���������� )�&!/�< �����3�#�8:;"��<� ����+�#�+�� �������� �� ���

��!�<�!%��#� (���!�+!��!�:::::::::::::::::::::::::::::: ��!�"�!%� ���������::::::::::::::::::::::::::::::::::::::::::::::::

����#!�&��#�%��#�< F������(��#%�&��#�%��#�<

� ?�?�� F������������������������� ?�?��� ? ?�� F������������������������� ? ?��� ?�?�� F������������������������� ?�?��

$0-"0�(*��3�0L4*;�30/���033+�*/��4((0/���0+*$/

+0����A� ?�?��� ?�?� B$0-"0�(*��3�0L4*;�30/���033+�*/�(020(0/�0��0+*$/

+0����A� ?�?��� ?�?� B

��!�<�!%��#� ����!�0#CCCCCCCCCCCCCC�+�<<�� �(���!CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

��<<�#�3�#�08%�!�������� :& &!<�$�+�:&��#�&��#��& �-��033�:��&��# ���#%��& �-��033�:��!�<�!%� :<��!�<�!%� :#�%�<��� :����!��-��033�����!

��!���0���&���<�����������+%�#&��D�;��!����"<�� ��������� �'>�"5

Page 104: Diff in GDS

111Comparing Layout Database -- dbdiff

Ex_24 – -exclude_layer

Page 105: Diff in GDS

112Comparing Layout Database -- dbdiff

reference.gds

design.gds

Page 106: Diff in GDS

113Comparing Layout Database -- dbdiff

Ex_24_exclude_layer/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

-exclude_layer exclude_layer_list.txt

26

exclude_layer_list.txt

Page 107: Diff in GDS

114Comparing Layout Database -- dbdiff

TOPCELL.report// dbdiff v2009.3_15.12

Current Lib Name : design.gdsCurrent Top Cell : TOPCELLReference Lib Name : reference.gdsReference Top Cell : TOPCELLMGC_HOME : /apps/Calibre/ixl_cal_2009.3_15.12HostName : Linux-VMTime : Sun Sep 20 17:27:14 2009

In below table * ,if any ,denotes the difference in the instance due to Master Cell change ------------------------------ Difference Table ------------------------------------------------

| Design | Cell Name | Difference | Type | Bounding Box | Master Name | Layer | DataType |

| Current | TOPCELL | Missing Object | Polygon | 1100 30 1860 980 | | 3 | 0 |

************** Summary Report**************************************

****************Shape difference summary begin********************************************

Layer Datatype NewObjs MissingObjs Total

3 0 0 1 1 ****************Shape difference summary end**********************************************

****************Different cells summary begin*********************************************

CellName ReferenceCellName

TOPCELL TOPCELL****************Different cells summary end***********************************************

Command Line Executed : dbdiff -system GDS -design design.gds TOPCELL -refdesign reference.gds TOPCELL -exclude_layerexclude_layer_list.txt -report TOPCELL.report

Total Elapsed Time :: 0 SecondsPeak Virtual Memory :: 42.15 MB

Page 108: Diff in GDS

115Comparing Layout Database -- dbdiff

Ex_25 – -include_layer

Page 109: Diff in GDS

116Comparing Layout Database -- dbdiff

Ex_25_include_layer/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

-include_layer exclude_layer_list.txt

25

include_layer_list.txt

Page 110: Diff in GDS

117Comparing Layout Database -- dbdiff

reference.gds

design.gds

Page 111: Diff in GDS

118Comparing Layout Database -- dbdiff

TOPCELL.report// dbdiff v2009.3_15.12

Current Lib Name : design.gdsCurrent Top Cell : TOPCELLReference Lib Name : reference.gdsReference Top Cell : TOPCELLMGC_HOME : /apps/Calibre/ixl_cal_2009.3_15.12HostName : Linux-VMTime : Sun Sep 20 17:32:21 2009

In below table * ,if any ,denotes the difference in the instance due to Master Cell change ------------------------------ Difference Table ------------------------------------------------

| Design | Cell Name | Difference | Type | Bounding Box | Master Name | Layer | DataType |

| Current | TOPCELL | Missing Object | Polygon | 100 1030 860 1980 | | 2 | 0 |

************** Summary Report**************************************

****************Shape difference summary begin********************************************

Layer Datatype NewObjs MissingObjs Total

2 0 0 1 1 ****************Shape difference summary end**********************************************

****************Different cells summary begin*********************************************

CellName ReferenceCellName

TOPCELL TOPCELL****************Different cells summary end***********************************************

Command Line Executed : dbdiff -system GDS -design design.gds TOPCELL -refdesign reference.gds TOPCELL -include_layer include_layer_list.txt-report TOPCELL.report

Total Elapsed Time :: 1 SecondsPeak Virtual Memory :: 43.23 MB

Page 112: Diff in GDS

119Comparing Layout Database -- dbdiff

Ex_26 – -layermap

Page 113: Diff in GDS

120Comparing Layout Database -- dbdiff

reference.gds

design.gds

Page 114: Diff in GDS

121Comparing Layout Database -- dbdiff

Ex_26_layermap/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

-layermap layermap.txt

���<!��� ���������<!�� ������ ���<!���9������

layermap.txt

Page 115: Diff in GDS

122Comparing Layout Database -- dbdiff

TOPCELL.report// dbdiff v2009.3_15.12

In below table * ,if any ,denotes the difference in the instance due to Master Cell change ------------------------------ Difference Table ------------------------------------------------

| Design | Cell Name | Difference | Type | Bounding Box | Master Name | Layer | DataType |

| Current | TOPCELL | Missing Object | Polygon | 2100 1030 2860 1980 | | via3 | |

| Current | TOPCELL | Missing Object | Polygon | 100 1030 860 1980 | | via1 | |

| Current | TOPCELL | Missing Object | Polygon | 1100 30 1860 980 | | metal2 | |

************** Summary Report**************************************

****************Shape difference summary begin********************************************

Layer Datatype NewObjs MissingObjs Total

6 0 0 1 1 2 0 0 1 1 3 0 0 1 1 ****************Shape difference summary end**********************************************…

Page 116: Diff in GDS

123Comparing Layout Database -- dbdiff

Ex_27 – -sortlayer

Page 117: Diff in GDS

124Comparing Layout Database -- dbdiff

reference.gds

design.gds

Page 118: Diff in GDS

125Comparing Layout Database -- dbdiff

Ex_27_sortlayer/RUNME

���� :& &!< $�+�

:&��# &��#��& �-��033�

:��&��# ���#%��& �-��033�

:����! �-��033�&��!�� ������!

:�� �-��033������&��!�� ����

:&��!�� �

���� :& &!< $�+�

:&��# &��#��& �-��033�

:��&��# ���#%��& �-��033�

:����! �-��033�����!

:�� �-��033��������

Page 119: Diff in GDS

126Comparing Layout Database -- dbdiff

�����������

"�&&�#��+���&������������������������ ������ � ���� ������������������

"�&&�#��+���&������������������������ ������ � ���� ��������������������

"�&&�#��+���&������������������������ ������ � ���� ���������������

"�&&�#��+���&������������������������ ������ � ���� �����������������

"�&&�#��+���&������������������������ ������ � ���� ��������������������

�����������

3 �� "�&&�#��+���&������������������������ ������ � ���� ������������������

3 �� "�&&�#��+���&������������������������ ������ � ���� ��������������������

3��� "�&&�#��+���&������������������������ ������ � ���� ���������������

3��� "�&&�#��+���&������������������������ ������ � ���� �����������������

3��� "�&&�#��+���&������������������������ ������ � ���� �������������������

-sortlayer

Page 120: Diff in GDS

127Comparing Layout Database -- dbdiff

-sortlayer

Page 121: Diff in GDS

128Comparing Layout Database -- dbdiff

Ex_28 – TEXT

Page 122: Diff in GDS

129Comparing Layout Database -- dbdiff

reference.gds

design.gds

Page 123: Diff in GDS

130Comparing Layout Database -- dbdiff

Ex_28_TEXT/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

Page 124: Diff in GDS

131Comparing Layout Database -- dbdiff

TOPCELL.report

// dbdiff v2009.3_15.12

Current Lib Name : design.gdsCurrent Top Cell : TOPCELLReference Lib Name : reference.gdsReference Top Cell : TOPCELLMGC_HOME : /apps/Calibre/ixl_cal_2009.3_15.12HostName : Linux-VMTime : Sun Sep 20 18:04:28 2009

In below table * ,if any ,denotes the difference in the instance due to Master Cell change ------------------------------ Difference Table ------------------------------------------------

| Design | Cell Name | Difference | Type | Bounding Box | Master Name | Layer | DataType |

| Current | TOPCELL | New Object | Polygon | 2000 0 4000 2000 | | 1 | 0 || Current | TOPCELL | New Object | Rectangle | 0 1000 1000 2000 | | 1 | 0 || Current | TOPCELL | Missing Object | Rectangle | 2000 0 4000 2000 | | 1 | 0 || Current | TOPCELL | Missing Object | Rectangle | 0 0 1000 1000 | | 1 | 0 |

************** Summary Report**************************************

Page 125: Diff in GDS

132Comparing Layout Database -- dbdiff

Ex_29 – -comparetext

Page 126: Diff in GDS

133Comparing Layout Database -- dbdiff

Ex_29_comparetext/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

-comparetext

Page 127: Diff in GDS

134Comparing Layout Database -- dbdiff

TOPCELL.report

// dbdiff v2009.3_15.12

Current Lib Name : design.gdsCurrent Top Cell : TOPCELLReference Lib Name : reference.gdsReference Top Cell : TOPCELLMGC_HOME : /apps/Calibre/ixl_cal_2009.3_15.12HostName : Linux-VMTime : Sun Sep 20 18:00:02 2009

In below table * ,if any ,denotes the difference in the instance due to Master Cell change ------------------------------ Difference Table ------------------------------------------------

| Design | Cell Name | Difference | Type | Bounding Box | Master Name | Layer | DataType |TextString |

| Current | TOPCELL | New Object | Polygon | 2000 0 4000 2000 | | 1 | 0 || Current | TOPCELL | New Object | Rectangle | 0 1000 1000 2000 | | 1 | 0 || Current | TOPCELL | Missing Object | Rectangle | 2000 0 4000 2000 | | 1 | 0 || Current | TOPCELL | Missing Object | Rectangle | 0 0 1000 1000 | | 1 | 0 |

| Current | TOPCELL | New Object | Text | 1000 1000 | | 1 | 0 | VDD3 |

| Current | TOPCELL | Missing Object | Text | 1000 1000 | | 1 | 0 | VDD5 |

Page 128: Diff in GDS

135Comparing Layout Database -- dbdiff

Ex_30 – -template

Page 129: Diff in GDS

136Comparing Layout Database -- dbdiff

Ex_30_template/RUNME

dbdiff -system GDS

-design design.gds TOPCELL

-refdesign reference.gds TOPCELL

-report TOPCELL.report

-rdb TOPCELL_dbdiff.rdb

-template dbdiff_template.txt

-automatch-compareallplacedcells-comparearefsassrefs-comparemergeddiffshape-compareshapesaspolygons-comparetext-ignoreemptycells-layermap layermap.txt

dbdiff_template.txt

Page 130: Diff in GDS

137Comparing Layout Database -- dbdiff

Ex_31 – -version

Page 131: Diff in GDS

138Comparing Layout Database -- dbdiff

dbdiff -version

// Calibre dbdiff v2009.3_15.12 Thu Aug 13 13:40:24 PDT 2009//// Copyright Mentor Graphics Corporation 2008// All Rights Reserved.// THIS WORK CONTAINS TRADE SECRET AND PROPRIETARY INFORMATION// WHICH IS THE PROPERTY OF MENTOR GRAPHICS CORPORATION// OR ITS LICENSORS AND IS SUBJECT TO LICENSE TERMS.//// Mentor Graphics software executing under i386 Linux//// Running on Linux Linux-VM 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686

{lchang@lion} – 1002 >

{lchang@lion} – 1001 >

Page 132: Diff in GDS

139Comparing Layout Database -- dbdiff

Ex_32 – -h

Page 133: Diff in GDS

140Comparing Layout Database -- dbdiff

dbdiff -h����

:& &!<�M-��F�"*3.1,�1�F�$�+�F�-�+*+N:&��#�M������ F$&2��N�M%��N�OM��7NP:��&��# M������ F$&2��N�M%��N�OM��7NPO:9�F:� �PO:��!�<�!%� O���#�<P�:<��!�<�!%� :#�%�<���PO:%��<�� M���#�<N�PO:%�%D%�� M���#�<N�PO:%�<���������%%��& PO:%�<������&�&&��& PO:%�<���<�����&��� PO:%�<���&���&�&��� ��#& PO:%�<���!8! PO:8%����#&!�#% PO:8%����� � M���#�<N�PO:���!!#%�� M���#�<N�P

O:��PO:�����%� �#� PO:��#��<�! %��& PO:�#%����� � M���#�<N�PO:�� �<�� M���#�<N�PO:�� M���#�<N�:&��!�� �PO:����!�M���#�<N�PO:!<���!�M���#�<N�PO:��&��#�P

{lchang@lion} – 1002 >

{lchang@lion} – 1001 >

Page 134: Diff in GDS

141Comparing Layout Database -- dbdiff