Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20639 Discussions

I want to use external switching clock.. plz help

JJin01
Beginner
828 Views

My design need a external switching clock, which is an input clock that can externally reset its clock rate.

fpga1.jpg

 

I need to constrain this clock, but I don't know how to do it..

ryan scovil' timequest userguide or source synchronous guide doesn't show me the way to constraining this..

I think there's one way to do that, which is to use pll reconfig. The input clock will be the external clock and the c0 clock will use the same clock as the input clock. but is this the only way?

Let me know if there's any other way. THANK YOU

0 Kudos
1 Solution
sstrell
Honored Contributor III
495 Views

Are you saying that the input clock can be anything between 10 MHz and 300 MHz? If so, you'd probably want to constrain for the fastest clock (replace ext_clk with the name of your top-level clock port:

 

create_clock -name ext_clk -period 3.3 [get_ports ext_clk]

 

Then, if it's going through a PLL, just use:

 

derive_pll_clocks

 

#iwork4intel

View solution in original post

2 Replies
sstrell
Honored Contributor III
496 Views

Are you saying that the input clock can be anything between 10 MHz and 300 MHz? If so, you'd probably want to constrain for the fastest clock (replace ext_clk with the name of your top-level clock port:

 

create_clock -name ext_clk -period 3.3 [get_ports ext_clk]

 

Then, if it's going through a PLL, just use:

 

derive_pll_clocks

 

#iwork4intel

JJin01
Beginner
495 Views
0 Kudos
Reply