::std::conv::

Entity clock_to_bool

pub unsafe entity clock_to_bool(c: clock) -> bool
Expand

Casts a clock signal to a bool by reinterpreting its bit.

This function must be used with caution. Using clock signals as part of logic expressions may lead to unexpected issues depending on the target.