Jump to content

how to create a BYTE ADDRESSABLE MEMORY ?


PrashanthP

Recommended Posts

Hello. 

I wanted to create a byte addressable memory in IPXACT with below code

image.png.20d2deda3833306f10f7a21f678b25c8.png

Here width tells the number of bits per location. If width is 8 then is it byte addressable ?

And the total number of address locations are 2**10 (1024 locations starting from base address 0) ?

and what is the difference between addressable units and addressunitbits ?

Link to comment
Share on other sites

Hi Prashanth,

If you want a byte addressable memory then the addressUnitBits value shall be 8 (which is the default value). The number represents number of data bits in each address increment. Hence, the addressable unit is then a byte. The range describes the number of addressable units. The width describes the number of data bits that can be accessed in a single transaction.

Best regards,
Erwin

Link to comment
Share on other sites

  • 2 weeks later...

hi erwin,

1. What does the field 'memoryMap' means ? 

2. what does the field 'addressBlock' means ? 

3. does addressblock creates memory or we need to explicitly add usage field for memory creation ?

4. what is the significance of field 'volatile' for memory ? what if it is set to true(defaults to false) ?

Link to comment
Share on other sites

Hi Prashanth,

Please refer to the IEEE standard document for all details. Basically a memory map is something that can be referenced from a target bus interface. An address block represents a contiguous block of memory in such a memory. You need such a block to describe a memory with its properties such as offset, range and width. Volatile means that the content of the memory can be changed in a way that is not described by IP-XACT.

Best regards,
Erwin

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...