lowRISC / lowRISC/opentitan

[top/fpga] De-duplicate pin and pad info for cw310 and cw340

Open
#29,756 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

TOP:earlgrey
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

### Description

The `pinmux`, `pinout`, and, pending #29546, `chiplevel` properties of the cw310 and cw340 targets of earlgrey are nearly identical. The only difference is the added `POR_BUTTON_N` pad for cw310.

We should somehow unify this configuration data in `top_earlgrey.hjson` and only mention the differences in the respective target(s).

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 in top_earlgrey.hjson and compare the pinmux, pinout, and pending chiplevel properties for the cw310 and cw340 earlgrey targets. Consolidate the shared configuration while retaining the cw310-only POR_BUTTON_N pad; done means the targets no longer duplicate identical data and their differences remain explicit.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.