Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

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.
No RepliesBe the first to reply