How to build a simulator using AINT

AINT acts as a front-end to program-driven simulation of computer systems. To build a simulator using AINT, the programmer writes interface functions and links them with the aint libraries to generate the simulator. The simulator is a binary executable which opens target program binaries and simulates their execution.

Here is an introduction to AINT variables, objects and functions.

The following describes the actions of the simulator built using AINT:

The following example illustrates a simple back-end simulator that executes the binary in a non-pipelined fashion, in program order:

How to get AINT

The pipeline-level, multi-path AINT (MSAINT.MP) is available on cs department alpha's with access to /srl/dirkcvs. To obtain a copy of MSAINT.MP, set the CVSROOT environment variable to /srl/dirkcvs, and execute the command:

The makefile listed above shows how to link the back-end simulator with the aint object (aint.o) and the simulation library (libsim.a). CVS can be found under /tools/cs/cvs.