DCT is the most computationally intensive block in JPEG compression. The whole component image is divided into several 8 8 image blocks and used as the input of two-dimensional DCT to realize DCT. The DCT program based on look-up table and zigzag scanning program designed by ltera FPGA Verilog have been verified by MATLAB and Modelsim. The file contains