From: lkcl Date: Sat, 23 Jul 2022 12:28:46 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~1087 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7bc6428bc9d135a304578b79f6985c07f4a996d7;p=libreriscv.git --- diff --git a/docs/pypowersim.mdwn b/docs/pypowersim.mdwn index 178b3fcf6..519f9aa64 100644 --- a/docs/pypowersim.mdwn +++ b/docs/pypowersim.mdwn @@ -74,6 +74,18 @@ example script 9 7: 1 # param 5: ptr_diff_t incr 1 ``` +**Example SPR file** + +See + +This file sets SPRs to explicit values prior to execution. In this +example Link Register LR is set to 0xffffffff which on completion +of the function sets PC to an invalid out-of-bounds value causing +program termination. + +``` +``` + ### Before running the tests! **NOTE**: Is this correct?