Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alias of xschem is causing trouble #60

Closed
hpretl opened this issue Jul 31, 2024 · 1 comment
Closed

Alias of xschem is causing trouble #60

hpretl opened this issue Jul 31, 2024 · 1 comment
Assignees
Labels

Comments

@hpretl
Copy link
Member

hpretl commented Jul 31, 2024

Currently, xschem is aliased to xschem --rcfile $PDKPATH/libs.tech/xschem/xschemrc.

This causes issues in various scenarios, like using a local xschemrc or trying to pass an additional --rcfile when starting xschem.

The idea behind this alias is to provide the PDK xschemrc to xschem, especially for less experienced users.

Better solution than using the alias is this: Put into /headless/.xschem an xschemrc with this content:

# Source the PDK xschemrc file
source $env(PDK_ROOT)/$env(PDK)/libs.tech/xschem/xschemrc

This will still load the PDK's xschemrc if no other xschemrc is provided, but it does not require the alias.

@hpretl hpretl self-assigned this Jul 31, 2024
@hpretl hpretl added enhancement New feature or request next release labels Jul 31, 2024
@hpretl
Copy link
Member Author

hpretl commented Jul 31, 2024

Implemented with da3018b.

And while looking into this, I figured it is pretty much the same situation with magic, so I applied the same story there as well. The equivalent config file is /headless/.magicrc, it does the same as detailed above. Implemented with ba1cadc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant