Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
14961 Discussions

How to design a 1-out-of-3 clock multiplex

OCn
Novice
200 Views

Hi!
I'd like to use a clock mux, e.g., altclkctrl, to select one of the 3 clocks generated by a PLL.
Unfortunately, I can't use altclkctrl because Stratix III's altclkctrl only provides 2 inputs. And, I can't cascade two altclkctrl because its input can only be clock pin or PLL's ouput clock.
I'm wondering if there is any way I can design a 1-out-of-3 clock multiplex?

Here is my configuration:
Terasic DE3 (Stratix III) + Quartus 13.1

0 Kudos
1 Solution
JonWay_C_Intel
Employee
173 Views
4 Replies
JonWay_C_Intel
Employee
179 Views

Perhaps you can consider implementing it in the core logic.

You can refer to: https://courses.cs.washington.edu/courses/cse467/08au/labs/Resources/Recommended%20HDLCoding%20Style...

Page 56.

You will need to evaluate if this works for you.

 

 

OCn
Novice
175 Views

Hi JonWay,

Thanks for your reply and suggestion.

That Verilog code's function should be OK. And, how should I ensure that the output clock will use the global clock network, as that clock will drive a lot of circuit in our design?

 

JonWay_C_Intel
Employee
174 Views
OCn
Novice
169 Views

Hi JonWay,

OK, I understand.

Thanks for your prompt reply and help!

I wish you a good day!

 

Reply