chipsalliance/chisel

Add Bundle.Init (analogous to VecInit / Bundle.Lit)

開放

#2,435 建立於 2022年3月7日

 (6 則留言) (0 個反應) (0 位負責人)Scala (651 個分叉)batch import
good first issue

倉庫指標

星標
 (4,658 顆星)
PR 合併指標
 (平均合併 3天 21小時) (30 天內合併 16 個 PR)

描述

I sketched out a version of this here: https://scastie.scala-lang.org/D0948BD1SgeZEqLGkVBoJg

Ideally this (and VecInit for that matter) would:

  1. compose
  2. utilize DataView -- (we probably cannot change VecInit but views here so that you can connect to the underlying fields would be nice)

Regardless, this sketch is useful on its own even without the more robust solution

Type of issue: bug report | feature request | documentation | other enhancement

Impact: API addition (no impact on existing code)

Development Phase: proposal

What is the use case for changing the behavior?

Useful API for users

貢獻者指南