# buserror/simavr

simavr is a lean, mean and hackable AVR simulator for linux & OSX

Repository: https://github.com/buserror/simavr
Canonical: https://ross.abutalabs.com/products/simavr
Language: C
License: GPL-3.0
License Family: copyleft
Topics: simavr, avr-gcc, gtkwave, c, avr-simulator, embedded, debugger
Last push: 2026-08-09T16:18:42+00:00

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

## Adoption (not part of the score)
Stars 1784, forks 413 (observed 2026-08-28T04:05:35.943581+00:00)

## What it is
simavr is a lean, hackable Atmel AVR microcontroller simulator written in C, loading ELF/HEX firmware directly and emulating peripherals like UART, SPI, I2C, timers, and ADC. It includes GDB support and VCD waveform output for debugging embedded firmware without hardware.

## Use cases
- simulate avr firmware without hardware
- debug arduino code with gdb
- test embedded firmware in ci
- generate vcd waveforms from avr simulation
- prototype avr project quickly
- emulate atmega328 firmware on linux

## When to choose
- you develop AVR/Arduino firmware and want fast, scriptable simulation
- you need GDB debugging or VCD tracing of emulated microcontroller code
- you want a small, hackable simulator core to embed in your own tooling

## When to avoid
- you need simulation of non-AVR architectures like ARM or RISC-V
- you require cycle-accurate timing for hardware validation
- you want a polished GUI-based IDE experience

## Facets
- artifact type: library
- maturity: active
- function: simulation, embedded, testing
- domain: embedded-systems, developer-tools, simulation
- platform: cpp, cli
- tags: avr, microcontroller, firmware, emulator, gdb, gtkwave, arduino, debugger, linux, macos

## Member repositories
- buserror/simavr (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:35.943581+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-30T03:24:14.852014+00:00, confidence not recorded.
  - readme: https://github.com/buserror/simavr (fetched 2026-08-28T04:05:35.943581+00:00, sha 3224646d323b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
