::std::conv::

Entity bool_to_clock

pub unsafe entity bool_to_clock(b: bool) -> clock
Expand

Casts a bool to a clock signal 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.