From 7617e33993abf9f6be357e0261755a4736c2e085 Mon Sep 17 00:00:00 2001 From: azidar Date: Mon, 20 Apr 2015 12:08:10 -0700 Subject: Fixed tests to use new execution arguments. Added and fixed chisel3 bugs --- test/chisel3/VendingMachine.fir | 46 ----------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 test/chisel3/VendingMachine.fir (limited to 'test/chisel3/VendingMachine.fir') diff --git a/test/chisel3/VendingMachine.fir b/test/chisel3/VendingMachine.fir deleted file mode 100644 index 4ae94524..00000000 --- a/test/chisel3/VendingMachine.fir +++ /dev/null @@ -1,46 +0,0 @@ -circuit VendingMachine : - module VendingMachine : - output valid : UInt(1) - input nickel : UInt(1) - input dime : UInt(1) - - node T_34 : UInt(3) = UInt(5, 3) - wire c : UInt - c := T_34 - node T_35 : UInt(3) = UInt(0, 3) - wire sIdle : UInt - sIdle := T_35 - node T_36 : UInt(3) = UInt(1, 3) - wire s5 : UInt - s5 := T_36 - node T_37 : UInt(3) = UInt(2, 3) - wire s10 : UInt - s10 := T_37 - node T_38 : UInt(3) = UInt(3, 3) - wire s15 : UInt - s15 := T_38 - node T_39 : UInt(3) = UInt(4, 3) - wire sOk : UInt - sOk := T_39 - reg state : UInt - state.init := sIdle - node T_40 : UInt(1) = equal(state, sIdle) - when T_40 : - when nickel : state := s5 - when dime : state := s10 - node T_41 : UInt(1) = equal(state, s5) - when T_41 : - when nickel : state := s10 - when dime : state := s15 - node T_42 : UInt(1) = equal(state, s10) - when T_42 : - when nickel : state := s15 - when dime : state := sOk - node T_43 : UInt(1) = equal(state, s15) - when T_43 : - when nickel : state := sOk - when dime : state := sOk - node T_44 : UInt(1) = equal(state, sOk) - when T_44 : state := sIdle - node T_45 : UInt(1) = equal(state, sOk) - valid := T_45 \ No newline at end of file -- cgit v1.2.3