Comments (2)
Issue #410 notes the same problem, and solves it by enabling and disabling the data cache, by writing to the CSR_DCACHE register.
Looking at riscv_pkg.sv, this register is now in 12'h7C1, not in 12'h701 as in the mentioned issue. I have found the following to work for me.
#define FLUSH_D_CACHE() ({__asm__ volatile("csrwi 0x7C1, 0x00"); \
__asm__ volatile("csrwi 0x7C1, 0x01");})
from cva6.
Have you looked at PMA? This is design-time configuration.
Note that the WT cache is due to evolve to HPDCache.
from cva6.
Related Issues (20)
- [BUG] Spike unknown version issue HOT 5
- how to print the output of the hello_world.c file which is specified in "printf" statment HOT 3
- How to get the Power consumption of CVA6 HOT 2
- [BUG] Issue with Running Hello World C Program in CVA6 HOT 2
- New LINT error introduced by #2178
- CSR spec improvements HOT 2
- Read-only 0 CSRs HOT 2
- Bug : Spike raise an exception on reading some legal CSRs HOT 9
- Some confusion about using Verdi to view.vcd files HOT 4
- Failed to run any other C programs other than hell_world.c HOT 9
- Do not support zihpm for 65x
- [BUG][doc] incorrect set of pmpcfgN registers in CV32A65X annotated spec HOT 3
- [Explanation please] <Struggling to understand what verilog is used in a given instance of CVA6> HOT 3
- [TASK] [FPGA] Support for Xilinx AXI 1G/2.5 G Ethernet Subsystem HOT 6
- About VERDI
- Fix Camel style for cva6 parameters HOT 1
- TIME/TIMEH not implemented
- Reduce gate count of csr_regfile.sv
- [BUG] <title>How to verify the output of a certain c program after running on CVA6 HOT 1
- [BUG] : mcounteren does not raise an illegal exception
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cva6.