-
Notifications
You must be signed in to change notification settings - Fork 313
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
[SMT][python] enable python bindings #8071
[SMT][python] enable python bindings #8071
Conversation
a75d771
to
06a998e
Compare
Thanks! We test python bindings in |
@uenoku added a "smoke test" |
0a8f5b3
to
20055ee
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.
Thanks for adding this!
include/circt-c/Dialect/SMT.h
Outdated
@@ -0,0 +1,24 @@ | |||
//===- SMT.h - C interface for the SMT dialect ----------------*- C -*-===// |
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.
80 cols
@@ -0,0 +1,14 @@ | |||
//===- SMTOps.td - Entry point for SMT bindings --------*- tablegen -*-===// |
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.
80 cols
|
||
include "circt/Dialect/SMT/SMT.td" | ||
|
||
#endif |
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.
#endif | |
#endif // BINDINGS_PYTHON_SMT_OPS |
lib/CAPI/Dialect/SMT.cpp
Outdated
@@ -0,0 +1,14 @@ | |||
//===- SMT.cpp - C interface for the SMT dialect ----------------------===// |
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.
80 cols
This PR enables the python bindings for the
smt
dialect.I'm not sure what y'alls approach is to testing these bindings since PyCDE only tests the bindings it uses and I don't see any other python bindings tests around...