Hello.
I am using Zynq 7 series and trying to implement Clock Mux to BUFG.
And I had tried Two styles :
1. assignment
assign w_pclk_mux = r_tpg_en ? w_tpg_pclk : i_clk_sense;
2. BUFG
BUFGMUX #(
.CLK_SEL_TYPE("SYNC")
) BUFGMUX_inst (
.O (w_pclk_mux),
.I0 (i_clk_sense),
.I1 (w_tpg_pclk),
.S (r_tpg_en)
);
Both style successfully implemented to BUFGCTRL.
The first one worked well, but not in the second one(BUFGMUX).
When using BUFGMUX, The output clock doesn't seem to be working.
I don't know if it's possible, but I checked with ILA... The result is: "w_pclk_mux" sets high.
I can use first style, but willingly know the reason why BUFGMUX didn't work....
Anyone please help me