clk_to_duty :
A clock-to-duty domain translator.
The clk_to_duty primitive takes a periodic clock input in and produces an output signal out that expresses the duty-cycle of the clock. The output signal is an xreal-typed, step signal which gets updated at each rising edge of the input clock.
Input/Output Terminals
| Name | I/O | Type | Description | 
| out | output | xreal | duty output | 
| in | input | xbit | clock input |