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

Add Magic #19

Open
mithro opened this issue Dec 5, 2020 · 6 comments
Open

Add Magic #19

mithro opened this issue Dec 5, 2020 · 6 comments
Labels
Help wanted Extra attention is needed Synth-ASIC Tools for synthesis targeting ASICs

Comments

@mithro
Copy link
Member

mithro commented Dec 5, 2020

Needed for things like DRC checks and GDS generation.

@umarcor umarcor added the Synth-ASIC Tools for synthesis targeting ASICs label Dec 6, 2020
@umarcor umarcor changed the title ASIC: Get Magic into bazel Add Magic Dec 6, 2020
@umarcor
Copy link
Member

umarcor commented Dec 6, 2020

@umarcor umarcor added the Help wanted Extra attention is needed label Dec 6, 2020
@mithro
Copy link
Member Author

mithro commented Dec 14, 2020

@per-gron apparently has rules for Magic.

@per-gron
Copy link
Contributor

Yep, I can do this one.

@per-gron
Copy link
Contributor

As of 69c11fe Magic is available as @com_opencircuitdesign_magic//:magic. This is however limited to the non-Tcl version of Magic because I didn't want to pull in the Tk and GUI dependencies. I don't know if this is enough for what you want to use it for.

@mithro
Copy link
Member Author

mithro commented Dec 16, 2020

I think we really do want the tcl support so we can do automated DRC checking and automatic format conversion. What confuses me is why the TCL support requires a GUI.

@per-gron
Copy link
Contributor

per-gron commented Dec 17, 2020

AFAIU the non-Tcl version of Magic still supports these features, it just doesn't support Tcl scripting. The non-Tcl version of magic accepts commands that have Tcl-like syntax, but without full Tcl support.

I don't think there's a fundamental reason for Tcl support requiring a GUI, it's just that Magic is currently written to be compilable in two modes: without Tcl as a command line tool, or with Tcl/Tk with GUI support. There's enough interdependencies between Tcl code and GUI code that it's not practical to build Magic with Tcl without GUI without doing Magic code changes (it would require more patches than I think makes sense to maintain in this repo).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help wanted Extra attention is needed Synth-ASIC Tools for synthesis targeting ASICs
Projects
None yet
Development

No branches or pull requests

3 participants