Altera_Forum
Honored Contributor
14 years agoHow to align an output clock mux to 2 inputs clocks
Hi,
I'm in charge of prototyping an ASIC into an FPGA altera Stratix3sl200. My problem is coming from the usage of clocks muxes inside ASIC :mad: Basically, they use a simple 2 inputs (clk1 and clk2) / 1 output (clk_switch) classic mux with 1 selection signal (sel_clk) to mux 2 clocks signals. The need is that the resulting output clock clk_switch must be aligned either with the clk1 when sel_clk is 0 and with clk2 when sel_clk is 1. It seems to be very easy onto ASIC :( but in a FPGA :confused: Is there a way to constraints Quartus to do such things ? (by adding good delay before the GLOBAL for instance ...) How ? Using Sdc ? What i need to constraints/declare ? A little quartus example is really welcome ... if possible. My project is onto Quartus 9.1 sp1 with timequest. Note that CLK1, CLK2 and CLK_SWITCH need to be on FPGA clocks trees too (there is a large amount of FFs usings theses 3 clocks). Thanks a lot. Regards.