Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
743 Views

Access logic arrays with Nios2

Hi there, 

 

I want to access a very large std_logic array in my VHDL implementation from my Nios2 C software. For example: 

 

vhd file: 

type array10 is array(10 downto 0) of std_logic; 

type array100 is array(10 downto 0) of array10; 

 

signal s_array100 : array100; -- array I want to have access to 

 

c file: 

char array100[10][10]; -- points to my s_array100, values would be 0 or 1 

 

How can I do this ? 

 

Thanks.
0 Kudos
0 Replies