# NJU-ProjectN/nemu

NJU EMUlator, a full system x86/mips32/riscv32/riscv64 emulator for teaching

Repository: https://github.com/NJU-ProjectN/nemu
Canonical: https://ross.abutalabs.com/products/nemu
Language: C
License: NOASSERTION
License Family: other
Last push: 2026-08-12T13:02:22+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 97, release rhythm 35, longevity 100
- inputs: {"age_days": 3308, "days_push": 21, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1119, forks 223 (observed 2026-08-28T04:03:39.359602+00:00)

## What it is
NEMU is a simple but complete full-system emulator supporting x86, mips32, riscv32, and riscv64 instruction sets, designed for teaching computer architecture. It includes a monitor with a debugger, a CPU core, memory/paging, interrupts, and simplified devices.

## Use cases
- learn how a CPU emulator works by building one
- run bare-metal programs in a teaching emulator
- differential test a CPU implementation against QEMU
- study instruction sets like x86 and riscv64 hands-on
- debug guest programs with single stepping and watchpoints
- teach computer architecture with a simplified full-system emulator

## When to choose
- you are a student in NJU's computer architecture course or a similar course
- you want a small, readable emulator codebase to study or modify
- you need a teaching-oriented full-system emulator for riscv32/riscv64, mips32, or x86

## When to avoid
- you need a production-grade emulator with full ISA coverage and OS support
- you need floating-point instructions, protected mode, or full memory protection
- you want high performance virtualization rather than educational simulation

## Facets
- artifact type: application
- maturity: active
- function: simulation, interpreter, testing, developer-tools
- domain: education, operating-systems, gaming-tools
- platform: cpp, cli
- tags: emulator, full-system-emulation, computer-architecture-course, x86, mips32, riscv, differential-testing, teaching, debugging, computer-architecture, linux

## Member repositories
- NJU-ProjectN/nemu (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:39.359602+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:41:09.031871+00:00, confidence not recorded.
  - readme: https://github.com/NJU-ProjectN/nemu (fetched 2026-08-28T04:03:39.359602+00:00, sha 6f008026b7a2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
