OpenCores
URL https://opencores.org/ocsvn/mpeg2fpga/mpeg2fpga/trunk

Subversion Repositories mpeg2fpga

[/] [mpeg2fpga/] [trunk/] [tools/] [ieee1180/] [README.koen] - Rev 2

Compare with Previous | Blame | View Log

This is the testbench for the idct implementation.

I found an ieee1180 test program for the jpeg idct, and modified it as follows:
- write idct input to file
- execute iverilog simulation of idct
- idct simulation writes idct output to file
- read idct output from file
compares verilog idct implementation  with floating point idct results, and prints worst error , mean error, mean square error.

Use:
compile verilog files into idct-verilog:
iverilog -o idct-verilog *.v
compile c test program:
make
run tests:
./doieee ./ieeetest

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.