lowRISC / lowRISC/opentitan

[topgen] indication of subsystem

Open
#2,721 5 comments 0 reactions 0 assignees View on GitHub
Component:Tooling Earlgrey-PROD Triaged Priority:P2 Type:Task
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

Revise `top_{name}.hjson` to have indications of subsystems. Each IP instances, memories, crossbars will have `subsystem` field that indicates which subsystem it belongs. Top-level also has `subsystems` field which has details of the subsystem configs.

With these fields, topgen will be able to figure out what signal ports the subsystem has and create the subsystem RTL accordingly.

Related issues: #295 #892

Contributor guide

Open the contributing guide

Research direction

Start with the topgen handling of `top_{name}.hjson` and review related issues #295 and #892 for the intended subsystem model. Define the instance, memory, crossbar, and top-level `subsystems` fields, then verify that topgen can derive subsystem signal ports and generate the corresponding subsystem RTL.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.