bluespec / Piccolo

RISC-V CPU, simple 3-stage pipeline, for low-end applications (e.g., embedded, IoT)
Apache License 2.0
301 stars 48 forks source link

Cache replacement policy / Shrinking Size #42

Closed LeonardooAlves closed 2 years ago

LeonardooAlves commented 2 years ago

Hi, I hope you are well.

What is Piccolo's L1 cache replacement policy? Which bus is activated when a cache flush/eviction happens?

Also, is it possible to generate a Piccolo version with cache sizes smaller than 1KB (say 256/512 bytes)? I am asking because it seems like I can't have a value < 1 here in the kb_per_cache

Thanks!