StanfordVLSI / dragonphy2

Open Source PHY v2
Apache License 2.0
22 stars 2 forks source link

Generate "update" signal for adc_unfolding directly, rather than through clock division circuitry #106

Closed sgherbst closed 3 years ago

sgherbst commented 4 years ago

At the moment, we generate the update signal used in adc_unfolding by sampling clk_avg with clk_retimer and then generating a one-cycle pulse when clk_avg transitions from 0 to 1. The issue is that clk_avg is generated with a freq_divider module that creates several generated clocks. For FPGA synthesis, at least, this causes some timing issues. By removing the freq_divider in digital_core and directly generating the update signal, we will get back to having only one clock signal in digital_core, which is clk_adc. This will resolve the FPGA synthesis issue, while also simplifying ASIC synthesis.