intel / intel/rohd

Partial assignment of `Logic` indices

Open
#510 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Dart
Stars
489
Forks
88
Avg merge
3d 23h
Merged PRs (30d)
10

Description

### Motivation

In SystemVerilog and some other HDLs/generator frameworks (e.g. Chisel) there are APIs for assigning an element/range of a bus/array where the index is itself a signal. This implies significant muxing hardware, but has a nice API. ROHD should have a similar API.

### Desired solution

Perhaps some sort of expansion on `withSet` APIs to accept `Logic` in addition to just `int`.

### Alternatives considered

_No response_

### Additional details

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing withSet APIs and how Logic represents bus or array indices. The desired outcome is an API that supports partial element or range assignment with a Logic index, including the associated muxing behavior; the issue does not name specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.