Skip to content

Read/write test error #2

@Tolar626

Description

@Tolar626

Hello, I am very interested in this project, and I have met some problems in my study.

I have instantiated the ddr3_x16_phy_cust and ddr3_rdcal modules in your Arty S7-50 project, and programmed the app module to generate the rdcal_start signal and control the data and address input of the ddr3_rdcal module.

The parameters as a whole follow your configuration.

The DDR interface frequency is 300M, ISERDES_16B, 32B, and 48B are both FALSE. The IDELAYCTRL frequency is 200M. The RD_DELAY is set to 6/10(Same phenomenon), and is deployed on zynq7030.

The board level tests are as follows:

After the w_rdcal_done signal is high, the single read/write test passes. Data written and read at address 0x10 are both 0xaaaa_aaaa_aaaa_aaaa. For details, see the following figure :

single_rw_pass

However, the problem occurs when the data is read after continuous writing. At address 0x0, full A is written to address 0x8, and full B is written to address 0x10. The data read at address 0x0 is full C, and the full A is different. For details, see the following figure :

mulit_rw_fail

According to the waveform, when the write operation is effective, the write data will be updated to the read data repository. In this way, the data read for the first time is the data written for the last time, which has nothing to do with the address.

I haven't studied your code in depth, so I want to study it further after running it through first. What is the problem according to your experience?

Looking forward to your reply and guidance, thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions