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++
告知
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 ディスカッション

Issue with global pointer

Altera_Forum
名誉コントリビューター II
1,367件の閲覧回数

I am trying to display a picture on VGA and I have SDRAM with 128MB on hardware. But when I place large array off 220*240 pixels in the code it gives me the global pointer error. 

 

I am getting this Error:  

 

warning: Unable to reach (null) (at 0x00047ff4) from the global pointer (at 0x000342cc) because the offset (81192) is out of the allowed range, -32678 to 32767. 

 

 

 

I saw that the solution might be to add -G0 in the compiler options. But I do not know how to do this in the Eclipse. 

I can not find this option in the Eclipse IDE. Can someone tell me how do I add -G0 in the compiler options ? I need pictures or printscreens. 

 

Help me please.
0 件の賞賛
1 返信
Altera_Forum
名誉コントリビューター II
636件の閲覧回数
返信