diff options
| author | azidar | 2015-08-24 10:58:49 -0700 |
|---|---|---|
| committer | azidar | 2015-08-24 10:58:49 -0700 |
| commit | 50cf7a4823d69967dcb2b10cdef892b0ab5f2184 (patch) | |
| tree | b8a4d9fc9b2063703a5f37fec538f7a220cc7681 /test/chisel3/VendingMachine.fir | |
| parent | 02a7fb53fc424346a1693f23661a1b1a4a867c4f (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/VendingMachine.fir')
| -rw-r--r-- | test/chisel3/VendingMachine.fir | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/test/chisel3/VendingMachine.fir b/test/chisel3/VendingMachine.fir deleted file mode 100644 index 39723b05..00000000 --- a/test/chisel3/VendingMachine.fir +++ /dev/null @@ -1,31 +0,0 @@ -; RUN: firrtl -i %s -o %s.v -X verilog -p c | tee %s.out | FileCheck %s -;CHECK: Done! - -circuit VendingMachine : - module VendingMachine : - output valid : UInt<1> - input nickel : UInt<1> - input dime : UInt<1> - - reg state : UInt<3> - on-reset state := UInt<3>(0) - node T_22 = eq(state, UInt<3>(0)) - when T_22 : - when nickel : state := UInt<3>(1) - when dime : state := UInt<3>(2) - node T_23 = eq(state, UInt<3>(1)) - when T_23 : - when nickel : state := UInt<3>(2) - when dime : state := UInt<3>(3) - node T_24 = eq(state, UInt<3>(2)) - when T_24 : - when nickel : state := UInt<3>(3) - when dime : state := UInt<3>(4) - node T_25 = eq(state, UInt<3>(3)) - when T_25 : - when nickel : state := UInt<3>(4) - when dime : state := UInt<3>(4) - node T_26 = eq(state, UInt<3>(4)) - when T_26 : state := UInt<3>(0) - node T_27 = eq(state, UInt<3>(4)) - valid := T_27 |
