diff options
-rw-r--r-- | README.md | 10 | ||||
-rw-r--r-- | res/waveform_add_two_numbers.png | bin | 0 -> 672412 bytes |
2 files changed, 10 insertions, 0 deletions
@@ -18,3 +18,13 @@ The board used in this project is a [Tang Nano 9K](https://wiki.sipeed.com/hardw * `make rom` to compile source files in prog/src, link and generate rom file. * `make wave` to view waveform of cpu running build/rom.hex. +## Waveform Example +Here we can see the waveforms of various internal signal of the CPU, executing the following instructions: + +```(asm) + addi t0, zero, 5 + addi t1, zero, 3 + add t2, t0, t1 +``` + + diff --git a/res/waveform_add_two_numbers.png b/res/waveform_add_two_numbers.png Binary files differnew file mode 100644 index 0000000..afd7714 --- /dev/null +++ b/res/waveform_add_two_numbers.png |