Hi all,
I have been interested in Openrisc 1000 and was trying to run the simulator after building the toolchains. Unfortunately, I couldn't have it running and it says "segmentation fault". Here are the details:
I did ./configure --target=or32-uclinux --prefix=/opt/or32-uclinux, according to the toolchains installation instruction page. I run ./sim testbench/basic.S and got quite a few lines of log with three warnings, then ended with Segmentation fault. (WARNING: dependstats stats must be enalbed to do history analisis.
...
WARNING: UARTO has problems with RX file stream.
WARNING: Keyboard has problems with RX file system.)
The same problem happened when I ran or32-uclinux-sim from /opt/or32-uclinux/bin/ instead with inputing sim.cfg. But if sim.cfg is not given here, I will get exception and when canceling it, I can get into simulator as (sim).
I got confused why the configuration given in toolchains instruction page, Architectural Simulator page, and the README file are different. They are:
./configure --target=or32-uclinux --prefix=/opt/or32-uclinux
./configure --target=or32-rtems --prefix=/opt/or32-rtems
./configure --target=or32-uclinux
respectively.
I wonder if there're different simulators for RTL and architecture level. Also, the README mentions there're drhy.or32 test file under testbench directory but I can't find it.
Could anyone help me out? Any comments are appreciated. Thanks in advance.
Sincerely,
Nan Zhou