Matthias

Hi Jim, you can use master or any other branch, but without warranty. The usual approach (and the one favoured by GitHub) is: features are developed in branches. When they are considered stable enough they are integrated into the master (pull request). Hence the master is kind of "latest greatest", but with a certain risk of being spoiled. There are also forks from other user with their own masters and branches. Don't confuse them with the ones from the KLayout project. But eventually, when the master is considered to have a sufficient quality, a release is made by creating a release tag (https://github.com/KLayout/klayout/releases). A release is a snapshot which is then turned into Windows binaries, Linux packages, PyPI wheels etc. This this is a lengthy process and I don't want to do this too often. Matthias

About

Username
Matthias
Joined
Visits
679
Last Active
Roles
Member

Activity

  • ashkan

    Hi Matthias,
    Sorry to bother you here. my question is so simple and silly which I think you didn't answer me. I am so sorry.

    Look I have two questions:
    Imagine I have a Pcell (like a transistor with W, L, and Number of fingers variables) I want to use this Pcell:
    1- To create an array of transistors with different features but static L
    2- Use this Pcell inside another Pcell.
    How should I do that?

    Currently, I write all the Pcells inside a code again and call it several times like this:

    def produce_impl(self):
    # This is the main part of the implementation: create the layout
    self.inverter(0, 250, 0, self.w_d)
    self.inverter(0, 500, 0, self.w_d)
    self.inverter(0, 750, 0, self.w_d)
    self.inverter(0, 1000, 0, self.w_d)
    self.inverter(0, 1250, 0, self.w_d)
    self.inverter(0, 1500, 0, self.w_d)

    I appreciate it if you can help me. I am very noob on Python and Ruby so I have a big problem and I need an example for them. :'(

    November 2021