Visible to Intel only — GUID: sam1412657946125
Ixiasoft
Generating a 166-MHz Differential SSTL External Clock
To generate a 166-MHz Differential SSTL external clock, follow these steps:
Download and unzip the ddr_clk.zip .
- In the Quartus® Prime software, open the project file \ddr_clk\ddr_clk.qpf.
- Open the top-level \ddr_clk\ddr_clk.bdf file. You will complete this project in this example.
- Click Tools > IP Catalog. Then expand the I/O folder and select ALTPLL
- In Which type of output file do you want to create?, select AHDL.
- For What name do you want for the output file?, name the output file ddr_pll.
- For What is the frequency of the inclock0 input?, type 33.33, and select MHz.
- Under PLL type, click Select the PLL type automatically.
- Under Operation mode, select Create an 'fbin' input for an external feedback (External Feedback Mode).
- Under Operation mode, for Which output clock will have a board level connection?, select e0 from the drop‑down menu.
- In the Dynamic configuration section, turn off Create optional inputs for dynamic reconfiguration.
- In the Optional inputs sections:
- Turn on Create an ‘pllena’ input to selectively enable the PLL.
- Turn on Create an ‘areset’ input to asynchronously reset the PLL.
- Turn off Create an ‘pfdena’ input to selectively enable the phase/frequency detector.
- In the Lock output section, turn on Create ‘locked’ output.
- Leave the remaining options at their default settings.
- Click the Output Clocks tab.
- Click extclk e0.
- Turn on Use this clock.
- Turn on Enter output clock parameters, and in the Clock multiplication factor box, type 5.
- In the Clock division factor box, type 1.
- In the Clock duty cycle (%) box, type 50.00.
- Click Next.
- On page 14, repeat step 16 through step 19 for extclk e1.
- Click Next.
- On page 15, repeat step 16 through step 19 for extclk e2.
- Click Next.
- On page 16, repeat step 16 through step 19 for extclk e3.
- Click Next. Page 17 appears. No input is required for this page.
- Click Next. Page 18 appears.
- On page 18, ensure that the Text Design File (.tdf), Pin Planner File (.ppf), AHDL Include File (.inc), Block Symbol File (.bsf), and Sample waveforms in summary file (.html and .jpg) are turned on.
- Click Finish. The ddr_pll module is built.
- In the Symbol dialog box of the .bdf file, click OK.
- Move the pointer to place the ddr_pll symbol between the input and output ports in the ddr_clk.bdf file, connecting the inputs and outputs to the symbol. Click to place the symbol.
- Save the design.
The following figure shows a completed design file.
Figure 21. ALTPLL ddr_pll Design Schematic