FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-19-2006, 03:44 PM
Marco T.
Guest
 
Posts: n/a
Default Storing Variables into LMB Memory

Hallo,
I would store some variables of my software into lmb memory.

I have added a section .lmb using "generate linker script" to the linker.

I have added the following lines to my software:

#define __lmb__ __attribute__((aligned(32),section(".lmb")))


Xuint16 __lmb__ acq_analog_matrix[32][16];
(a global variable)

The software is compiled without reporting errors, but when I load the code
into my system it doesn't function.

Instead it function correctly in this way:

Xuint16 acq_analog_matrix[32][16];

Why can't I store a matrix into lmb bram?

Many Thanks
Marco


Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Storing variables into data ocm memory Marco T. FPGA 2 03-29-2006 02:39 PM
? Are variables in Verilog ... Ignoramus Verilog 0 01-27-2006 10:19 AM
Storing a file onto FPGA Robert FPGA 24 10-22-2005 06:57 AM
storing convolution coeeff's Xilinx V2 8000 Geoffrey Wall FPGA 1 12-15-2004 08:12 PM
Value of variables Johnsy Joseph Verilog 6 03-03-2004 10:26 PM


All times are GMT +1. The time now is 07:43 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved