CMU-SAFARI / DRAM-Bender

DRAM Bender is the first open source DRAM testing infrastructure that can be used to easily and comprehensively test state-of-the-art DDR4 modules of different form factors. Five prototypes are available on different FPGA boards. Described in our preprint: https://arxiv.org/pdf/2211.05838.pdf
MIT License
51 stars 11 forks source link

About DFI to Xilinx Phy Interface #8

Closed LOCKEDGATE closed 5 days ago

LOCKEDGATE commented 1 month ago

Hello, I read in your paper "We issue DRAM commands to the Xilinx DDR3/4 PHY IP [370] over a low-level DFI interface." Then because the Xilinx DDR PHY interface does not support the DFI protocol, when using a controller with the DFI protocol, an adapter is needed to convert the DFI signal to the Xilinx DDR PHY signal, similar to converting dfi_cas_n---->mc_CAS_n, etc. Then I saw ddr4_adapter.v in your project. If I want to further implement my needs, which files should I refer to?

olgunataberk commented 1 month ago

I think you want a new "adapter" module that takes the same inputs as ddr4_adapter, but outputs DFI signals (instead of Xilinx DDR4 PHY IP input signals).

The ddr_pipeline.v module controls the input signals of the adapter.

Depending on how you read data from DRAM (using DFI), you may need to modify readback_engine.v.

LOCKEDGATE commented 1 month ago

Thanks a lot, I'll try that.