As the first pieces of a Python API for CIRCT are landing, @jdd and I were thinking it would be good to have a discussion about some of this stuff with anyone else who interested. It doesn’t need to take time out of the weekly meetings, but we were thinking of staying behind after the meeting tomorrow (3/24) to have this chat so it could be recorded. If anyone else is interested in this stuff, feel free to stay behind as well!
For a snapshot of where we’re at today, here are some resources:
- Very simple example of building an RTL op: circt/rtl.py at main · llvm/circt · GitHub
- Initial issue in the tracker, including some next steps as of today: Set up a Python<-->CIRCT interface and add some tests · Issue #710 · llvm/circt · GitHub
- Longer term plan for system assembly with Python: System assembly Python API · Issue #805 · llvm/circt · GitHub