diff options
author | Flavian Kaufmann <flavian@flaviankaufmann.ch> | 2024-05-08 13:14:32 +0200 |
---|---|---|
committer | Flavian Kaufmann <flavian@flaviankaufmann.ch> | 2024-05-08 13:14:32 +0200 |
commit | cd6c0549404793d22096048ed8135b4239009e79 (patch) | |
tree | 77b1bd11e512cc3d6b84db731c92697423d51a6c | |
parent | 43d74babbfef9792f0f5fdd5ca13ec6ebf33655d (diff) | |
download | riscv_cpu-cd6c0549404793d22096048ed8135b4239009e79.tar.gz riscv_cpu-cd6c0549404793d22096048ed8135b4239009e79.zip |
waveform example
-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 |