Skip to content

gf180: fix access rights for klayout macro#275

Open
Scafir wants to merge 1 commit into
iic-jku:next_releasefrom
Scafir:gf180_access_rights
Open

gf180: fix access rights for klayout macro#275
Scafir wants to merge 1 commit into
iic-jku:next_releasefrom
Scafir:gf180_access_rights

Conversation

@Scafir
Copy link
Copy Markdown

@Scafir Scafir commented Apr 27, 2026

This fixes a regression introduced by 56ee4b0, which removed access rights to the pdk.

It is currently required for:

  1. Saving the DRC (and soon LVS) options permanently
  2. Holding the DRC default output directory

Fixes #273

@hpretl
Copy link
Copy Markdown
Member

hpretl commented Apr 27, 2026

@Scafir Before merging this, we should discuss an alternative way. PDK locations should always be read-only, so if there is a file to be modified, it should be in user space. How difficult would it be to achieve this?

@Scafir
Copy link
Copy Markdown
Author

Scafir commented Apr 27, 2026

I agree. This is not something I had in mind when I made my improvements in the PDK.
The DRC output directory requirement will be dropped when the new DRC approach is merged, which should hopefully be soon.

For the DRC/LVS options, I am not sure how to implement a solution that is cross-plateform compatible. I will think about this, but it cannot be too hard.

I will also need to make sure write access is not required elsewhere (e.g: xschem LVS netlist to klayout conversion).

@hpretl
Copy link
Copy Markdown
Member

hpretl commented Apr 27, 2026

@Scafir Exactly. What can be safely used is

  • $HOME for user settings
  • /tmp for temporary stuff
  • $DESIGNS for project-related settings. In this sense DRC/LVS settings should go to $DESIGNS, which is the /foss/designs tree

This fixes a regression introduced by 56ee4b0
Fixes iic-jku#273
@Scafir Scafir force-pushed the gf180_access_rights branch from 1200f30 to a63219a Compare April 27, 2026 15:45
@hpretl hpretl changed the base branch from main to next_release April 27, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot run DRC/LVS using Klayout GUI with chipathon26 image

2 participants