-
Notifications
You must be signed in to change notification settings - Fork 39
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
Templates for scripting #120
Conversation
a27abdc
to
8b7b8db
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I tested flist
(it also fixes #124) and vsim
and vcs
scripts output in carfield's safety island.
Review status for all script types:
Other checks (for all script types):
|
Apologies for what feels like a really obnoxious comment, but I was wondering what lead you to choose My motivation for asking is that it feels quite heavy with 68 transitive dependencies and adding ~50% to the build time. Maybe this isn't a metric you're measuring or optimizing for, which is totally fair! From a quick survey of templating engines, tinytemplate is quite widely used and hopefully lightweight, but there are others too. I've only skimmed this PR's template usage, so maybe this doesn't have all the features you need, though. This is a great feature regardless, thanks for all the work you're doing on it! I don't want to dismiss any of this work or suggest you redo anything! |
Hi @jwnrt, The main reason I opted for I understand that the build time increases, but this is mainly a constraint on development - for deployment, there are easily available binary releases with a custom script for downloading. We have even recently added a custom github CI action to install bender within github actions. Build time of the tool is not a concern. Regarding other template libraries, I have heard great things about Either way, thank you for your question, I hope this clarifies it somewhat. Let me know if you have feedback on the generated scripts with the new template! |
Yep, that answers my question, thank you for the very detailed response! |
f0e4544
to
99e2b70
Compare
8edf0cf
to
c178976
Compare
Tested vivado script, see Carfield pipeline.
(Not the case before) |
Synopsys seems to work fine, I didn't see any issues pop during an elaboration step. |
Add flist-plus script for files and plusargs
Uniquify works for vivado/vivado-sim, now the script is the same as for previous bender version (just with with some re-ordering) |
scripts generated for verilator also seem to run through now |
Modify script output to use custom templates (tera package). Allows use of custom script template files.
Fixes #124