Building and Installing the Simulator
Building
Prerequisites:
- Sulima sources: sulima-src-051124.tar.gz
- A C++ compiler (g++ is recommended)
- TCL libraries and header files (tcl8.4-dev package on Debian Linux)
Simply run make from the Sulima source directory to build.
Usage
The provided u4600 script (and associated configuration file runtime/u4600/u4600.tcl) runs Sulima, simulating the UNSW U4600 platform.
With no arguments, the PMON bootloader is started, as on the real hardware. The optional argument is an ELF file to load instead.
Networking
Sulima's simulated DEC Tulip network device uses the TUN/TAP driver to inject packets. On Linux, you may need to:
# modprobe tun # mkdir /dev/net # mknod /dev/net/tun c 10 200
After running Sulima, you will see a tap0 interface appear; assign it an IP address with ifconfig, e.g.:
# ifconfig tap0 192.168.1.1

