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

Add basic support for pysv monitor #298

Closed leonardt closed 3 years ago

leonardt commented 3 years ago

A monitor is a pysv class that defines an observe function that is invoked every time advance_cycle is called.

The arguments to the observe functions refer to circuit ports by name (in the future we could add support for internal signals).