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

RFE: limit cache tag width #303

Open
hpax opened this issue Feb 23, 2023 · 1 comment
Open

RFE: limit cache tag width #303

hpax opened this issue Feb 23, 2023 · 1 comment

Comments

@hpax
Copy link

hpax commented Feb 23, 2023

It is relatively common in embedded operations that only a relatively small subset of the memory space is cacheable, or even executable. In my experimentation (using a Cyclone IV E), I have found that the width of the cache address tags appear to be a strong Fmax limiter, at least with RVC enabled.

As such, it would be ideal to have the option for the [ID]busCachedPlugins to be able to specify the cache tag address width separately from the memory bus address. This of course requires either that the memory space is configured with a narrow enough mask for the cacheable region, or that aliasing across the cacheable region is acceptable. However, if the memory is narrower than the cacheable region then such aliasing will happen anyway, and one could even argue that aliasing already in the cache is preferable in that case, as it avoids the possibility of inconsistent entries in the cache that might escape invalidation.

This is different, however, from the width of the output memory bus, as that includes noncacheable regions.

@Dolu1990
Copy link
Member

I agree, that could be usefull.

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