Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12600 Discussions

Access logic arrays with Nios2

Honored Contributor II

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 ? 


0 Kudos
0 Replies