[prev in list] [next in list] [prev in thread] [next in thread] 

List:       microblaze-uclinux
Subject:    Re: [microblaze-uclinux] Use BRAM as ROM
From:       John Williams <jwilliams () itee ! uq ! edu ! au>
Date:       2007-05-28 6:36:36
Message-ID: 465A7874.80806 () itee ! uq ! edu ! au
[Download RAW message or body]

Hi Lancer,

Lancer Evo wrote:

> is it possible to use Spartan 3 BRAM (on my xc3s1000 it should be
> 432K) as a ROM memory for data storage or folder mounting under
> PetaLinux?

You can add as many BRAM instances to your microblaze system as you 
wish, subject to device resources.  However, there is currently no 
formal mechanism for accessing these within Linux.  I have seen memory 
like this used by device drivers and user applications, typically just 
by hard coding a pointer to the correct address and using it directly.

Not particularly clean, but it works.


> How to do this under EDK 8.1?

Just use the XPS GUI to add new instances of lmb_bram_if_cotlr 
peripherals, and BRAM blocks.  Setup the address map correctly and so on.

Most (all) microblaze reference designs already have one instance of a 
BRAM block and interface controllers, look at the for guidance.

Regards,

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic