aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/README.md b/README.md
index 19f3496..b3d718b 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@ SubV
This is a wip clone of [SubX][mu] for the RISC-V RV31I base ISA.
- $ ./test.py | ./elf.py > out.elf
+ $ <label_test.subv ./format.py | ./survey.py | ./pack.py | ./elf.py > out.elf
$ ./qemu.sh out.elf
Pipeline
@@ -11,8 +11,12 @@ Pipeline
back to front:
-- `elf`: takes `hex.subx`-style input, outputs an ELF file
-- `survey`:
+- `elf.py`: takes hex bytes and segment headers, outputs an ELF file
+- `pack.py`: packs bitfields (`3/3 1/1 f/4`) into hex bytes (`fb`)
+- `survey.py`: replaces label references by their addresses
+- `format.py`: checks op-arguments and chops and orders arguments into ISA formats
+
+and now back to front with a little example:
Debugging
---------