Insert an image in vhdl as an array

Joined
Dec 16, 2009
Messages
2
Reaction score
0
I want to insert an grayscale image(8 bpp its ok) as an array in VHDL.I am new to the language so the simplest thing i thought was this :
PACKAGE newtype IS
TYPE vector_array IS ARRAY (0 to 9,0 to 9) OF
BIT_VECTOR(7 DOWNTO 0);
END newtype;

USE WORK.newtype.ALL;
ENTITY test IS
PORT ( inp1 : IN vector_array);
END test;
ARCHITECTURE arch OF test IS
BEGIN
END arch;

The code above has no errors and do what i want but it uses many pins(800).So i want to ask if there is a solution to do the same thing(read an 10x10 array of bit vectors) but with less pins used.

Thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top