6 Replies Latest reply on Nov 28, 2012 9:00 PM by pepsiman

    db file to load in to calibre

    sathi.ec

      Is their a way to create a db file from the normal file.

      Normal file has the details of cordinates of the required palces.

      So is is possible to modify the normal file which has the details and convert it to db file,

      so that i can load it in to calibre and highlight the areas.

       

      help me to do the conversion, or any documents related to this will be helpfull.

       

      --Sathisha

        • 1. Re: db file to load in to calibre
          samantha_lizak

          Hi Sathi-

           

          I'm  a bit hazy on what is meant by a "db file" (GDS? OASIS? text?) and a "normal file".  Would you please tell me if the below is what you are trying to do?

           

          Idea A: Stepping through highlights that are not part of layout:

          1. Create an ascii file of layer# x y coordinates
          2. Open a layout in a Calibre viewer like DESIGNrev or WORKbench
          3. Start a Calibre RVE session
          4. Load coordinate file
          5. Have RVE highlight coordinates

          (Probably doable, but hard)

           

          Idea B: Adding coordinates from a file to a layout

          1. Create an ascii file of layer# x1 y1 x2 y2 ... xn yn coordinates
          2. Open a layout editor like DESIGNrev or IC Station (Pyxis)
          3. Optionally open an existing database
          4. Read in the ascii file and have editor draw polygons on appropriate layers
          5. Be able to save as a "real" layout database

          (Pretty sure this can be done with tcl/TVF - I think I have seen scripts for it; the tricky part is step 1.)

           

          Or did you mean something else entirely?

           

          Thanks-

           

          Sam.

          • 2. Re: db file to load in to calibre
            yijun_tong

            Hi Sathisha,

             

            Would you please explain a little more what do you mean by "normal file" and what you mean by "db file"?

            • 3. Re: db file to load in to calibre
              sathi.ec

              Hi sam,

               

              what is meant by a "db file" (GDS? OASIS? text?) and a "normal file"?

               

              db file i meant is which has the format like this

              V1

              1 1 2

              Rule File Pathname:****

              e 1 2

              42747 11938 42752 11943  (these are the co-ordinates)

              42756 11893 42761 11898

              V2

              2 2 2

              Rule File Pathname:****

              e 1 2

              41962 11947 41967 11952 (these are the co-ordinates)

              41948 11956 41953 11961 (these are the co-ordinates)

              e 2 2

              41952 13201 41957 13206 (these are the co-ordinates)

              41954 13201 41959 13206 (these are the co-ordinates)

               

              Normal file i meant is which has information like this

              *.file has information like below

               

              layer      ********      ******      ****     ****     ****     ****       X1       Y1         X2        Y2  

                              ***         ******        ****     ****     ****     ****     (um)     (um)      (um)     (um) 

              M1      150.966u   0.0600      ****     ****     ****     ****    57.980  25.390  57.980  25.273

              M1      150.956u   0.0600      ****     ****     ****     ****    57.980  23.461  57.980  23.577

              M1      138.487u   0.0600      ****     ****     ****     ****    57.980  25.390  57.980  25.494

              M1      138.459u   0.0600      ****     ****     ****     ****    57.980  23.357  57.980  23.461

               

              i didn't find any suitable name so, i called it has normal file.

              I hope this clears the db file and normal file explanation.

               

              Now what i am trying to do is put the above normal file information in to the db file (it can be any other name) but it needs the format which i have shown above.

               

              sam, as u mentioned the two ideas both are valid, and i am trying to do the same, but stuck at the point where i am not able to right the proper format for the metal layers, Contacts and Vias format are fine.

               

              Could please help me on this.

               

              Do u have any idea how to step up in these,

              i am new to the scripting, right now i tried manually for one file, if everything goes well, then i need to apply to this on different file through script to get the required format.

               

              --Sathisha

              • 4. Re: db file to load in to calibre
                pepsiman

                any updates on this one?..

                i'm also looking for more detailed information about the file that is to be loaded in RVE.

                 

                as of now, i only have this information:

                 

                cellname 2000                 < this is the top level cellname and scaling

                metal_rule1                     < this is the rule name

                4 4 2                               < this means that there are 4 errors of metal_rule1 (4 4), the 2) means that the line that should be ommited for the "Comment" is 2 lines

                Comment1/Description1   < this is the comment or description of the error, you can also add a path here.

                Comment2/Description2   < this is the comment or description of the error, you can also add a path here.

                e 1 3                               < "e" stands for Edges?.. i think (i realy dont know).. sometimes it is "p" which is i think stands for point ..this is just a guess... for (1 3) the "1" means it is the error count and the "3" means that the total coordinates used in that error 1 is "3".

                43530 7930 33650 7930    < coordinates

                40260 6040 40260 6970

                40040 6790 40510 6790

                e 2 3

                43530 7930 33650 7930

                40340 6970 40340 6040

                40040 6790 40510 6790

                e 3 3

                38170 8050 38170 1680

                38680 3210 39610 3210

                38860 2910 38860 3430

                e 4 3

                38170 8050 38170 1680

                39610 3130 38680 3130

                38860 2910 38860 3430

                 

                as of now this is what i know and im using it in my script to make a file to be loaded in RVE. My only problem is that "what is the file format if there is an error in a lower level cell" , the above example is from a flattened GDS.

                coz if the input is Hierarchical... if theres an error in a lower level cell..the coordinates will be based from that lower level cell....

                 

                I hope there is anyone in this community specially the guys from mentorGraphics who can give me more information about the clibre RVE input file format.

                 

                Thanks... =)

                • 5. Re: db file to load in to calibre
                  chris_balcom

                  Are you able to get to the Calibre Verification User's Manual ?

                   

                  There's a great explanation in the section called "ASCII DRC Results Database Format". It describes how the "e" indicates edge clusters, while the "p" means coordinates are describing a polygon etc. For the lower level cells, there is a related section "DRC Cell Name Results".

                   

                  Best regards,

                  -chris

                  • 6. Re: db file to load in to calibre
                    pepsiman

                    Hi Chris,

                     

                    Thanks for your reply, the info was very helpful...