diff options
author | oharboe <oharboe> | 2008-10-10 09:43:44 +0000 |
---|---|---|
committer | oharboe <oharboe> | 2008-10-10 09:43:44 +0000 |
commit | 5a2b72d6bdf7bc47f9001304c557b205c77e38ee (patch) | |
tree | 90016d3e3b8d08a045b90282a88b6d67d222d50e /zpu/docs | |
parent | 104c29feaeee40e94580b952b8cf793d54727612 (diff) | |
download | zpu-5a2b72d6bdf7bc47f9001304c557b205c77e38ee.zip zpu-5a2b72d6bdf7bc47f9001304c557b205c77e38ee.tar.gz |
dmips test app in example folder
Diffstat (limited to 'zpu/docs')
-rw-r--r-- | zpu/docs/zpu_arch.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/zpu/docs/zpu_arch.html b/zpu/docs/zpu_arch.html index 7ddbea7..0c57cae 100644 --- a/zpu/docs/zpu_arch.html +++ b/zpu/docs/zpu_arch.html @@ -157,6 +157,20 @@ Obviously you must also connect the ZPU to the rest of your IO subsystem. IO is java -classpath ../simulator/zpusim.jar com.zylin.zpu.simulator.tools.MakeRam hello.bin >hello.bram<br> </code> +<h2>Build another test application for example simulation</h2> +Here is how to build a rom image for an application using the +zpu/example simulation files. +<p> +cd zpu/roadshow/roadshow/dhrystone<br> +sh build.sh<br> +cd zpu/hdl/example<br> +gcc zpuromgen.c<br> +$ ./a<br> +Usage: ./a binary_file<br> +./a ../../roadshow/roadshow/dhrystone/dhrystone.bin >app.txt<br> +<p> +Copy and paste app.txt into helloworld.vhd. + <h2>Running example simulation</h2> The hdl/example directory has a simulation written for Xilinx WebPack ModelSim. From the ModelSim command prompt: <ol> |