10 Replies Latest reply on Dec 11, 2015 11:20 AM by abrar

    DESIGNrev scripts to share

    chris_balcom

      Hi DESIGNrev users,

       

      My colleague Saunder has been looking into several ideas for Tcl scripts that run in DESIGNrev. We’re wondering if any of the following topics would be of interest to folks here in the Calibre Communities. If you see something you think would be useful for you or someone else would you let us know by posting a response to this thread? If any of these generate interest then we will finish them up and share them with the community.

       

      NOTE: another use for scripts like these are to use as a base to make changes to, and accomplish something slightly different you may be interested in. These kinds of scripts can be very easy to modify and also very easy to use in DESIGNrev.

       

      1. 1.      Get the total area of selected polygons.

      2. 2.      Save the current DESIGNrev window view in a png format.

      3. 3.      Create overlay and open RVE to view the XOR results in one step

      4. 4.      Compare 2 DRC sets of results.

      5. 5.      Get database’s information without opening the design ( such as, cellnames, Topcells, precisions…etc)

      6. 6.      Rename a list of cells to avoid conflict on cellnames

      7. 7.      Change the database format from GDS to OASIS file

      8. 8.      Create your own DESIGNrev Macro’s menu

       

      Reply to this post to let us know which of these capabilities would be valuable to have and we’ll work on making those scripts available first.

      Best regards,
      Chris & Saunder

        • 1. Re: DESIGNrev scripts to share
          Skype

          Hi Chris,

           

          This is a quite exciting topic.

           

          Please start with the below scripts


          1. 4.     Compare 2 DRC sets of results.
          2. 5.     Get database’s information without opening the design ( such as, cellnames, Topcells, precisions…etc)


            Infact , i had requested in another thread  about filtering script

          Any script  for Calibre RVE to differentiate/filter out the DRCs which are inside to stdcells from the top .

           


          1. Its really appreaciable sharing the commonly usage scripts.

           

          Thanks.

          Kranthi

          • 2. Re: DESIGNrev scripts to share
            chris_balcom

            Hi Kranthi,

             

            Thanks for expressing your intererest! I'll share this with Saunder on Monday and he will probably be able to finalize those two scripts next week and share them with everybody.

             

            Kind regards,

            -chris

            • 3. Re: DESIGNrev scripts to share
              Skype

              Hi Chris,

               

              Since last week, been eagerly waiting for the scripts.

              When we can expect it to be posted.

               

              Thank you.

              • 4. Re: DESIGNrev scripts to share
                chris_balcom

                Hi Kranthi,

                 

                Thanks again for helping decide which area to focus on. This first technique is a method for comparing two ASCII results databases. It involves a few scripts and uses DESIGNrev to convert the ASCII results databsaes to GDS files, then Calibre DRC to compare the GDS files, and Calibre RVE to check the differences between the GDS files. Saunder also created some example data that can be used to test this flow.

                 

                Here are the names of the two scripts that will be used:

                 

                convert.tcl

                result_in_overlay.tcl

                 

                Here are the names of the two files for the example data that can be used to familiarize yourself with the flow:

                 

                1.drc.results

                2.drc.results

                 

                There is also a README file that describes details about the inputs and outputs expected:

                 

                README

                 

                I've attached those scripts, test data and README file to a "document" in the Calibre Communities at this location:

                 

                http://communities.mentor.com/docs/DOC-3958

                 

                Will be very interested to see how it goes for you.

                 

                Best regards,

                Chris & Saunder

                • 5. Re: DESIGNrev scripts to share
                  tommark

                  Hi chris,

                          I'm interested in topic 3.

                          When comparing two GDS file, I always write a DRC rule file with XOR command and excute it. after that, open calibreworkbench and review the output GDS to find the difference.

                          The topic 3 can provide a more convenient method to do this. right?

                          thank you so much.

                  • 6. Re: DESIGNrev scripts to share
                    chris_balcom

                    I'm checking with Saunder to see if he can put something together for us on #3. Will let you know how it goes.

                     

                    Regards,

                    -chris

                    • 7. Re: DESIGNrev scripts to share
                      Alex_Wei

                      Chris,

                       

                      I just found this topic and I'd be interested in item 2.  Saving out the full window to png.

                       

                      Thanks,

                      Alex

                      • 8. Re: DESIGNrev scripts to share
                        chris_balcom

                        Hi Alex,

                         

                        I think Saunder or someone else here at Mentor is actually considering creating a video on that topic. I'll check with them to see if it's planned to be available soon and let you know.

                         

                        -chris

                        • 9. Re: DESIGNrev scripts to share
                          saunder_peng

                          Hi Alex,

                           

                          You can use $V exportView command in DESIGNrev to export your current layout window to a png file.

                           

                          % set wb [find objects -class cwbWorkBench]
                          % set V [$wb cget -_layoutView]
                          % $V exportView png a1720.png

                          • 10. Re: DESIGNrev scripts to share
                            abrar

                            Hi Chris

                             

                            I am interested in 7, changing the database from GDS to OAS

                             

                            Thanks

                            Abrar