- Mar 04, 2024
-
-
Andrew Waterman authored
-
Andrew Waterman authored
Suppresses a warning on newer compilers for -std=c++20.
-
Andrew Waterman authored
Use -iquote instead. This prevents our include paths from messing up the system headers depended upon by libstdc++. (The specific problem was syscall.h in fesvr/, which was interfering with libstdc++'s dependence on the system's syscall.h for SYS_futex.) Subproject headers can now be included in the following ways: #include "foo.h" // for a header local to this subproject #include <bar/baz.h>" // for a header in another subproject But no longer: #include <baz.h> // for a header in any subproject As a special case, libfdt needs itself to be added to the -I path, because their coding style is to use angle brackets for local headers.
-
- Mar 02, 2024
-
-
Jerry Zhao authored
Upgrade Spike to compile with c++2a and use designated initializers
-
- Feb 29, 2024
-
-
Jerry Zhao authored
Fix help message to document `--device=<name>,<args>` usage by #1522
-
LIU Yu authored
-
- Feb 20, 2024
-
-
Andrew Waterman authored
Update README.md
-
Andrew Waterman authored
Fix c.mop.N decoding
-
- Feb 19, 2024
-
-
Katharina authored
Add missing prerequisite libboost-regex-dev Signed-off-by:Katharina <KatCe@users.noreply.github.com>
-
Andrew Waterman authored
Raise illegal instruction instead of virtual instruction on WFI when TW=1 and VTW=0 in VU-mode
-
YenHaoChen authored
The previous implementation raises virtual instruction on WFI when TW=1 in VU-mode. According to the recent discussion, we expect an illegal instruction exception in this case. Reference: https://github.com/riscv/riscv-isa-manual/issues/1234
-
- Feb 16, 2024
-
-
YenHaoChen authored
The c.mop.N only accepts rd={x1, x3, x5, x7, x9, x11, x13, x15}. The previous implemention incorrectly accepts additional rd={x17, x19, x21, x23, x25, x27, x29, x31}.
-
- Feb 15, 2024
-
-
Andrew Waterman authored
Reduce NS16550 address space size to one page
-
Andrew Waterman authored
..rather than unbounded, as it used to be. This led to the rather surprising issue #1600, where a part of the address space assumed to be vacant would allow a subset of accesses.
-
- Feb 08, 2024
-
-
Andrew Waterman authored
Teach Sstc to respect xenvcfg.STCE
-
Andrew Waterman authored
Fix hvip.VSEIP and hvip.VSTIP so they don't observe platform-specific interrupts
-
- Feb 06, 2024
-
-
YenHaoChen authored
The H extension defines that bits VSEIP, VSTIP, and VSSIP of hvip are writable. (The other bits of hvip are read-only 0.) Only hip.VSSIP (mip.VSSIP) is an alias of hvip.VSSIP. The hip.VSEIP is the logical-OR of hvip.VSEIP, selected bit of hgeip by hstatus.VGEIN, and platform-specific external interrupt signals to VS-level, e.g., from AIA. The hip.VSTIP is the logical-OR of hvip.VSTIP and platform-specific timer interrupt signals to VS-level, e.g., from Sstc. Thus, the read values of hvip.VSEIP and hvip.VSTIP differ from the ones of hip.VSEIP and hip.VSTIP (mip.VSEIP and mip.VSTIP). In other words, the hvip isn't an alias (proxy) of mip. The current aliasing (proxy) implementation does not provide the desired behavior for hvip.VSEIP and hvip.VSTIP. An ISA-level behavior difference is that any platform-specific external and timer interrupt signals directed to VS-level should not be observable through the hvip. For instance, the hvip should not observe the virtual timer interrupt signal from the vstimecmp CSR (Sstc extension), which isn't true in the current implementation. Additionally, the hvip should not observe the virtual external interrupt signal from the IMSIC device (AIA extension). Another ISA-level behavior difference is that the hgeip and hstatus.VGEIN also should not affect hvip.VSEIP, which isn't true in the current implementation. This commit fixes the issue by giving the hvip a specialized class, hvip_csr_t. The hvip_csr_t aliases the hvip.VSSIP to the mip.VSSIP but decouples the hvip.VSEIP and hvip.VSTIP from mip.VSEIP and mip.VSTIP. Additionally, the commit updates the read value of mip to be the logical-OR of hvip.VSEIP, hvip.VSTIP, and other sources.
-
YenHaoChen authored
When menvcfg.STCE=0, mip.STIP reverts to its defined behavior as if unsupporting Sstc extension. When henvcfg.STCE=0, mip.VSTIP reverts to its defined behavior as if unsupporting Sstc extension. [https://github.com/riscv/riscv-time-compare/issues/5] The previous Sstc implementation does not respect the xenvcfg.STCE. In other words, the Sstc may assert mip.STIP (mip.VSTIP) when menvcfg.STCE=0 (henvcfg.STCE=0), which is a misbehaving.
-
Andrew Waterman authored
Update trigger description in README.md
-
- Feb 03, 2024
-
-
YenHaoChen authored
The number of triggers is configurable since https://github.com/riscv-software-src/riscv-isa-sim/pull/1219 . The trigger description was for the limited implementation when developing the extension. All trigger types are supported now. The information isn't very useful anymore. Signed-off-by:
YenHaoChen <39526191+YenHaoChen@users.noreply.github.com>
-
- Jan 25, 2024
-
-
rbuchner authored
Much more readable and more maintainable.
-
rbuchner authored
Will allow access to designated initializers.
-
Andrew Waterman authored
Use Ubuntu 20.04 for debug tests
-
Andrew Waterman authored
This is what we do for the other CI tests.
-
- Jan 19, 2024
-
-
Andrew Waterman authored
vcpop.m, vfirst.m: delete unnecessary VSTART write.
-
Hong Cheng authored
-
- Jan 18, 2024
-
-
Jerry Zhao authored
zip and unzip of Zbkb require RV32
-
Jerry Zhao authored
riscv: sim.cc: Consider cpu-map node in cpus node
-
- Jan 13, 2024
-
-
Andrew Waterman authored
Add missing log commit of mstatush
-
Andrew Waterman authored
Fix vectored VS-level interrupts
-
- Jan 12, 2024
-
-
Scott Johnson authored
They were going to the vector for cause 10 (VSEI) even though vscause had been correctly translated to 9 (SEI). Fixes #1340.
-
Scott Johnson authored
-
Scott Johnson authored
-
demin.han authored
Signed-off-by:demin.han <demin.han@starfivetech.com>
-
Andrew Waterman authored
Refactor put_csr to direct write
-
- Jan 11, 2024
-
-
demin.han authored
1. put_csr needs search 2. MSTATUS_MPV not written back for RV32 Signed-off-by:demin.han <demin.han@starfivetech.com>
-
Andrew Waterman authored
Add unratified Zaamo and Zalrsc extensions
-
Ved Shanbhogue authored
-
Ved Shanbhogue authored
-
Ved Shanbhogue authored
Signed-off-by:Ved Shanbhogue <91900059+ved-rivos@users.noreply.github.com>
-