1/1
usage of or1ksim
by Unknown on Jan 10, 2004 |
Not available! | ||
Hi all,
I am new to openrisc. I donot have idea on using the provided architecture simulator for openrisc. Can anyone provide simple example to demostrate how to use the simulator? Thank you very much. Best Regards, Stephen |
usage of or1ksim
by Unknown on Jan 10, 2004 |
Not available! | ||
* whli_interqos@yahoo.com.hk (whli_interqos@yahoo.com.hk) wrote:
Hi all,
a simple example is in the ATS script (running uclinux).
basicaly you just:
or1ksim -f
in the other terminal (if you have UART configured) you can:
tail -f uart0.tx
to see whats comming out of UART. to send something just
echo "ls" >> uart0.rx
to do all this you need UART configured in sim.cfg (a sample can be found
in uclinux or linux tree on opencores). there are many
things you can configure, the one most usefull is probably a 'execute log'
(in simulation section). if you enable this all executed instructions in
configured boundaries will be dumped into file. great for debugging.
best regards,
p.
I am new to openrisc. I donot have idea on using the provided architecture simulator for openrisc. Can anyone provide simple example to demostrate how to use the simulator? Thank you very much. |
1/1