Altera_Forum
Honored Contributor
13 years agoWhat is best to do to test a custom circuit with large amount of data?
Hi everyone,
I have implemented a electron-beam data decompression circuit in verilog-hdl. I need to run it and benchmark it with large amount of data (over 200 mega-bytes). I don't have any non-free IP so I can only use Altera University Program SD-Card and DDR2 memory IP. What do you guys think is the best way to benchmark my circuit? The solution I've come up with is to use Qsys to build a system with Nios II (Avalon MM Master), SD-Card Controller (Avalon MM Slave), DDR2 Controller (Avalon MM Slave), and my electron-beam data decompression circuit (Avalon MM Master). I will write a C program to have Nios II control the SD-Card controller to read the large amount of benchmark data into DDR2 memory. Then Nios II will inform my electron-beam data decompression circuit that the data in DDR2 memory is read. After that, my electron-beam data decompression circuit will read the data from the DDR2 memory and perform decompression. Then my electron-beam decompression circuit will write the benchmark result into on-chip memory, and then the Nios II processor will read the benchmark result from the on-chip memory and save it into a file in SD-Card. This is the first time I use Qsys to build a SoC system. So I have to find out how to encapsulate my electron-beam data decompression circuit into a Avalon MM Master interface. Or can you guys please suggest better/easier solutions to build a system to test my decompression circuit or point out the errors/difficulty/challenge in my solution? Thanks a lot!!