Name:APPS/CAS/SIMICS-2.2.7-1
Description:Computer Architecture Simulator
Status:First Version
Last update:2005-05-16

Simics Runtime Environment Homepage

Virtutech® Simics is a full system simulation platform, capable of simulating high-end target systems with sufficient fidelity and speed to boot and run operating systems and commercial workloads. Simics provides a controlled, deterministic, and fully virtualized environment for a variety of hardware and software engineering tasks.

Simics is a commercial program developed and sold by Virtutech and a license is required before using the it.

This page describes the use and installation of Simics in Grid environments based on NorduGrid ARC middleware. For a complete description of the Resource Specification Language, Information System, User Interface and the Grid Manager, see the NorduGrid documentation.

Current stable version

APPS/CAS/SIMICS-2.2.7-1

Development version

none

Old versions

none

Interface definition

In the remote computing resources Simics RE initializes the following environment variables:

  1. SIMICS_ROOT - Folder where images/ and simics-2.2.7/ are located.
  2. SIMICS_VERSION - Holds the current Simics-version (2.2.7).

Use example


job description : example.xrsl
&
(jobName="simics-test")
(executable="./example.sh")
(arguments="")
(stdout="stdout.txt")
(stderr="stderr.txt")
(runTimeEnvironment=APPS/CAS/SIMICS-2.2.7-1)
(inputFiles=
        ("example.sh" "")
        ("example.simics.template" "")
)
(outputFiles=
        ("output.log" "")
)

shell script : example.sh
#!/bin/bash

SIMICS_DIR=${SIMICS_ROOT}/simics-${SIMICS_VERSION}
WORK_DIR=`pwd`

# Your licence-server goes here
export LM_LICENSE_FILE=port@host

# Path for extensions.
export SIMICS_EXTRA_LIB=${WORK_DIR}

# Generate file!
sed "s#\${SIMICS_ROOT}#${SIMICS_ROOT}#" < example.simics.template > example.simics

# Execute simulator
exec ${SIMICS_DIR}/scripts/start-simics -no-win -no-log -x example.simics

simics template : example.simics.template
# Read checkpoint
read-configuration ${SIMICS_ROOT}/checkpoints/sarek-1p-local512-booted-spec2000-mth
@SIM_create_object("swc_entropy", 
                   "swc0", 
                   [["swc_entropy_mode", 0],["sample_size", 100], ["trace_file", "output.log"]])
dstc-disable
@conf.phys_mem0.snoop_device = conf.swc0
@SIM_STC_flush_cache( SIM_current_processor() );
c 1000
q

simics extension : swc_entropy.so

Verification of the RE

Installation can be verified by running the example script.

Contact information

Questions related to RE itself, such as questions about installing RE, feature requests and improvement suggestions, can be mailed to Simics RE maintainers hpcag-grid@ce.chalmers.se.