Jump to content

Register range calculation


Recommended Posts

Hi

How the registerFile range is calculated.

For example, if I have a register file with dim=4, this register file contains the following

- Register R1 32 bit

- gap 32 bit

- Register R2 32 bit

- gap 32 bit

Then what will be the range for this registerFile.

Thanks for your help.

Khushi

Link to comment
Share on other sites

Hi Kushi,

The registerFile range is an element inside the register file. Its value is expressed in addressUnitBits of the memory map. Assuming the addressUnitBits value is 8, then. in your example, the register file range shall be at least 16 (4 for each register and 4 for each gap). The total range is equal to the register file range multiplied by the dim, so that is 64 addressUnitBits (=64*8 bits) in this example.

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.

 Share

×
×
  • Create New...