Intel® FPGA University Program
University Program Material, Education Boards, and Laboratory Exercises
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
1099 Discussions

help me about picture.dat format with DE1!

Altera_Forum
Honored Contributor II
722 Views

hello! i'm trying to download picture.dat to kit DE1 using Control panel. And i want to process that image in SRAM. But i don't know about picture.dat format. Can anybody explain about that problem!:confused: thanks so much!

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
66 Views

my problem is same. When i try to read DE1_USB_API project i see these line 

 

assign mVIN_R = mVGA_ADDR[0] ? mSRAM_VGA_DATA[15:8]<<2 : mSRAM_VGA_DATA[7:0]<<2 ;  

assign mVIN_G = mVGA_ADDR[0] ? mSRAM_VGA_DATA[15:8]<<2 : mSRAM_VGA_DATA[7:0]<<2 ;  

assign mVIN_B = mVGA_ADDR[0] ? mSRAM_VGA_DATA[15:8]<<2 : mSRAM_VGA_DATA[7:0]<<2 ; 

 

i don't understand that code "<<2" 

because vga data only take 4 MSB bit 

 

assign VGA_R = oVGA_R[9:6]; 

assign VGA_G = oVGA_G[9:6]; 

assign VGA_B = oVGA_B[9:6]; 

 

please help me. thanks in advance
Reply