Sunflower is a whole-system instruction-set and physical system emulator for embedded systems.  The processor emulation supports the Hitachi SH / J-core, RISC-V, and there is partial support for the TI MSP430.

Sunflower is a whole-system instruction-set and physical system emulator for embedded systems. The processor emulation supports the Hitachi SH / J-core, RISC-V, and there is partial support for the TI MSP430.

Sunflower is a suite of tools, comprising the Sunflower full-system (embedded microarchitecture, networking, power, battery, and analog signal) simulator, a miniature energy-scavenging hardware sensor platform, and a handheld interface device.

The suite is intended to provide a complementary and comprehensive platform for research in micro- and system-architectures for embedded systems, with attention to energy-efficiency, reliability, and ecological impact.

You can grab the source on github here.