The `ReadOnly` trigger is a class in the cocotb library of Python that is used to create a trigger which waits for read-only accesses on a specific object. It is typically used in hardware verification and testing scenarios to synchronize testbenches with simulation models. The `ReadOnly` trigger fires when any read-only access occurs on the specified object, allowing the testbench to respond accordingly. This trigger is useful in scenarios where the testbench needs to be aware of changes made to certain signals or variables within the DUT (Design Under Test). By using the `ReadOnly` trigger, the testbench can efficiently wait for read-only activity to occur before proceeding with further test actions.
Python ReadOnly.ReadOnly - 30 examples found. These are the top rated real world Python examples of cocotb.triggers.ReadOnly.ReadOnly extracted from open source projects. You can rate examples to help us improve the quality of examples.