Home > Community > Forums > Custom IC SKILL > Can we fill a rodCreatePath with rectangles?

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Can we fill a rodCreatePath with rectangles? 

Last post Tue, Nov 6 2012 2:49 AM by Slayer. 3 replies.
Started by sherrymi2 06 Nov 2012 01:12 AM. Topic has 3 replies and 827 views
Page 1 of 1 (4 items)
Sort Posts:
  • Tue, Nov 6 2012 1:12 AM

    • sherrymi2
    • Not Ranked
    • Joined on Tue, Nov 6 2012
    • Posts 2
    • Points 40
    Can we fill a rodCreatePath with rectangles? Reply

    Hi,

    There is an option to fill a rectangle with many small rectangles using subRectArray or rodfillbBoxwithRects.

    But is there a way to fill a path, created using rodCreatePath, with rectangles?

    I am writing a pcell code and need to fill a path with contacts.

    Thanks in advance.

    • Post Points: 20
  • Tue, Nov 6 2012 1:27 AM

    Re: Can we fill a rodCreatePath with rectangles? Reply

    That's what the ?subRect argument to rodCreatePath() does. Please read the documentation for rodCreatePath.

    Regards,

    Andrew.

    • Post Points: 20
  • Tue, Nov 6 2012 1:30 AM

    • sherrymi2
    • Not Ranked
    • Joined on Tue, Nov 6 2012
    • Posts 2
    • Points 40
    Re: Can we fill a rodCreatePath with rectangles? Reply
    The ?subRect function only creates one line of rectangles. I want the entire area to be filled with them.
    • Post Points: 20
  • Tue, Nov 6 2012 2:49 AM

    • Slayer
    • Top 500 Contributor
    • Joined on Fri, Jan 14 2011
    • Posts 29
    • Points 310
    Re: Can we fill a rodCreatePath with rectangles? Reply

             subRect = lambda( (newSubRect midLineShift)
                append(
                        newSubRect
                        list(
                             list(
                                 ?layer contLayer                           

                                 ?width width

                                ?length length

                                ?gap 'distribute
                                 ?beginOffset 0

                                ?endOffset 0

                                ?space Contact space

                                ?sep midLineShift
                                 ?justification "center"
                                 ?choppable t
                             )
                        )
                );append
            );

     

    in the loop up this function:

    aa1 = apply(subRect list(aa1 shift_of_the_middle_line));

     

    and add to the path

              rodCreatePath( ?cvId 

                        ?layer        

                        ?width         

                        ?pts        

                        ?justification  "right"
                        ?choppable        nil
                        ?termName         

                        ?pin         t
                        ?offsetSubPath  

                        ?subRect         aa1

           ) ;

    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by sherrymi2 at 06 Nov 2012 01:12 AM. Topic has 3 replies.