-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[BYOC][Verilator] add support to dynamically load hardware library #7286
[BYOC][Verilator] add support to dynamically load hardware library #7286
Conversation
@tqchen I'd love some input on this if you have time to review |
@@ -66,10 +68,43 @@ def offload(mod): | |||
return mod | |||
|
|||
|
|||
def verilator_app_path(): |
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.
I don't think it's actually running in the CI (see https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/PR-7286/6/pipeline/255#step-340-log-91), would be better if we could enable testing this.
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.
Hey @liangfu
Yeah that is the plan, once we merge this. The idea is to finally update that PR that we have open for CI.
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.
Love the new dynamic load feature, the code below looks very clean.
with tvm.transform.PassContext(
opt_level=3, config={"relay.ext.verilator.options": {"lib": lib}}
):
LGTM
…pache#7286) * add files * remove import * remove os import * reorder header * fix header order cpplint * lint fix
…pache#7286) * add files * remove import * remove os import * reorder header * fix header order cpplint * lint fix
…pache#7286) * add files * remove import * remove os import * reorder header * fix header order cpplint * lint fix
…pache#7286) * add files * remove import * remove os import * reorder header * fix header order cpplint * lint fix
@liangfu @tmoreau89