lowRISC / lowRISC/dvsim

Define some statically typed class with the stuff from a FlowCfg that Deploy cares about

Open
#161 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.