Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Device and method for realizing automatic reading and writing test of ddr interface based on fpga

A technology of automated testing and reading and writing testing, applied in the field of data communication, can solve the problems of inaccurate test data and long test cycle, and achieve the effects of high timing accuracy, improved accuracy, fast and accurate automated testing

Active Publication Date: 2020-05-05
武汉长江计算科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is that in the existing FPGA-based DDR controller design, the mode of using CPU to execute read and write commands is used to test the DDR controller user interface, which has the defects of long test period and inaccurate test data

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Device and method for realizing automatic reading and writing test of ddr interface based on fpga
  • Device and method for realizing automatic reading and writing test of ddr interface based on fpga

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to solve the problem that in the existing FPGA-based DDR controller design, the mode of using CPU to execute read and write commands to test the DDR controller user interface, the test cycle is long and the test data is inaccurate, the present invention implements a DDR interface based on FPGA. The device and method for automated read-write test support users to perform batch automated read-write test operations similar to DMA (Direct Memory Access, direct memory access). Accurate automated testing enables accurate calculation of read and write rates, greatly simplifying user operations.

[0035] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0036] The embodiment of the present invention provides a device based on FPGA to realize automatic reading and writing test of DDR interface, such as figure 1 As shown, it includes a configuration delivery module 10 , a DMA controller 20 ,...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a device and method based on FPGA for achieving automatic read-write testing of a DDR interface. The method includes the steps of converting a read / write configuration file issued by a CPU to a DMA instruction, and successively dividing the DMA instruction into multiple read / write instructions; converting the instructions into a read / write operation matched with the DDR controller user interface, wherein a user-defined format matched with the memory address of the DDR controller user interface is adopted as a write data format; detecting read-back data which are already written into a data interface to conduct read operation; if the read-back data is not in accordance with read-in data, recording the cumulative number of reading errors; after testing is finished, sending the cumulative number of the reading errors, starting timestamp and ending timestamp to the CPU; according to the starting timestamp and the ending timestamp, calculating testing duration; according to the testing duration and automatic testing length, calculating read / write speed. According to the device and method based on the FPGA for achieving automatic read-write testing of the DDR interface, the read testing of a high-capacity device, can be fast and high-effectively completed, and the accuracy of the test value of read-write speed is greatly improved.

Description

technical field [0001] The invention relates to the field of data communication, in particular to a device and a method for realizing automatic reading and writing testing of DDR (Dual Data Rate, double-rate synchronous dynamic random access memory) based on FPGA (Field Programmable Gate Array, Field Programmable Gate Array). Background technique [0002] DDR was released by JEDEC (Joint Electronic Device Engineering Committee) in 2004. It has experienced the development of DDR, DDR2, DDR3, and DDR4. DDR is widely used in data communication with high storage requirements due to its advantages of low cost, large capacity, and high speed. field. [0003] The DDR system usually consists of a DDR controller and a DDR memory. The DDR controller initiates instructions such as initialization, reading or writing to the DDR memory according to the timing defined in the DDR specification according to the user's request. DDR memory is used to store data and respond to instructions fro...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/22G06F11/26
CPCG06F11/2273G06F11/26
Inventor 韩震
Owner 武汉长江计算科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products