Define some statically typed class with the stuff from a FlowCfg that Deploy cares about
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Python
- Stars
- 13
- Forks
- 21
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 8
Description
This idea comes about from an idea from @AlexJones0 ([here](https://github.com/lowRISC/dvsim/pull/146#discussion_r3030268833)) and I think it would make the code in `deploy.py` quite a bit less dynamically typed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading deploy.py and the linked discussion in pull request 146. Trace which parts of FlowCfg Deploy uses, then define the proposed statically typed class around that set of data. Done means deploy.py uses the new typed representation rather than relying on those dynamically typed FlowCfg attributes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system, tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100