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.
12434 Discussions

Memory and registers usage during compilation.

MFija
Beginner
988 Views

Hi there,

i found that NIOS II Compiler uses r1-r23 and r26-28 general purpose registers which is in confilct with another table where it is shown thr compier uses r0, r2-r23, r26-r28 and r31 registers.

Anyway what kind of data is stored there, and are the registers part of RAM/cache memory or are they separate?

Also what kind of data is stored on Stack during the compilation and after during program execution?

 

best regards,

Mateusz Fijak

0 Kudos
1 Reply
GuaBin_N_Intel
Employee
193 Views
The general purpose table can be found in here https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/nios2/n2cpu-nii5v1gen2.p..., Table11. Just not understand which table you mentioned is conflict against with.
Reply