diff options
author | Yann Herklotz <git@yannherklotz.com> | 2021-04-14 00:37:38 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2021-04-14 00:37:38 +0100 |
commit | 7c65e3ed3d9c8ef722aae52816d85e3486ca8de2 (patch) | |
tree | 0ee53f538cdcf03a0cdf0dd22e4936c53f3d08f6 /data/accumulator.rtl | |
parent | 2e70aee3a563ca6c78c75be1922c9f657a3fc40a (diff) | |
download | oopsla21_fvhls-7c65e3ed3d9c8ef722aae52816d85e3486ca8de2.tar.gz oopsla21_fvhls-7c65e3ed3d9c8ef722aae52816d85e3486ca8de2.zip |
Update main diagram
Diffstat (limited to 'data/accumulator.rtl')
-rw-r--r-- | data/accumulator.rtl | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/data/accumulator.rtl b/data/accumulator.rtl index bf0af2f..388965c 100644 --- a/data/accumulator.rtl +++ b/data/accumulator.rtl @@ -1,18 +1,6 @@ main() { -6: x9 = 1 -5: int32[stack(0)] = x9 -4: x8 = 2 -3: int32[stack(4)] = x8 -2: x7 = 3 -1: int32[stack(8)] = x7 -0: x3 = 0 -9: nop -8: x1 = 0 -7: x6 = stack(0) (int) -6: x5 = int32[x6 + x1 * 4 + 0] -5: x3 = x3 + x5 + 0 (int) -4: x1 = x1 + 1 (int) -3: if (x1 <s 3) goto 7 else goto 2 -2: x4 = x3 -1: return x4 + x2 = 3 + int32[stack(0)] = x2 + x1 = int32[stack(0)] + return x1 } |