azadehasadi
Newbie level 4
![Newbie level 4](/styles/images/ranks/blevel1.gif)
hi i want define matrix 5x5 and (it must: std_logic_vector(7 downto 0))
plz help me. i need it for project in my university
plz help me. i need it for project in my university
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
So, you want to define a matrix of 5x5 elements with every element being 8 bits long ?
subtype element is std_logic_vector(7 downto 0);
type memory_cube is array(integer range 0 to 4, integer range 0 to 4) of element;
hi i want define matrix 5x5 and (it must: std_logic_vector(7 downto 0))
plz help me. i need it for project in my university
type mat1 is array (0 to 4) of std_logic_vector(7 downto 0);
type mat is array (0 to 4) of mat1;
signal matrix_5x5 : mat;
type matrix5x5_8 is array(4 downto 0,4 downto 0) of std_logic_vector(7 downto 0);
i use ISE for vhdl code,
Code:type matrix5x5_8 is array(4 downto 0,4 downto 0) of std_logic_vector(7 downto 0);
thanks very much, i must use uart(its for serial input) to receive data, can u help me for it.