Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).
|
Hi ,
in blackfin processor,
how to address 4Gbyte memory using just (1:19) ,nineteen
address line.
can anybody explain,how it is to be done ,say for
bf531.
Regards
suhas kadu
|
|
On Tue, 25 Jan 2005, Suhas Kadu wrote: > Hi , > in blackfin processor, > how to address 4Gbyte memory using just (1:19) ,nineteen address line. > > can anybody explain,how it is to be done ,say for bf531. the processor doesn't matter. You want 32 bits of address space using 19 bits! The way to do that is called "bank switching", and it's been used since the dawn of computers. Use A19 to select your mux register and let it hold 32-18 = 14 upper address bits. Make any access to 0x80000 use the lower 14 data bits to set up a latch that holds the upper 14 address lines to your 4GB array. Then when you access any address in the range 0x00000 to 0x7ffff you will see into one bank of your array. With 14 bits in the latch, you will have 16k banks, and each bank will be 18 bits wide or 256k. Patience, persistence, truth, Dr. mike |