leonardt / fault

A Python package for testing hardware (part of the magma ecosystem)
BSD 3-Clause "New" or "Revised" License
41 stars 13 forks source link

Simplify assert immediate to use initial block #291

Closed leonardt closed 3 years ago

leonardt commented 3 years ago

In verilog, assertions are "behavioral" statements so they need to be contained within a block such as always or initial (compared to structural statements such as module instancing or assignment). Before, we used always @(), however initial is preferred for some tool compatability an the effect should be the same (since it's an immediate assertion, it doesn't really make sense to have it sensitive to anything other than , so we can remove the code related to other events).

leonardt commented 3 years ago

Looks like the buildkite is failing related to a license problem on the CI server