This is a clock divider. It works by dividing the frequency by a counter. The parameters for dividing were calculated for 27 frequencies, multiples of 50mHz. These parameters are stored in a ROM, which can be accessed by a 4-bit input, and it can output 28-bit data.
To function, it needs a 50MHz input. You select the frequency by choosing it from the table shown in the Readme.md. Then, you get the output through an output pin, which can be tested by an oscilloscope and fed into a microcontroller or any circuit requiring a square wave signal to function.
Requires a 50MHz oscillator.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | F_select [0] | clk | |
1 | F_select [1] | clk_out | |
2 | F_select [2] | ||
3 | F_select [3] | ||
4 | F_select [4] | ||
5 | reset_n | ||
6 | |||
7 |