hw06 - picture.mif and use picture.mif in the Port Map of...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE420 Homework #6 Assumption: The frequency of the system clock is 50 MHz and the last four digits of your student ID are wxyz. What you are asked to do in the homework is a part of a logic circuit to display an image on a VGA monitor. Write VHDL codes to sequentially output the contents of a 1Kx3 Altera LPM_ROM to q output, at the rate of 40ns per pixel, starting from rom address “0000000000” to “1111111111” when the condition ( prow >=wx and prow < wx+32 and pcol >= yz and pcol < yz+32) is true. If the condition is not true, output “000” to q output. When resetn is active, rom address is “0000000000”. Work to do 1. Create a 32-bit by 32-bit 24-color bmp picture of your choice. Rotate this bmp image 180 ° and store this file as picture.bmp. 2. Use bmp2mif program on the course website to convert picture.bmp to
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: picture.mif and use picture.mif in the Port Map of the ROM. 3. Write the VHDL codes that meet the specified requirements. 4. Simulate the design. Work to submit 1. VHDL codes with detailed comment header and comment statements. 2. Functional Simulation output that shows the q output when the condition ( prow >=wx and prow < wx+32 and pcol >= yz and pcol < yz+32) is true and not true, and when resetn is active. Manually verify the q output with the contents of the MIF file. 3. Copy of the MIF file. Note: Because Cyclone II supports only synchronous ROM, you must configure the Altera LPM_ROM (1Kx3) as a synchronous ROM (registered input and output). 640 pixels by 480 pixels Legend: (prow, pcol) VGA monitor screen (479,0) (0,0) (479, 639) (0, 639) Block Diagram clk q resetn prow pcol 9 10 3...
View Full Document

This note was uploaded on 02/27/2010 for the course ECE 420 taught by Professor Georgelaw during the Spring '10 term at CSU Northridge.

Page1 / 2

hw06 - picture.mif and use picture.mif in the Port Map of...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online