chipsalliance/chisel

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

Offen

#2.435 geöffnet am 07.03.2022

 (6 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Scala (651 Forks)batch import
good first issue

Repository-Metriken

Stars
 (4.658 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 3T 21h) (16 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide