Jump to content

16-bit uvm_mem in 32-bit map - overlap warning


Recommended Posts

I am getting a warning when building a uvm_mem_map that contains a mix of 16- and 32-bit wide memories.  It seems the 16-bit memories are taking twice as much address space as they should.  The error message reads:

 

In map 'm_regs.LB_map' memory 'm_regs.mem32bit' overlaps with address range of memory 'm_regs.mem16bit': 'h[e000:fffc]

 

The mem16bit is defined as a 4096 x 16-bit memory and added to the map at address 'hC000.  It should therefore occupy address range 'hC000 - 'hDFFE

 

The mem32bit is defined as a 2048 x 32-bit memory and added to the map at address 'hE000.  It should occupy address range 'hE000 - 'hFFFC (which it does)

 

What am I missing here?  Why does it think there is an overlap?

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...