A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: cix1513896954003
Ixiasoft
Visible to Intel only — GUID: cix1513896954003
Ixiasoft
4.2.2.3. Example: Converting Xilinx* MMCM into an Intel® PLL
This example uses a mymmcm module generated with the Xilinx* IP Catalog. The top module instantiates the mymmccm module with i1. The parameters are:
Parameter | Value |
---|---|
Input Clock Frequency | 100 MHz |
Clock frequency output port clk_out1 | Divide by 2 (50 MHz). |
Clock frequency output port clk_out2 | Multiply by 4 (400 MHz). |
module top( // Clock out ports output clk_out1, output clk_out2, // Status and control signals input reset, output locked, // Clock in ports input clk_in1 ); mymmcm i1 ( .reset(reset), .clk_in1(clk_in1), .locked(locked), .clk_out1(clk_out1), .clk_out2(clk_out2) ); endmodule
To recreate the same behavior using Intel® FPGA software:
- In the IP Catalog/Parameter Editor, point to Library > Basic Functions > Clocks, PLLs and Resets > PLL, and double-click Intel® FPGA IOPLL.
Figure 13. Intel® FPGA IOPLL on IP Catalog
- Generate an IP variant named mypll.
- In the Parameter Editor, set the following parameters:
Table 55. Parameters of mypll General Reference Clock Frequency 100 MHz Output Clocks Number of Clocks 2 Specifies the number of clocks that your design requires outclk0 Clock Name clk_out11 Desired Frequency 50 MHz outclk1 Clock Name clk_out2 Desired Frequency 400 MHz - Click Finish.
- Create a top module, and instantiate the mypll module with i1.
module top(output clk_out1, output clk_out2, input reset, output locked, input clk_in1); mypll i1(.rst(reset), .refclk(clk_in1), .locked (locked), .outclk_0 (clk_out1), .outclk_1(clk_out2)); end module