cancel
Showing results for 
Search instead for 
Did you mean: 

General Discussions

rmsduddl36
Journeyman III

(Zynq 7) Problem in using BUFGMUX(FPGA clocking resourses)

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 

1 Reply
oliviacooke
Journeyman III

The issue could be related to synchronization or timing constraints. Ensure that r_tpg_en is correctly synchronized and the clock inputs (i_clk_sense, w_tpg_pclk) are valid. Also, check the timing constraints for the BUFGMUX block. 

0 Likes