llvm / llvm/circt

[Python Bindings] Change "export_verilog" to be pass-like

Open
#1,947 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Python
Dominant language
C++
Stars
2.2k
Forks
524
Avg merge
3d 2h
Merged PRs (30d)
46

Description

ExportVerilog is now a pass, and can have other passes scheduled after it. It would be great to change the python bindings to reflect this and remove the hard coded `circt.export_verilog` method.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Python binding for ExportVerilog and the hard-coded circt.export_verilog method. Check how ExportVerilog is represented as a pass and how other passes can be scheduled after it; done means the Python bindings reflect that pass behavior without the hard-coded method.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
compilers
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.