Home News People Research Study Search

Institute for Computing Systems Architecture

Computer Architecture Simulation Models

DOWNLOADING, INSTALLING & USING HASE

Using one of the downloadable HASE models requires you:
  1. to be able to run HASE
  2. to have your own copy of the model files
The downloadable version of HASE includes both the code for HASE and an installer that works with Linux, Windows, MACs and 32 and 64-bit Intel MACs.

REQUIREMENTS

Version 3.5 of HASE simplified many of the requirements for running HASE on various operating systems. Version 3.7 fixes a number of bugs and omissions in 3.5

Prior to downloading and installing HASE, please ensure that your system satisfies the following requirements:

ADDITIONAL NOTES (OSX)

For OSX g++ comes with XCode. XCode can be obtained free of charge from App Store if it didn't come with the OS installation. In XCode Preferences select Downloads > Components > Command Line Tools > Install

DOWNLOAD

The following link can be used to download the latest version of HASE 3:

INSTALLATION

HASE is available in the form of a jar file that includes its own installer. The most recent version (February 2017) is 3.7.

To install HASE-III, either double click on the .jar file to start the installer (if supported by the operating system of the target machine), or execute the following from a terminal:

java -jar Setup_HASE_3.7.0.1005.jar

MODEL FILES

To make you own copy of the model files, download the relevant <model_name>.tar.gz file (Linux or MAC OSX) or <model_name>.zip file (Windows) using the link on the website for the model. Then use the appropriate tools on your system (e.g. gunzip and tar xvf on Linux or MAC OSX) to create a folder/subdirectory containing all the files needed to create your own version.

RUNNING HASE

Type:   Hase&

HASE-III will default its open dialog box to the directory from which it is run.

To use the model, move to the subdirectory/folder for the model and start up HASE. The file menu or the left most icon in the HASE window can be used to open a selection window and the project is loaded by selecting <model_name>.edl. Then compile the project using the Build Project option in the Project menu (or the build icon).

To run the simulation, use the Simulate option in the Project menu (or the run icon). During the simulation, HASE writes a trace file into a Results subdirectory (model_name.sim). When the simulation stops, load the trace file using the Load Trace File option in the Project menu (or the clock icon). When the tracefile is loaded, the animation buttons will light up. Using these buttons you can play the animation, stop it, single step it, re-wind it, etc.

Selecting the parameters tab in the Project Inspector panel allows changes in the values of entity parameters to be observed during simulation. These include register and memory contents, for example. The parameter display of each entity can dragged out of the main display into a separate window either by clicking on the double lines at the left of the relevant section of the parameter panel or by left clicking on the entity's icon whilst holding down the shift key. If the window is closed, it re-docks with the main display.

DOCUMENTATION

A User Guide for HASE can be accessed via the Help command in the Menu Bar (select Index). This User Guide is also available on the HASE website at HASE User Guide. The latter will generally be more up to date, since updating the Guide in the HASE application requires a new release of HASE itself.

DISCLAIMERS, ETC

  1. The Help facility is still under construction; the Hase++ section in particular is incomplete.
  2. There are still a few bugs in the HASE code that can sometimes throw java errors (e.g. when using the Help facility) - just close HASE and start again.
  3. Some files for some of the models contain some redundant code left over from development.
  4. In case of difficulties, please send email to David Dolman or Roland Ibbett and we'll try to help.

Return to Computer Architecture Simulation Models

HASE Project
Institute for Computing Systems Architecture, School of Informatics, University of Edinburgh
Last change 10/02/2017


Home : Research : Groups : Hase 

Please contact our webadmin with any comments or changes.
Unless explicitly stated otherwise, all material is copyright © The University of Edinburgh.