clk_to_freq :
A clock-to-frequency domain translator.
The clk_to_freq primitive takes a periodic clock input in and produces an output signal out that expresses the frequency 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 | frequency output |
| in | input | xbit | clock input |