Line 5... |
Line 5... |
This is OpenRISC 1000 and DLX architectural simulator. It was written by
|
This is OpenRISC 1000 and DLX architectural simulator. It was written by
|
Damjan Lampret and it is free software. See the file COPYING for copying
|
Damjan Lampret and it is free software. See the file COPYING for copying
|
permission. To contact the author, send mail to .
|
permission. To contact the author, send mail to .
|
|
|
I use it to define OR1K system architecture. An implementation simulator
|
I use it to define OR1K system architecture. An implementation simulator
|
for OR1K will be also available, probably in Nov/1999.
|
for OR1K will be also available, probably in Mar/2000 or later.
|
|
|
Initially this software was not meant to be released to public because it
|
Initially this software was not meant to be released to public because it
|
was developed just to analyze program flow of GCC generated assembly code.
|
was developed just to analyze program flow of GCC generated assembly code.
|
With the time it became bigger and was able to generate statistics about
|
With the time it became bigger and was able to generate statistics about
|
superscalar issuing of multiple instructions. I've used it as a test simulator
|
superscalar issuing of multiple instructions. I've used it as a test simulator
|
Line 20... |
Line 20... |
and it simulates the operation of instructions. Because it was meant to be used
|
and it simulates the operation of instructions. Because it was meant to be used
|
only to test characteristics of various RISC architectures and various GCC
|
only to test characteristics of various RISC architectures and various GCC
|
optimization methods, it has a bit strange memory model. It is abstract and
|
optimization methods, it has a bit strange memory model. It is abstract and
|
physical at the same time. I can't really explain, just check the sources if
|
physical at the same time. I can't really explain, just check the sources if
|
interested. Some other things are strange or incomplete too (like
|
interested. Some other things are strange or incomplete too (like
|
C library emulation, currently supports only printf).
|
C library emulation, currently supports only printf via simprintf).
|
|
|
cache and mmu directories are still empty. Someday (Nov/1999 probably) they
|
MMMU directory is not functional. Someday (Nov/1999 probably) it
|
will be filled with code for cache simulation and with code for virtual
|
will be filled with code for virtual memory simulation.
|
memory simulation.
|
|
|
|
|
|
Installation
|
Installation
|
============
|
============
|
|
|
Line 45... |
Line 44... |
|
|
Simulator test
|
Simulator test
|
==============
|
==============
|
|
|
Issue 'or1ksim testbench/dhry.or1k' or 'dlxsim testbench/dhry.dlx' to
|
Issue 'or1ksim testbench/dhry.or1k' or 'dlxsim testbench/dhry.dlx' to
|
test simulator. Use 'help' to get list of simulator commands.
|
test simulator. See testbench/README for details about Dhrystone 2.1
|
Run simulation with 'run 1000000 hush'. It will take
|
benchmark.
|
a couple of seconds and you should get an error about label _exit.
|
|
Now quit simulator with 'q' and open file stdout.txt. You should see
|
|
output from simulated dhrystone benchmark.
|
|
See testbench/README for details about Dhrystone 2.1 benchmark.
|
|
|
|
OpenRISC and open cores
|
OpenRISC and open cores
|
=======================
|
=======================
|
|
|
About the same idea as with GNU project except we want free hardware
|
About the same idea as with GNU project except we want free and open source
|
IP (intellectual property). We design open source, synthesizeable
|
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.
|
|
|
--
|
--
|
|
|
24/Oct/1999, Damjan Lampret email:lampret@opencores.org
|
29/Feb/2000, Damjan Lampret email:lampret@opencores.org
|
|
|
29/Feb/2000, Damjan Lampret email:lampret@opencores.org
|
|