Or1ksim: The OpenRISC 1000 Architectural Simulator
|
Or1ksim: The OpenRISC 1000 Architectural Simulator
|
==================================================
|
==================================================
|
|
|
|
|
What is this stuff?
|
What is this stuff?
|
===================
|
===================
|
|
|
This is OpenRISC 1000 architectural simulator. See the file COPYING
|
This is OpenRISC 1000 architectural simulator. See the file COPYING
|
for copying permission. To contact the authors, see the AUTHORS file.
|
for copying permission. To contact the authors, see the AUTHORS file.
|
|
|
This simulator loads an assembly file for one of the both architectures
|
This simulator loads an assembly file for one of the both architectures
|
and it simulates the operation of instructions.
|
and it simulates the operation of instructions.
|
|
|
SVN Repository status
|
SVN Repository status
|
=====================
|
=====================
|
|
|
Or1ksim is now part of the openrisc project SVN repository. This contains
|
Or1ksim is now part of the openrisc project SVN repository. This contains
|
Ork1sim from release 0.3.0 onwards. Earlier versions may be found in the
|
Ork1sim from release 0.3.0 onwards. Earlier versions may be found in the
|
legacy or1k project repository.
|
legacy or1k project
|
|
repository.
|
|
|
|
|
Pre-requisites
|
Pre-requisites
|
==============
|
==============
|
|
|
The GNU toolchain for OpenRISC 1000 is required to compile programs for use
|
The GNU toolchain for OpenRISC 1000 is required to compile programs for use
|
with Or1ksim. Instructions how to build these GNU tools can be found on
|
with Or1ksim. Instructions how to build these GNU tools can be found on
|
www.opencores.org
|
www.opencores.org
|
|
|
|
|
Installation
|
Installation
|
============
|
============
|
|
|
See the file INSTALL for generic installation instructions. Full details are
|
See the file INSTALL for generic installation instructions. Full details are
|
in the user guide, which can be found in the 'doc' subdirectory.
|
in the user guide, which can be found in the 'doc' subdirectory.
|
|
|
|
|
GNU Tools
|
GNU Tools
|
=========
|
=========
|
|
|
Instructions how to build GNU tools can be found on www.opencores.org, or in
|
Instructions how to build GNU tools can be found on www.opencores.org, or in
|
the Embecosm Application Note EAN2: "The OpenCores OpenRISC 1000 Simulator and
|
the Embecosm Application Note EAN2: "The OpenCores OpenRISC 1000 Simulator and
|
Tool Chain: Installation Guide" .
|
Tool Chain: Installation Guide" .
|
|
|
|
|
Simulator test
|
Simulator test
|
==============
|
==============
|
|
|
Follow the instructions in testbench/README to test the simulator. Be warned
|
Follow the instructions in testbench/README to test the simulator. Be warned
|
that these tests are very rudimentary in the current release.
|
that these tests are very rudimentary in the current release.
|
|
|
|
|
Help
|
Help
|
====
|
====
|
|
|
Run sim with --help option for list of command line options and help in
|
Run sim with --help option for list of command line options and help in
|
interactive mode, to list the commands.
|
interactive mode, to list the commands.
|
|
|
A user guide may be found in the doc sub-directory.
|
A user guide may be found in the doc sub-directory.
|
|
|
If doxygen and dot are installed, structured documentation of the code base
|
If doxygen and dot are installed, structured documentation of the code base
|
may be obtained by running the command:
|
may be obtained by running the command:
|
|
|
doxygen doxygen.config
|
doxygen doxygen.config
|
|
|
from the top level directory.
|
from the top level directory.
|
|
|
|
|
OpenRISC and OpenCores
|
OpenRISC and OpenCores
|
======================
|
======================
|
|
|
This project is licensed under the GNU Public License version 3. See the file
|
This project is licensed under the GNU Public License version 3. See the file
|
COPYING for details.
|
COPYING for details.
|
|
|
About the same idea as with GNU project except we want free and open source
|
About the same idea as with GNU project except we want free and open source
|
IP (intellectual property) cores. We design open source, synthesizable
|
IP (intellectual property) cores. We design open source, synthesizable
|
cores. OpenRISC is one such core. It is a 32-bit RISC microprocessor that
|
cores. OpenRISC is one such core. It is a 32-bit RISC microprocessor that
|
will run GNU/Linux.
|
will run GNU/Linux.
|
|
|
For more information visit us at http://www.opencores.org.
|
For more information visit us at http://www.opencores.org.
|
|
|
|
|
Upated by Jeremy Bennett (jeremy.bennett@embecosm.com)
|
Upated by Jeremy Bennett (jeremy.bennett@embecosm.com)
|
25 May 2009
|
25 May 2009
|
|
|
|
|