BSD Ports

emulators/swarm 0.61 NetBSD

Software arm7M core emulator

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Categories
emulators
Package size
61.6 KiB, 128.0 KiB installed

Description

This is SWARM - SoftWare ARM.

The initial stage in this process is implement a plain software model of the basic ARM. There are, of course, already software models of the ARM available, so why do another one? Well, this one will need to allow the instruction set to be modified at run time, and provide not just an execution environment, but also a way of monitoring things like cache hits.

To this end a hierarchical model of an ARM CPU has been implemented in C++. It currently supports:

  • Arm 6 based core. Currently able to handle data processing instructions, word/byte load and stores, load/store multiple, branches, 32 bit multiplication, and SWIs.
  • Support for plugging in different caches - be they unified or separate I & D caches. Currently only a direct mapped cache is implemented.
  • Compile for SWARM using ARM targeted gcc.

Install

Binary package:

pkgin install swarm

From pkgsrc:

cd /usr/pkgsrc/emulators/swarm && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.61
NetBSD 10.1 aarch640.61
SmartOS / illumos x86_640.61
macOS 15 arm64-

Dependencies

No port depends on this one.