Skip to main content

Module combinators

Module combinators 

Source
Expand description

Ports of First/Combine (design-doc mapping row 16): future combinators with drop-based cancellation of the losers — the cleanup cocotb does manually with kill-on-completion tasks falls out of RAII.

Structs§

First2
First of two futures; the loser is dropped (unsubscribing its trigger).
Join2
Join of two futures (port of Combine; SystemVerilog’s fork...join).
JoinAll
Join N futures, where N is known only at run time (D82).
TimeoutError

Enums§

Either

Functions§

first2
join2
join_all
with_timeout
Run fut with a simulation-time timeout.