Test and Handle Discovery #
This document is about how cocotb discovers and stores handles once initialized after vlog_startup_routine.
__init__.pyis eventually called, which callsget_root_handleto get youdutCHECK_AND_STORE(dut)- Adds
dutto a vector ofGpiObjHdl-handle_map - python creates
SimHandle(dut) - starts test via regression_manager._execute
- ???? still need to figure out how it discovers each VpiHandle when a test initializes