[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Use BRAM as ROM
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@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/