[otbn] Define existing error codes
Signed-off-by: Philipp Wagner <phw@lowrisc.org>
diff --git a/hw/ip/otbn/data/otbn.hjson b/hw/ip/otbn/data/otbn.hjson
index 5a7cd9a..dd78af9 100644
--- a/hw/ip/otbn/data/otbn.hjson
+++ b/hw/ip/otbn/data/otbn.hjson
@@ -104,10 +104,12 @@
desc: '''
The error cause if an error occurred.
- TODO: Define error codes.
-
Software should read this register before clearing the err
interrupt to avoid race conditions.
+
+ Possible values:
+
+ - 0x0 (ErrCodeNoError): No error occurred.
'''
}
]