To ensure 2667Mbps operation using a 300MHz input reference clock, the following two options are available:
1) Select a different Interface Speed and Reference Input Clock combination:
- Select 751ps (1331MHz) for the "Memory Device Interface Speed" in the DDR4 IP GUI
- Select 337 (299.67MHz) for the "Reference Input Clock Speed" in the DDR4 IP GUI
Note: This configuration sets up the correct MMCM M/D values to use an exact 300MHz reference input clock to achieve exactly 2667Mbps performance.
2) Manually override the MMCM M/D values inside the DDR4 IP source code
- To manually make modifications to the IP source code, a custom IP Repository must be created.
- To use the IP Repository flow, follow these steps:
1) Copy the DDR4 Controller directory from your Vivado install area. For example:
(Full IP) C:\Xilinx\Vivado\2015.4\data\ip\xilinx\ddr4_v1_1
2) Make your edits to the source code in this copied directory and store the files in a location of your choice. Somewhere in your project directory is recommended.
(Full IP) make edits to user_design_top.ttcl lines 1052 through 1060
3) You then have to add it in the IP Catalog. Click on the IP Settings:
4) Then Add a Repository, point to the newly edited PHY directory, and Refresh All. The IPs in the repository should be displayed in the lower box.
The following screen capture is an example of what it should look like:
The IP in the standard MIG directory will now be over-ridden and you will see your edits when you generate the IP and look at the relevant code.
02/05/2016 - Initial Release