intel / rohd

The Rapid Open Hardware Development (ROHD) framework is a framework for describing and verifying hardware in the Dart programming language.
https://intel.github.io/rohd-website
BSD 3-Clause "New" or "Revised" License
374 stars 67 forks source link

Mark inputs as protected in `Module` #416

Closed mkorbel1 closed 1 year ago

mkorbel1 commented 1 year ago

Description & Motivation

Like other inputs in Module, the inputs API should also be marked @protected to help prevent accidental usage of input pins outside of its containing Module.

Related Issue(s)

N/A

Testing

Just static analysis checks

Backwards-compatibility

Is this a breaking change that will not be backwards-compatible? If yes, how so?

Improper usage may now get some static analysis warnings

Documentation

Does the change require any updates to documentation? If so, where? Are they included?

No