From: Luke Kenneth Casson Leighton Date: Tue, 16 Oct 2018 00:41:02 +0000 (+0100) Subject: add reshaping section X-Git-Tag: convert-csv-opcode-to-binary~4929 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=179d6dfdc58f0174bdcbb159b567a231f640ebc3;p=libreriscv.git add reshaping section --- diff --git a/simple_v_extension/specification.mdwn b/simple_v_extension/specification.mdwn index 894a62f9b..cc8626e13 100644 --- a/simple_v_extension/specification.mdwn +++ b/simple_v_extension/specification.mdwn @@ -475,7 +475,7 @@ shows this more clearly, and may be executed as a python program: lims = [xdim, ydim, zdim] idxs = [0,0,0] - order = [1,0,2] + order = [1,0,2] # experiment with different permutations, here for idx in range(xdim * ydim * zdim): new_idx = idxs[0] + idxs[1] * xdim + idxs[2] * xdim * ydim