Altera_Forum
Honored Contributor
9 years agoConstraints for Multiplexed Clocks
I have an Arria V design that has 4 clocks:
base_clk : from device pin to PLL input clk_1x : 1x output from PLL (same frequency as base_clk) clk_2x : 2x output from PLL (twice frequency of base_clk) clk_mux : output of a 2:1 mux whose inputs are clk_1x and clk_2x I can't see to determine how to setup the .sdc constraints for these clocks to meet these requirements: 1) there is logic on clk_1x, clk_2x, and clk_mux that assumes all of these clocks are synchronous to each other 2) the clk_mux is mode-based configured (i.e. the mux selection control is constant for a given operating mode) I have these basic lines in the .sdc file: create_clock -name base_clk -period 13.42 [get_nets {base_clk}] derive_pll_clocks derive_clock_uncertainty These constraints seem to take care of clk_1x and clk_2x domains but I can't figure out how to constrain clk_mux (assuming one is needed). I looked at the set_clock_groups documentation but I don't think I can use that because it would false path all nets between clk_1x and clk_2x (at least as I understand how the command works). Can someone help with this problem?