Proposal: Standardized Property Metadata API for Chisel Based on IP-XACT
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
まず、提案で参照されている既存の Property API、Object Model、RocketChip OM/OM2、Trace API、および Property & Class API を確認します。次に、IP-XACT に準拠した ABI と、明示的な Chisel properties と CIRCT から暗黙的に導出されるメタデータとの境界を明確にします。ABI、Chisel API、CIRCT transforms、および supporting inspection library に関する checklist 項目を解決すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Motivation
Chisel has long lacked a unified and robust approach for exposing metadata. Several prior attempts—such as RocketChip OM/OM2, the Trace API, and the current Property & Class API—have fallen short of broad adoption.
At present, the only recommended approach is the Property API integrated with OM (Object Model), but this solution is still underutilized by the majority of end users, the only known users might be only SiFive and the T1 project.
As we evaluate integration with various IP tools and respond to feedback from customers, it's clear that a more generic and structured Property API is needed. This API should accommodate diverse use cases while offering compatibility with standard tooling expectations such as IP-XACT.
Solution
We propose to define a standard metadata OM model based on the IP-XACT schema, split into two categories:
-
Explicit Properties: These include bus interfaces, address maps, generator parameters, and other user-defined metadata. These should be captured in Chisel using a well-defined API. These properties should then be emitted through MLIR in a standardized ABI format.
-
Implicit Properties: These include instance hierarchies, ports, and other circuit-derived metadata. These will be extracted via CIRCT transforms and automatically exposed through the OM layer.
By clearly separating what can be annotated manually from what must be analyzed, we can create a clean metadata architecture that supports introspection and IP integration at scale.
Approach
[ ] Define a standardized and IP-XACT-aligned ABI for OM metadata
[ ] Enumerate and formalize the explicit properties and expose them via a Chisel API
[ ] Extend CIRCT to analyze and emit implicit metadata via transforms
[ ] Provide a supporting library (e.g., OM Python API or zaozi-om in Scala 3) to inspect OM metadata from MLIR for downstream tooling
- 主要言語
- Scala
- スター
- 4.8k
- フォーク
- 669
- 平均マージ
- 1日 12時間
- マージ済み PR(30日)
- 25
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
chipsalliance/chisel のほかの issue
-
`addAttribute` cannot be used on RawModule対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
chipsalliance/chisel#5570 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
chipsalliance/chisel#5499 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 54/100
chipsalliance/chisel#5430 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
MultiClockSpec chiselTest fails with recent Verilator version対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
chipsalliance/chisel#5418 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 50/100
chipsalliance/chisel#5411 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
chipsalliance/chisel の issue をすべて見る
似ている issue
-
[Bug][NewCSR] vsstatus.SDT latches writes while DTE=0, exposing illegal (vsstatus.SDT=1 && vsstatus.SIE=1)対応中かも @docluka77 が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
OpenXiangShan/XiangShan#7134 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1時間未満 初心者へのやさしさ 83/100
rchillyard/TableParser#230 ·
メンテナーはふだん 1 日以内に返信
-
AI Generated CI/CD ⚒️ Flaky-tests 🐦 python 🐍
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
valkey-io/valkey-glide#8012 ·
メンテナーはふだん 3 日以内に返信
-
Agent Workspace Python guidance: the agent can choose an interpreter without magda-python-runtime plan対応中かも @chandrasahith が 2 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
magda-io/magda#4007 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] Iceberg v3 read test fails during schema setup with a zero decimal default対応中かも @res-life が 1 日前に担当しました。 オープンbot_watch bug
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
NVIDIA/cudf-spark#17288 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信