Parameterizable Macros for Intel® FPGAs User Guide

ID 772350
Date 10/02/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

6.5. Glitchless Clock MUX Parameterizable Macro (ipm_cdc_glitchless_clk_mux)

The glitchless clock MUX parameterizable macro (ipm_cdc_glitchless_clk_mux) supports designs with multi-frequency clocks. Such design commonly require switching the clock source while the design is running. You can implement this clock switching by multiplexing two different frequency clock sources in hardware and controlling the multiplexer select line with internal logic.

The two clock frequencies that you switch can be totally unrelated to each other, or they may be multiples of each other. In either case, there is a possibility of generating a glitch on the clock line at the time of the switch.

The glitchless clock mux macro allows you to avoid a glitch at the output of the clock line of a switch by specifying the relation of the input clocks with the CLK_TYPE parameter. Use the CLK_TYPE parameter to specify whether clocks are related (RELATED_CLKS) or unrelated (UNRELATED_CLKS).

Figure 11. Glitchless Clock Mux Parameterizable Macro Block Diagram