Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12453 Discussions

Access logic arrays with Nios2

Altera_Forum
Honored Contributor II
883 Views

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
Reply