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

Analog flow is completely broken #31

Open
RTimothyEdwards opened this issue Aug 26, 2022 · 4 comments
Open

Analog flow is completely broken #31

RTimothyEdwards opened this issue Aug 26, 2022 · 4 comments
Assignees

Comments

@RTimothyEdwards
Copy link
Contributor

All of the .mag files in the magic/ directory have tech $PDK as the second line, which is not handled by magic and completely breaks the design flow and causes everything to fail.

@RTimothyEdwards
Copy link
Contributor Author

@marwaneltoukhy : This error appears to come from commit 014204425607cc32b9d26b35a2963a7632ee35ca with your name on it. Can you explain this commit??

@marwaneltoukhy
Copy link
Member

@RTimothyEdwards This was to change the pdk name to be a variable, so sky130A changed to PDK environment variable, PDK should be exported same as how we export PDK_ROOT, to either sky130A or sky130B

@RTimothyEdwards
Copy link
Contributor Author

@marwaneltoukhy : But you can't do that! The .mag file is a specific, documented format, and variables are not part of that format. By putting a variable in the file, you break the file format and magic isn't going to accept that file, breaking magic for anybody who uses it on any of those files. There is a good reason that the field isn't a variable, which is that layouts are all very specific to processes and process variants. You would not, generally speaking, want the same layout for a different variant. At any rate, there is already a known way of moving a file from one technology to another in magic, which is to use the "load -force" option.

If you wish to specify that a layout could be compatible with multiple variants, I would at least require that the format have specific control over which variants are allowed, but allowing any variant whatsoever is just wrong, wrong, wrong. I would be happy to discuss making some extension to magic to allow a limited selection of compatible technologies, such as, perhaps, "tech sky130A|sky130B" or "tech (sky130A sky130B)" or somesuch.

@RTimothyEdwards
Copy link
Contributor Author

See pull request #34

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

No branches or pull requests

2 participants