succesfully, you need to dump the memory contents and inspect them.
-## Pypowersim - PowerISA Simulator
+# Pypowersim - PowerISA Simulator
Pypowersim is a PowerISA simulator written and Python.
PowerISA binaries are decoded by a given ISA class instance.
* python3 openpower-isa/src/openpower/decoder/isa/pypowersim.py
-## Tests
+# Tests
-### About
The tests consist of running Pypowersim with several input arg's:
9 -i audio/mp3/mp3_0_apply_window_float.bin
```
-### Before running the tests!
-
-**NOTE**: Is this correct?
+# Before running the tests!
As the SVP64 spec and Libre-SOC CPU is developing, the available opcodes
will grow. Make sure to update the auto-generated Python functions
simulating the instructions by calling:
-* run "pywriter"
-
-(This is an installed utility, so should be in your PATH)
-
-### Download audio data (**only need to do this once?**)
+* run "pywriter". This is an installed utility, so should be in your PATH
+* Download audio data. Use the Makefile inside "openpower-isa/media" to
+ download the audio samples.
-Call the Makefile inside "openpower-isa/media" to download the audio
-samples:
-
-* run "make wget"
+```
+$ pywriter
+$ make wget
+```
-### Running both tests
+# Running both tests
Run the Makefile in the "openpower-isa/media" directory with "tests" arg:
log file (the file will be **big**!).
To suppress verbose debug log, uncomment "#export SILENCELOG = 1" in the
-Makefile.
+Makefile or export it manually.
-### Running "mp3_x" tests individually
+# Running "mp3_x" tests individually
Inside "openpower-isa/media" directory run:
The "out" file will be created in the "media" directory. Change the name
if you don't want the second test to overwrite the results of the first.
-### Checking results
+# Checking results
If you run both tests through the makefile, the shell script
automatically compares the input "sample0" file with the