chipsalliance / chipsalliance/chisel

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

Open
#2,435 6 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Scala
Stars
4.8k
Forks
658
Avg merge
18h 59m
Merged PRs (30d)
14

Description

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

Open the contributing guide

Research direction

Start with the linked Scastie sketch and review the existing VecInit and Bundle.Lit APIs in the Chisel codebase. Determine how Bundle.Init should compose and whether DataView support is in scope; done means an agreed API addition with coverage for the intended use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
backend-api-design
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.