Hi guys,
I have a problem with how EDK utilizes BRAMs for data and instruction
LMB memories. I have 64KB instruction and data space and I have 32
BRAMs on my chip. So basically I should have 32 * 18KB memory on my
board. However when EDK wants to map the data and instruction memories
on the BRAMs it really under-utilizes the BRAMs. It assigns 2KB (every
bit of the word) of instruction and data on the either port of each
BRAM. I've tried with different memory sizes and still it uses just 2KB
on each port for data and instruction. I should be able to virually use
512KB of on chip memory but practically I can't use more than 128KB of
my on-chip memory space. Do you know any way to change the way that EDK
assigns words to the BRAMs?
Thanks beforehand,
|
|
0
|
|
|
|
Reply
|
amirhossein.gholamipour (13)
|
8/3/2006 5:10:57 AM |
|
Xesium wrote:
> Hi guys,
> I have a problem with how EDK utilizes BRAMs for data and instruction
> LMB memories. I have 64KB instruction and data space and I have 32
> BRAMs on my chip. So basically I should have 32 * 18KB memory on my
> board. However when EDK wants to map the data and instruction memories
> on the BRAMs it really under-utilizes the BRAMs. It assigns 2KB (every
> bit of the word) of instruction and data on the either port of each
> BRAM. I've tried with different memory sizes and still it uses just 2KB
> on each port for data and instruction. I should be able to virually use
> 512KB of on chip memory but practically I can't use more than 128KB of
> my on-chip memory space. Do you know any way to change the way that EDK
> assigns words to the BRAMs?
>
> Thanks beforehand,
Do you have bytes or do you have bits?
The BlockRAMs are 18 kbit (double for Virtex-5, 1/4 for Virtex/-E,
Spartan-2/E).
|
|
0
|
|
|
|
Reply
|
John_H
|
8/3/2006 5:39:59 AM
|
|
> Do you have bytes or do you have bits?
> The BlockRAMs are 18 kbit (double for Virtex-5, 1/4 for Virtex/-E,
> Spartan-2/E).
It's interesting. I have bytes. Actually when using Base System Builder
I use 64KB (I hope Xilinx by B means bytes) of instruction and data
LMB. My instruction and data address space is from 0000 to ffff.
Considering that it's harvard architecture I assume that I have
64KBytes of instruction and data which use the two different ports of
the BRAMs. It's a little bit confusing to me. Because I checked my
system_init.vhd file and it seems that I have 16 Kbits (2KBytes) of
memory on each BRAM. I used to think that it assigns each 2KBytes of my
instructions and data (overall it becomes 4KB) to each BRAM. That
exceeds the amount of memory on each BRAM. By the way what happens to
the remaining 2Kbits if each BRAM has 18Kbits space?
|
|
0
|
|
|
|
Reply
|
Xesium
|
8/3/2006 8:12:13 PM
|
|
Xesium schrieb:
> > Do you have bytes or do you have bits?
> > The BlockRAMs are 18 kbit (double for Virtex-5, 1/4 for Virtex/-E,
> > Spartan-2/E).
>
> It's interesting. I have bytes. Actually when using Base System Builder
> I use 64KB (I hope Xilinx by B means bytes) of instruction and data
> LMB. My instruction and data address space is from 0000 to ffff.
> Considering that it's harvard architecture I assume that I have
> 64KBytes of instruction and data which use the two different ports of
> the BRAMs. It's a little bit confusing to me. Because I checked my
> system_init.vhd file and it seems that I have 16 Kbits (2KBytes) of
> memory on each BRAM. I used to think that it assigns each 2KBytes of my
> instructions and data (overall it becomes 4KB) to each BRAM. That
> exceeds the amount of memory on each BRAM. By the way what happens to
> the remaining 2Kbits if each BRAM has 18Kbits space?
the 'parity bits' are never used in the EDK BRAM blocks, so those are
effectivly "vasted".
Antti
|
|
0
|
|
|
|
Reply
|
Antti
|
8/3/2006 8:19:00 PM
|
|
Xesium wrote:
> > Do you have bytes or do you have bits?
> > The BlockRAMs are 18 kbit (double for Virtex-5, 1/4 for Virtex/-E,
> > Spartan-2/E).
>
> It's interesting. I have bytes. Actually when using Base System Builder
> I use 64KB (I hope Xilinx by B means bytes) of instruction and data
> LMB. My instruction and data address space is from 0000 to ffff.
> Considering that it's harvard architecture I assume that I have
> 64KBytes of instruction and data which use the two different ports of
> the BRAMs. It's a little bit confusing to me. Because I checked my
> system_init.vhd file and it seems that I have 16 Kbits (2KBytes) of
> memory on each BRAM. I used to think that it assigns each 2KBytes of my
> instructions and data (overall it becomes 4KB) to each BRAM. That
> exceeds the amount of memory on each BRAM. By the way what happens to
> the remaining 2Kbits if each BRAM has 18Kbits space?
Hi Xesium,
If you use BSB to generate your design, the default setting is actually
not a Harvard architecture system. So no extra 2KB. :)
If you need Harvard architecture, from my experience, you need add a
separate BRAM controller and BRAMs.
Wayne
|
|
0
|
|
|
|
Reply
|
quickwayne
|
8/3/2006 9:57:27 PM
|
|
> Hi Xesium,
>
> If you use BSB to generate your design, the default setting is actually
> not a Harvard architecture system. So no extra 2KB. :)
>
> If you need Harvard architecture, from my experience, you need add a
> separate BRAM controller and BRAMs.
>
> Wayne
Hi Wayne,
so you mean that the address space that it shows which is from 0000 to
ffff is the address space for both instruction and data? So how is it
ordered? how does it distinguish between data and instruction? Because
I think the compiler doesn't really consider it (At least I think)?
And also I have this problem that I want to profile my application when
it is executed on Microblaze but I don't know which address to set as
profiling_mem. Can I assign or should I assign an address beyond the
address space for data and instruction?
Thanks,
|
|
0
|
|
|
|
Reply
|
Xesium
|
8/4/2006 6:55:30 AM
|
|
|
5 Replies
67 Views
(page loaded in 0.093 seconds)
Similiar Articles: Increasing ARP cache size? - comp.unix.solarisOf course, with the Solaris source available, you > are ... at the beginnings and decided against a fully fledged ... itags.org Manikandan R wrote: > Hai Friends, > How can we ... IPsec: selection of correct SA - comp.unix.solarisI can't still fully understand it. I know that I can ... more detailed) documentation is available ... this possible? > > It should be, but use S10 or later, because we ... Get the thumbnail of a PDF as an image - comp.text.pdf- If possible I don't want to use the Acrobat SDK. Is there another library available to do ... it worthwhile. >> >> There is a fully ... COM objects via COM Interop, we can load ... Solaris 10: Encryption - comp.unix.solarisIs there anything available like Truecrypt (www.truecrypt ... and Solaris 9, just to get the ecb_crypt ... fully ... Quick answer: You can use MD5 passwords in Solaris 10 ... How to know which colorspace is used in particular PDF? (in iText ...... are actually *used* in a PDF file without fully interpreting it. You can tell which spaces are available for use on a ... We have successfully used IText PDF package http Down-cast a polymorphic pointer? - comp.lang.fortranOnce that has been done, you can use the SELECT TYPE ... where I've not bothered to specify the available C calls. ... pointer cast to an integer type large enough to fully ... Advice on running Oracle with SGA > 20 GB - comp.databases.oracle ...... memory provisioned in new servers keeps growing, we ... you need to determine what-all is going on on a fully ... something and then iterate" is the best approach available. 10 bit grey in OpenGL - comp.graphics.api.opengl... depending on what graphics card you have, you can use ... depth; it maps the incoming data to the bits available in ... these formula's as well to extract bit ... ... Can we ... Quick sync between two computers not connected to the internet ...> > In other words---how can we broaden folks knowledge of ... and private NTP source might otherwise have been available. ... You can use a portable radio clock or wristwatch as the ... Web-Safe Fonts? - comp.fontsJust use Flash, it's fully cross compatible and you can directly embed fonts with ... after such a basic analysis can we ... the most common *native* fonts available for use ... How Much Brain Do We Actually Use? - Tickle Your Amygdala Amazing ...Such a statement that "We use all of our brain all of the time" or "It is ... myth-busting perspective was true, this would obviously result in losing fully 50 ... Where You Can Buy Made in America Building Products - ABC NewsI only buy American products when they’re available. Unfortunately, it’s rare when we have the ... We can CREATE millions of NEW living wage jobs by electing ... 7/12/2012 4:15:47 PM
|