chipsalliance / chipsalliance/chisel

BlackBoxUtils use a BlackBox self-type, should be BaseBlackBox?

Open
#1,108 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
4.8k
Forks
658
Avg merge
18h 59m
Merged PRs (30d)
14

Description

You currently can't mixin `HasBlackBoxResource` into `ExtModule` due to the self-typing used for `BlackBoxUtils` traits.

**Type of issue**: bug report

**Impact**: API addition (no impact on existing code)

**Development Phase**: proposal

**What is the use case for changing the behavior?**

Being able to use `BlackBoxUtils` annotators for `ExtModule`.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the definitions and self-types of BlackBoxUtils, HasBlackBoxResource, ExtModule, and BaseBlackBox in the Chisel source. Confirm the intended API relationship and verify that HasBlackBoxResource can be mixed into ExtModule without breaking existing BlackBox use cases; the issue names no test or file to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
compilers
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.