summaryrefslogtreecommitdiff
path: root/src/systemc/tests/systemc/misc/unit/data/general/subvector/test1/golden/test1.log
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-05-24 01:37:55 -0700
committerGabe Black <gabeblack@google.com>2018-08-08 10:09:54 +0000
commit16fa8d7cc8c92f5ab879e4cf9c6c0bbb3567860f (patch)
tree7b6faaacb4574a555e561534aa4a8508c0624c32 /src/systemc/tests/systemc/misc/unit/data/general/subvector/test1/golden/test1.log
parent7235d3b5211d0ba8f528d930a4c1e7ad62eec51a (diff)
downloadgem5-16fa8d7cc8c92f5ab879e4cf9c6c0bbb3567860f.tar.xz
systemc: Import tests from the Accellera systemc distribution.
Change-Id: Iad76b398949a55d768a34d027a2d8e3739953da6 Reviewed-on: https://gem5-review.googlesource.com/10845 Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/tests/systemc/misc/unit/data/general/subvector/test1/golden/test1.log')
-rw-r--r--src/systemc/tests/systemc/misc/unit/data/general/subvector/test1/golden/test1.log63
1 files changed, 63 insertions, 0 deletions
diff --git a/src/systemc/tests/systemc/misc/unit/data/general/subvector/test1/golden/test1.log b/src/systemc/tests/systemc/misc/unit/data/general/subvector/test1/golden/test1.log
new file mode 100644
index 000000000..f13d52825
--- /dev/null
+++ b/src/systemc/tests/systemc/misc/unit/data/general/subvector/test1/golden/test1.log
@@ -0,0 +1,63 @@
+SystemC Simulation
+b1.range(5,2) ...
+x[3] = 1
+x[2] = 1
+x[1] = 0
+x[0] = 1
+b2.range(4,1) ...
+x[3] = 1
+x[2] = 0
+x[1] = 0
+x[0] = 1
+b3.range(6,3) ...
+x[3] = 1
+x[2] = 0
+x[1] = 1
+x[0] = 1
+b1 = 0010110101
+b2 = 10010011
+b3 = 1011011
+u1 = 235
+u2 = 67
+u3 = 44
+s1 = -235
+s2 = -32
+s3 = -1
+b1.range(3,0) = 0101
+b1.range(0,3) = 1010
+b2.range(4,1) = 1001
+b2.range(1,4) = 1001
+b3.range(5,3) = 011
+b3.range(3,5) = 110
+u1.range(3,0) = 11
+u1.range(0,3) = 13
+u2.range(4,1) = 1
+u2.range(1,4) = 8
+u3.range(5,3) = 5
+u3.range(3,5) = 5
+u3.range(6,3) = 5
+u3 = 44
+s1.range(3,0) = 5
+s1.range(0,3) = -6
+s2.range(4,1) = 0
+s2.range(1,4) = 0
+s3.range(5,3) = -1
+s3.range(3,5) = -1
+s3.range(6,3) = -1
+s3 = -1
+u1.range(3,0) = 5
+u1.range(0,3) = 10
+u2.range(4,1) = 9
+u2.range(1,4) = 9
+u3.range(5,3) = 3
+u3.range(3,5) = 6
+u3.range(6,3) = 11
+u3 = 91
+s1.range(3,0) = 5
+s1.range(0,3) = -6
+s2.range(4,1) = -7
+s2.range(1,4) = -7
+s3.range(5,3) = 3
+s3.range(3,5) = -2
+s3.range(6,3) = -5
+s3 = -37