Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 1.44 KB

README.md

File metadata and controls

47 lines (37 loc) · 1.44 KB

LicheeTang20K_DDR_Test

The DDR Test Firmware for LicheeTang20K.

Environment

GOWIN FPGA Designer V1.9.8.05

Output

8-bit data, 1 stop bit, no parity, 115200 baud

Others

Perform Reset Every 100s.
The fill rate and the check rate is limited by the LFSR. Whose output rate is about 12MBps.
For a 1Gbits version, each fill/check stage will consumes about 11s.
And for a 2Gbits version, each fill/check stage will consumes about 22s.

Example Output

Perform Reset
Auto Reset Every 100s
Init Complete
DDR Size: 1G
Begin to Fill
Fill Stage 1 Finished
Begin to Check Stage 1 Check Stage 1 Finished without Mismatch
Begin to Fill Stage 2
Fill Stage 2 Finished
Begin to Check Stage 2
Check Stage 2 Finished without Mismatch
Test Finished


In this firmware, the DDR3 interface belongs to Gowin. And is limited to be used in the GOWIN FPGA Designer.
In the branch slowDDR3, there is a open sourced DDR3 interface.

The Gowin DDR3 IP is much faster than the slowDDR3 and much larger than it.
If you wish to use the slowDDR3, please checkout to slowDDR3 branch.

This DDR3 IP runs at DDR-800.
The maxium read/write rate is about 11,000MBits/s (when using 64 bursts).

The slowDDR3 runs at DDR-80.
The write rate is about 240Mbits/s.
The read rate is about 300Mbits/s.

Gowin DDR3 IP consumes 1288 Regs, 1363 LUTs, 102 ALUs, 8 BSRAMs and 110 SSRAMs.
slowDDR3 consumes 147 Regs and 216 LUTs.