From 8f81335ede5cf2863ac06daa51b1d2015d8d0a89 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 29 Jun 2021 11:39:46 +0100 Subject: [PATCH] use inline for remap.py --- openpower/sv/remap.mdwn | 4 +++- {simple_v_extension => openpower/sv}/shape_table_format.mdwn | 0 2 files changed, 3 insertions(+), 1 deletion(-) rename {simple_v_extension => openpower/sv}/shape_table_format.mdwn (100%) diff --git a/openpower/sv/remap.mdwn b/openpower/sv/remap.mdwn index 736816673..c96af492b 100644 --- a/openpower/sv/remap.mdwn +++ b/openpower/sv/remap.mdwn @@ -22,11 +22,13 @@ REMAP is quite expensive to set up, and on some implementations introduce latenc There are four "shape" SPRs, SHAPE0-3, 32-bits in each, which have the same format. -[[!inline raw="yes" pages="simple_v_extension/shape_table_format" ]] +[[!inline raw="yes" pages="openpower/sv/shape_table_format" ]] The algorithm below shows how REMAP works more clearly, and may be executed as a python program: +[[!inline raw="yes" pages="openpower/sv/remap.py" ]] + xdim = 3 # changeme ydim = 4 zdim = 1 diff --git a/simple_v_extension/shape_table_format.mdwn b/openpower/sv/shape_table_format.mdwn similarity index 100% rename from simple_v_extension/shape_table_format.mdwn rename to openpower/sv/shape_table_format.mdwn -- 2.30.2