About altera_a10_xcvr_clock_module, CLKUSR pin of Arria 10
Hi sir/medam,
I have one question about CLKUSR pin,
1) From the Arria 10 transceiver PHY UG, it said that if there's transceiver channels in project, it must provide one stable and about 100~125Mhz clk to CLKUSR pin for transceiver calibration. I think that if we want to use transceiver, we must use CLKUSR pin.
2) From the UG, It said that "If you are using the CLKUSR pin for your own logic (feeding it to the core), you must instantiate altera_a10_xcvr_clock_module: altera_a10_xcvr_clock_module reset_clock (.clk_in(mgmt_clk));" ? What does this sentence mean?
a. It means that if I want use the clock from CLKUSR pin as the clock of core, we must instance above module to import the clock into the fpga core to use as user mode clock? If so, I think clk_in port is one output port, but from my synthesize result, I find that's wrong.
b. Or it have other means?
Could someone help me about this problem?
Brs,
Lambert
Hi Lambert,
I can sense your confusion.
You are still trying to touch on "mgmt_clk".
- You don't need to do any extra connection to mgmt_clk.
- When you instantiate "altera_a10_xcvr_clock_module reset_clock(.clk_in(mgmt_clk))". It basically tell Quartus to do some internal background processing. User is not suppose to use or connect mgmt_clk to any signal (including clkusr)
Let me explain again.
(A) If you plan to use transceiver, provide on board external clock to FPGA clkusr pin
- DO NOT connect clkusr port to anything in your RTL design anymore
(B) If you don't plan to use transceiver, and plan to use clkusr pin as general input clock pin
- instantiate altera_a10_xcvr_clock_module: altera_a10_xcvr_clock_module reset_clock (.clk_in(mgmt_clk))
- You do not need to connect clkusr to mgmt_clk.
- Just use clkusr like normal input clock pin and connect to you RTL design logic.
Thanks.
Regards,
dlim