Jim Huang

Results 569 comments of Jim Huang

commit 940a749dcb6aec9508f8a68728fab3e81c0a1fc2 brings the preliminary implementation for VirtIO sound device. However, the macOS support is absent. It might be better to switch to SDL_mixer. See https://github.com/sysprog21/rv32emu/pull/551

How about using [PortAudio](https://github.com/PortAudio/portaudio)?

> I find that there are two inconsistencies in pcm_release state according to [the VirtIO 1.3 standard](https://docs.oasis-open.org/virtio/virtio/v1.3/csd01/virtio-v1.3-csd01.html#x1-56700014) in section 5.14.6.6.5.1: Clarify via GitHub issues: https://github.com/oasis-tcs/virtio-spec/issues .

> please do not merge yet You can simply convert this pull request to draft, so that it will not be merged.

> According to the "The RISC-V Instruction Set Manual ( Volume I: Unprivileged ISA Document Version 20191213 )", the execution environment interface ( EEI ) may or may NOT guarantee...

> Nonetheless, I would still like to include the `medeleg` and `mideleg` CSRs in the changes for a more comprehensive implementation. They are not entirely useless, as the test suite...

[rvjit](https://github.com/latte-c/rvjit) provides similar code generation. See its [scripts](https://github.com/latte-c/rvjit/tree/main/script).

Google's [mpact-riscv](https://github.com/google/mpact-riscv) offers ISA description for the RV32/RV64 architecture. See `riscv/*.isa` for details.

[riscvhpp](https://github.com/MatthewObi/riscvhpp) is a user-level C++17 header-only RISC-V emulator generator using [riscv-opcodes](https://github.com/riscv/riscv-opcodes).

> Google's [mpact-riscv](https://github.com/google/mpact-riscv) offers ISA description for the RV32/RV64 architecture. See `riscv/*.isa` for details. [MPACT-Sim](https://developers.google.com/mpact-sim) provides a set of tools and C++ classes that makes it easier to write instruction...