Skip to content

A "must use" flag that can be put on signals that should not be left unconnected #1497

Open
@whitequark

Description

@whitequark

This would be mainly stream's ready and valid signals, since if those are present, it is exceptionally rare that they should be left hanging, and this can cause hard to find issues in designs that heavily use streams.

Prior art would be #[must_use] in Rust, and [[nodiscard]] in C++17.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions