chipsalliance / rocket-chip

Rocket Chip Generator
Other
3.19k stars 1.12k forks source link

Support managers with < pageSize alignment #3589

Closed jerryz123 closed 6 months ago

jerryz123 commented 6 months ago

Previously, the rocket permissions checker assumed that Rocket could generate Get/Put requests up to CacheBlockBytes in size. This is actually not possible, Rocket by itself will not generate requests > xLen in size.

This relaxes the check within rocket to check for a maxSize of xLen/8.

Implementations which may perform > xLen/8 byte accesses simply set a higher lgMaxSize for the TLB.

Related issue:

Type of change: bug report | feature request | other enhancement

Impact: no functional change | API addition (no impact on existing code) | API modification

Development Phase: proposal | implementation

Release Notes