sync_up: Add meeting notes for tomorrow
[libreriscv.git] / openpower / isatables.mdwn
index fb72cfd3b5039256941eccb66a43ac3baec1c169..e9bde11f78b77df6826ddfb5834fb0d702b0bcc6 100644 (file)
@@ -1,8 +1,7 @@
 # ISA Reference Tables
 
-TODO
-
-Based on Anton Blanchard's microwatt decode1.vhdl
+These are from 3.0B p1145 Appendix C, and are
+based on Anton Blanchard's microwatt decode1.vhdl
 
 # Major opcodes
 
@@ -51,7 +50,22 @@ These can match against the (full) row[0] spec: nmigen Case supports "-" as
 
 [[!table format=csv file="openpower/isatables/extra.csv"]]
 
+# SPRs
+
+Special Purpose Registers.  These are listed in 3.0B Table 18 p971.
+
+[[!table format=csv file="openpower/isatables/sprs.csv"]]
+
 # Fields
 
-[[!table format=csv file="openpower/isatables/fields.txt" header="no"
-         delimiter="%"]]
+These are in machine-readable format that may be parsed with the
+following program:
+[power_fields.py](https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/openpower/decoder/power_fields.py;hb=HEAD)
+
+The table can be downloaded in plain text format here:
+[[openpower/isatables/fields.text]]
+
+```
+[[!inline pages="openpower/isatables/fields.text" raw="yes" ]]
+```
+