bluespec / Flute

RISC-V CPU, simple 5-stage in-order pipeline, for low-end applications needing MMUs and some performance
Apache License 2.0
356 stars 56 forks source link

Abstract over the cache-word size in the write through cache #28

Closed gameboo closed 4 years ago

gameboo commented 4 years ago

@rsnikhil This set of changes tries to replaces, in the write-through cache, as many uses of word64 as possible with an abstracted cache-word instead. This is very helpful when updating caches with CHERI capability support (using 128-bit cache words, and storing capability tags at the cache-word granularity). The defaults are kept to be "just working" with word64.

Thanks.