intel / intel/rohd

Mark dangling ports in module instantiations

Open
#546 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

Currently, if a port has a dangling port, the instantiation in generated verilog will create a `logic` to put on that port, then leave it floating. It would potentially be better to instead explicitly mark it as dangling in the generated output with a comment.

For example:
```SystemVerilog
.o(/*dangling output/*)
```

### Desired solution

When ports of (non-custom) modules are left dangling, instead of shoving a floating signal in, mark it as dangling.

### Alternatives considered

_No response_

### Additional details

It's important to ensure that the resulting solution is tool-friendly, lint-clean, etc.

Perhaps this should be an optional feature on the `Synthesizer`

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.