Spike-FlexiCAS: RISC-V Processor Simulator Supporting Flexible Cache Architecture Configuration

Cache simulators are indispensable tools for exploring cache architectures and researching cache side channels. Spike, the standard implementation of the RISC-V instruction set, offers a comprehensive environment for RISC-V-based cache research. However, its cache model suffers from limitations, such as low simulation granularity and notable discrepancies with the cache structures of real processors. To address these limitations, this paper introduces the FlexiCAS (flexible cache architecture simulator), a modified and extended version of Spike's cache model. The modified simulator, referred to as Spike-FlexiCAS, supports a wide range of cache architectures with flexible configuration and easy extensibility. It enables arbitrary combinations of cache features, including coherence protocols and implementation methods. In addition, FlexiCAS can simulate cache behavior independently of Spike. The performance evaluations demonstrate that FlexiCAS significantly outperforms the cache model of ZSim, the fastest execution-driven simulator available.

Authors

Publication Details

Journal
International Journal of Software and Informatics
Published
2025-01-01
DOI
https://doi.org/10.21655/ijsi.1673-7288.00352
Primary Topic
Parallel Computing and Optimization Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Spike-FlexiCAS: RISC-V Processor Simulator Supporting Flexible Cache Architecture Configuration

Hao Ma, Zhidong Wang, Wei Song, Han Jinchi
International Journal of Software and Informatics
Parallel Computing and Optimization Techniques
article

Spike-FlexiCAS: RISC-V Processor Simulator Supporting Flexible Cache Architecture Configuration

Hao Ma, Zhidong Wang, Wei Song, Han Jinchi
article en

Abstract

Cache simulators are indispensable tools for exploring cache architectures and researching cache side channels. Spike, the standard implementation of the RISC-V instruction set, offers a comprehensive environment for RISC-V-based cache research. However, its cache model suffers from limitations, such as low simulation granularity and notable discrepancies with the cache structures of real processors. To address these limitations, this paper introduces the FlexiCAS (flexible cache architecture simulator), a modified and extended version of Spike's cache model. The modified simulator, referred to as Spike-FlexiCAS, supports a wide range of cache architectures with flexible configuration and easy extensibility. It enables arbitrary combinations of cache features, including coherence protocols and implementation methods. In addition, FlexiCAS can simulate cache behavior independently of Spike. The performance evaluations demonstrate that FlexiCAS significantly outperforms the cache model of ZSim, the fastest execution-driven simulator available.

International Journal of Software and InformaticsVol. 15(3)
National Natural Science Foundation of China, Chinese Academy of Sciences
Openalex Percentile: Top 69%
Parallel Computing and Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Spike-FlexiCAS: RISC-V Processor Simulator Supporting Flexible Cache Architecture Configuration — Hao Ma, Zhidong Wang, et al. · International Journal of Software and Informatics (2025) | TGRS Research Map | TGRS