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

Info icon This 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
Image of page 1

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

View Full Document Right Arrow Icon
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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern