From: lkcl Date: Sat, 6 Feb 2021 03:42:26 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~223 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e20c860665816eb1ff4d8e0a79b019721015552;p=libreriscv.git --- diff --git a/openpower/sv/overview.mdwn b/openpower/sv/overview.mdwn index 5e479be31..de9c9d286 100644 --- a/openpower/sv/overview.mdwn +++ b/openpower/sv/overview.mdwn @@ -466,7 +466,7 @@ element width. Our first simple loop thus becomes: src1 = get_polymorphed_reg(RA, srcwid, i) src2 = get_polymorphed_reg(RB, srcwid, i) result = src1 + src2 # actual add here - set_polymorphed_reg(rd, destwid, i, result) + set_polymorphed_reg(RT, destwid, i, result) With this loop, if elwidth=16 and VL=3 the first 48 bits of the target register will contain three 16 bit addition results, and the upper 16