From: Luke Kenneth Casson Leighton Date: Thu, 1 Jul 2021 12:19:45 +0000 (+0100) Subject: add remapyield.py version of remap.py X-Git-Tag: DRAFT_SVP64_0_1~679 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e04a98ff113ee134667a63ec2ff1cbca82915471;p=libreriscv.git add remapyield.py version of remap.py --- diff --git a/openpower/sv/remap.mdwn b/openpower/sv/remap.mdwn index 1aa3df513..fcf062ac7 100644 --- a/openpower/sv/remap.mdwn +++ b/openpower/sv/remap.mdwn @@ -37,11 +37,13 @@ which have the same format. The algorithm below shows how REMAP works more clearly, and may be executed as a python program: + ``` [[!inline quick="yes" raw="yes" pages="openpower/sv/remap.py" ]] ``` An easier-to-read version (using python iterators) shows the loop nesting: + ``` [[!inline quick="yes" raw="yes" pages="openpower/sv/remapyield.py" ]] ```