Community
cancel
Showing results for 
Search instead for 
Did you mean: 
OCn
Novice
141 Views

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

Jump to solution

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

Tags (1)
0 Kudos
1 Solution
JonWay_C_Intel
Employee
114 Views
4 Replies
JonWay_C_Intel
Employee
120 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
116 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
115 Views
OCn
Novice
110 Views

Hi JonWay,

OK, I understand.

Thanks for your prompt reply and help!

I wish you a good day!

 

Reply