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 from_manifest() and from_commandline() constructors #1169

Open
nmoroze opened this issue Nov 2, 2022 · 0 comments
Open

Add from_manifest() and from_commandline() constructors #1169

nmoroze opened this issue Nov 2, 2022 · 0 comments

Comments

@nmoroze
Copy link
Contributor

nmoroze commented Nov 2, 2022

It would be pretty handy (especially now that design is a required argument) to provide alternate constructors using Python's @classmethod:

chip = siliconcompiler.Chip.from_manifest('build/heartbeat/job0/heartbeat.pkg.json')

chip = siliconcompiler.Chip.from_commandline('Build chip', switchlist=['-design', '-flow'])
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

1 participant