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
370 stars 65 forks source link

Add better tests for simulator phasing #479

Open mkorbel1 opened 5 months ago

mkorbel1 commented 5 months ago

Motivation

In #475, some changes were proposed to the simulator that modified how injected actions were executed. The existing test suite in ROHD did not identify any problems, but the change would break the https://github.com/intel/rohd-cosim test suite and functionality.

Desired solution

Add tests in ROHD that protect API guarantees about phasing, injected actions, etc. to avoid accidentally breaking other libraries and use cases of the ROHD simulator.

Alternatives considered

No response

Additional details

No response