cocotb_wrapper.testbench.Testbench#
- class cocotb_wrapper.testbench.Testbench(name, clk=None, rst=None, reset_active_level=1)[source]#
A cocotb testbench.
Methods
Make the decorated function the setup function.
Make the decorated function the teardown function.
register_test([timeout_time, timeout_unit, ...])Decorate a function to register the function as a test.
reset(dut, time, units)Reset the DUT.
start_clk(dut, period, units)Start the clock.
Attributes
Get the name of the device under test.