llvm / llvm/circt

User-oriented Documentation for Firtool-lib C-API

Open
#6,464 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.2k
Forks
524
Avg merge
3d 2h
Merged PRs (30d)
46

Description

A well-documented Firtool-lib C-API would be great for downstreams (e.g. `chisel`) references. There is a lack of such a thing at the moment.

So I opened the issue to discuss how this might be implemented. Any thoughts and opinions are welcome :)

---

Things that need to be documented:

- All `populate-` functions.

- The effect of each option
(shared the same doc for both function setter and command-line opt)

Possible implementations:

- Write a Markdown file and place it under `./docs` in the git repository, then render as HTML and host it on https://circt.llvm.org/.

- Write code comments in the header files.

- Anything else?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the firtool-lib C-API, its populate- functions, option setters, and corresponding command-line options. Decide whether the documentation belongs in a Markdown file under ./docs or in header-file comments; done means all populate- functions and each option's effect are documented for downstream users.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.