A didactic emulator for the DLX architecture (Hennessy & Patterson) written in C.
The current implementation is a sequential core (CPI = 5). A pipelined core implementation with hazard handling is planned.
bin/: compiled filesdocs/: documentation (ISA reference, I/O, interrupts ...)include/: shared headersobj/: object filessrc/common/: common code (state, memory bus, loader ...)src/cpu_seq/: sequential coresrc/devices/: MMIO device implementationstests/: assembly test programstools/: assembler (asm.py)
make# Assemble a test program
python tools/asm.py tests/interrupt.asm tests/interrupt.bin
# Run it
./bin/cpu_seq -b tests/interrupt.bin