intel / intel/rohd-hcl

Upgrade component output conditional generation

Open
#91 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
115
Forks
39
Avg merge
1d 13h
Merged PRs (30d)
1

Description

### Motivation

There are a variety of ways to have optional output ports, for example:
- A bool to control whether it gets generated with a nullable getter
- An optional argument to the constructor that connects to an output (requires width matching)
- A getter with a side-effect of lazily creating the port (and associated logic) when it's requested

These all have pros and cons in both implementation and use cases

### Desired solution

Debate these, figure out if there's a consistent solution that's good for all cases vs. multiple depending on where it is

### Alternatives considered

_No response_

### Additional details

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.