Forum Discussion
Thank you!
You told me 3 ways, but I have no idea about how to implement them.
in this link, https://www.intel.com/content/www/us/en/docs/programmable/683609/22-1/clock-bridge.html, The crystal oscillator is connected to the clock bridge in FPGA. My idea is to use PLL to take place of the clock bridge, furthermore, the PLL verilog code should be added manually rather than be generated inside NIOS core by Platform Designer.
in the above link, the clock bridge just like a PLL, is my understanding correct?
my question is:
how to add PLL Verilog code in Quartus to connect to crystal oscillator from PCB? the outputs of PLL will be fed into the NIOS core and other components. My question might be how to manually instantiate IP in Quartus but not in Platform Designer.
Your link just goes to the PD user guide, so it's not clear what you are referring to here.
It seems like you are asking that if you have a crystal on your board, you want to use it as the reference clock directly into a PLL in Platform Designer. Yes, you can. Export the refclk input to the PLL from the system and assign it to an input clock pin in the Pin Planner, assuming you are setting your PD system as your top-level for your Quartus project. If you are instantiating the PD system at a lower level, you'll need to make sure your port mappings are correct to connect from the input clock pin to the exported input refclk of the PLL.
But then you are asking about having the PLL outside of PD. In that case, like I said, you'll need to instantiate the PLL in an HDL file and then instantiate the PD system, connecting the clock output of the PLL to the exported input of a clock bridge component, which in turn distributes the clock to all components in the system. If you don't use a clock bridge, you would need to export the clock inputs of every component in the system and connect them in your HDL to the PLL clock output instead of simply clicking dots in PD.