-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] memory size is not calulated correctly #110
Comments
Addresses are in units of bytes. |
Thank you for explaining. Looking at the verilog implementation (when using address 0x1000) Can you also explain where the address limitation is coming from based on the adr decoding implementation above ? |
No since the size of the memory block is 0x1000 (4 * 0x400), then only address offsets that are multiples of 0x1000 are aligned, so |
Sorry, I should have better explain my question: We can argue about what is more efficient in terms of gate count after synth, but why limiting the user ? |
Describe the bug
First time I'm trying to add a memory instance:
When trying to add a 32x1024 memory, I get an error message. The memory size reported in the message is wrong
RDL code:
Error message:
What is 0x1000 ? Is that the alignment needed ?
When using address 0x1000 instead 0f 0x400 I get no error but the size of the memory is 0x400 so 0x000, 0x400, 0xc00 should be 'aligned' addresses. Am I missing something here ?
tool version
0.22
The text was updated successfully, but these errors were encountered: