aboutsummaryrefslogtreecommitdiff
path: root/test/chisel3/Mul.fir
diff options
context:
space:
mode:
authorazidar2015-08-24 10:58:49 -0700
committerazidar2015-08-24 10:58:49 -0700
commit50cf7a4823d69967dcb2b10cdef892b0ab5f2184 (patch)
treeb8a4d9fc9b2063703a5f37fec538f7a220cc7681 /test/chisel3/Mul.fir
parent02a7fb53fc424346a1693f23661a1b1a4a867c4f (diff)
Removed old chisel3 tests that all failed for syntax reasons. Tests should now be small examples, categorized by either passes, errors, or features.
Diffstat (limited to 'test/chisel3/Mul.fir')
-rw-r--r--test/chisel3/Mul.fir30
1 files changed, 0 insertions, 30 deletions
diff --git a/test/chisel3/Mul.fir b/test/chisel3/Mul.fir
deleted file mode 100644
index b80b8a83..00000000
--- a/test/chisel3/Mul.fir
+++ /dev/null
@@ -1,30 +0,0 @@
-; RUN: firrtl -i %s -o %s.v -X verilog -p c | tee %s.out | FileCheck %s
-;CHECK: Done!
-
-circuit Mul :
- module Mul :
- input x : UInt<2>
- output z : UInt<4>
- input y : UInt<2>
-
- wire tbl : UInt<4>[16]
- tbl[0] := UInt<4>(0)
- tbl[1] := UInt<4>(0)
- tbl[2] := UInt<4>(0)
- tbl[3] := UInt<4>(0)
- tbl[4] := UInt<4>(0)
- tbl[5] := UInt<4>(1)
- tbl[6] := UInt<4>(2)
- tbl[7] := UInt<4>(3)
- tbl[8] := UInt<4>(0)
- tbl[9] := UInt<4>(2)
- tbl[10] := UInt<4>(4)
- tbl[11] := UInt<4>(6)
- tbl[12] := UInt<4>(0)
- tbl[13] := UInt<4>(3)
- tbl[14] := UInt<4>(6)
- tbl[15] := UInt<4>(9)
- node T_42 = shl(x, 2)
- node T_43 = bit-or(T_42, y)
- infer accessor T_44 = tbl[T_43]
- z := T_44