beautypg.com

Altera Nios II Embedded Evaluation Kit Cyclone III Edition User Manual

Page 53

background image

A–3

Development Board Version 1.0.

Altera Corporation

Nios II Embedded Evaluation Kit, Cyclone III Edition

July 2010

Creating a new 5:6:5 Pixel-Format component

5.

Edit the data-format-adapter named lcd_64_to_32_bits_dfa.
Change its (Output Interface Parameters)/(Data Symbols Per Beat)
from 4 to 2.

This changes its width-adaptation from 64

.32 to 64.16.

Rename it to lcd_64_to_16_bits_dfa.

6.

Regenerate your system.

Your software application is now responsible for filling the frame-buffer
with aligned 16-bit 5:6:5 pixel data; and the firmware which controls the
DMA must be modified to understand the different memory-buffer size
implications of 16-bit (instead of 32-bit) pixels.