Skip to content
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

Cant configure WORD_OFFSET_W to be 0 #302

Open
epkRichi opened this issue May 2, 2024 · 1 comment
Open

Cant configure WORD_OFFSET_W to be 0 #302

epkRichi opened this issue May 2, 2024 · 1 comment

Comments

@epkRichi
Copy link
Contributor

epkRichi commented May 2, 2024

Setting WORD_OFFSET_W to 0 in iob_cache.py should configure the cache to store 1 word per line, but this creates an error during the build process:

../src/iob_cache_memory.v:83: error: Indexed part widths must be constant and greater than zero.
../src/iob_cache_memory.v:83:      : This part width expression violates the rule: WORD_OFFSET_W
1 error(s) during elaboration.

I could not find any documentation stating that a word offset of 0 is not supported and iob_cache.py states that it should be possible:

{
    "name": "WORD_OFFSET_W",
    "type": "P",
    "val": "3",
    "min": "0",
    "max": "",
    "descr": "Word offset width (log2):  the value of this parameter equals the number of words per line, which is 2**OFFSET_W. ",
},

Is this a bug or is a word offset of 0 just not supported?

@jjts
Copy link
Collaborator

jjts commented May 2, 2024

Currently not supported. The minimum was changed to one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants