tgaillar / Sparc-V8-IS-extension-simulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SPARC V8 Instruction Set Extension Simulator
                                                                              
File: README
                                                                              
Copyright (c) 2012 Clemens Bernhard Geyer <clemens.geyer@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy 
of this software and associated documentation files (the "Software"), to 
deal in the Software without restriction, including without limitation the 
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
                                                                              
The above copyright notice and this permission notice shall be included in 
all copies or substantial portions of the Software.
                                                                              
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 
THE SOFTWARE.

Version 1.00

The software is optimzed to work on GNU/Linux; any compilations on other
OSs may not work or need individual adaptions. Tested on Ubuntu 10.04 LTS.

Compiling simulator and assembler:
	(1) Start compiling:
		'make all'
	(2) In case you occur any compiling errors, check the following
	    packages to be installed:
		* gcc
		* libc-dev
		* gnu make
		* flex
		* yacc

Simulate example files:
	(1) Download and install llvm extension:
	    'git clone git://github.com/cgeyer/llvm-cbg.git'
	(2) Change to examples directory
	(3) Adapt path to llvm (LLVMDIR) in Makefile
	(4) run 'make all'
	(5) all assembler files can be found in examples/asmfiles,
	    all logfiles of the simulation in examples/logfiles

More information to be added soon...

About