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

Update counter example to be simpler and a better reference #448

Closed mkorbel1 closed 9 months ago

mkorbel1 commented 9 months ago

Description & Motivation

Some feedback about the counter example has been:

This PR updates the example to use some awaits as well as make the counter implementation simpler. The downside is that it no longer demonstrates Sequential in the more general case, but there are other examples and API docs that can be referenced for that.

Related Issue(s)

N/A

Testing

Example is covered by test, also rerun locally

Backwards-compatibility

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

No

Documentation

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

Basically just doc update