# Generation Report - DDR2 SDRAM Controller with ALTMEMPHY v10.0

Entity Name | ddr2_controller_phy
Variation Name | ddr2
Variation HDL | Verilog HDL
Output Directory | D:\PCIe_material\PC_pcie_control\src1\rtl

## File Summary

The MegaWizard interface is creating the following files in the output directory:

File | Description
--- | ---
ddr2.v | A MegaCore® function variation file, which defines a Verilog HDL top-level description of the custom MegaCore function. Instantiate the entity defined by this file inside of your design. Include this file when compiling your design in the Quartus II software.
ddr2.qip | Contains Quartus II project information for your MegaCore function variation.
ddr2.html | The MegaCore function report file.
ddr2_example_driver.v | Example self-checking test generator that matches your variation.
ddr2_example_top.v | Example top level design file that you should set as your Quartus II project top level. Instantiates the example driver and the controller.
ddr2_example_top.sdc | Example Synopsys Design Constraints file for paths in the example top level.
ddr2_ex_lfsr8.v | Example linear feedback shift register that is used to generate the pseudo-random test data for the example driver.
testbench | ddr2_example_top_tb.v | Example testbench that instantiates the example top level design file and the example memory model.
testbench | ddr2_mem_model.v | A simple example memory model that matches your variation.
testbench | ddr2_full_mem_model.v | Memory model that allocates memory for all available addresses.
ddr2_pin_assignments.tcl | TCL script
ddr2_advisor.ipa | IP Advisor file that matches your variation. Used by the IP Advisor feature in the Quartus II software.
ddr2_phy.qip | Generated ALTMEMPHY QIP file.

## MegaCore Function Variation File Ports

Name | Direction | Width
--- | --- | ---
local_address | INPUT | 25
local_write_req | INPUT | 1
local_read_req | INPUT | 1
local_burstbegin | INPUT | 1
local_ready | OUTPUT | 1
local_rdata | OUTPUT | 256
local_rdata_valid | OUTPUT | 1
local_wdata | INPUT | 256
local_be | INPUT | 32
local_size | INPUT | 3
reset_request_n | OUTPUT | 1
mem_odt | OUTPUT | 1
mem_clk | BIDIR | 2
mem_clk_n | BIDIR | 2
mem_cs_n | OUTPUT | 1
mem_cke | OUTPUT | 1
mem_addr | OUTPUT | 14
mem_ba | OUTPUT | 3
mem_ras_n | OUTPUT | 1
mem_cas_n | OUTPUT | 1
mem_we_n | OUTPUT | 1
mem_dq | BIDIR | 64
mem_dqs | BIDIR | 8
mem_dqsn | BIDIR | 8
mem_dm | OUTPUT | 8
local_refresh_ack | OUTPUT | 1
local_wdata_req | OUTPUT | 1
local_init_done | OUTPUT | 1
reset_phy_clk_n | OUTPUT | 1
oct_ctl_rs_value | INPUT | 14
oct_ctl_rt_value | INPUT | 14
dll_reference_clk | OUTPUT | 1
dqs_delay_ctrl_export | OUTPUT | 6
aux_scan_clk_reset_n | OUTPUT | 1
aux_scan_clk | OUTPUT | 1
global_reset_n | INPUT | 1
pll_ref_clk | INPUT | 1
phy_clk | OUTPUT | 1
aux_full_rate_clk | OUTPUT | 1
aux_half_rate_clk | OUTPUT | 1
soft_reset_n | INPUT | 1