Altera Cyclone II FPGA Starter User Manual

Page 38

Advertising
background image

4–16

Altera Corporation

Cyclone II FPGA Starter Development Kit User Guide

October 2006

VGA Display

6.

Download the Raw_Data_Gray.dat file into the SRAM as described
in

“Displaying Another Image from a Downloaded Bitmap File” on

page 4–12

.

The ImgConv tool also generates a Raw_Data_BW.dat file (and its
corresponding TXT format) for the black and white version of the image.
The BW Threshold in

Table 4–1

defines the threshold for judging black or

white level. Raw_Data_BW.txt fills in the MIF/Intel Hex format for M4K
SRAM.

Table 4–1. BW Threshold

Image Source

R/G/B Band Filter

B&W Threshold

Filter

Output Result

(640x480)

Color Picture

R/G/B

N/A

Raw_Data_Gray

Color Picture

R/G/B (optional)

BW Threshold

Raw_Data_BW +
Raw_Data_BW.txt

Grayscale Picture N/A

N/A

Raw_Data_Gray

Grayscale Picture N/A

BW Threshold

Raw_Data_BW +
Raw_Data_BW.txt

Advertising