From dd51b917566e6b30c3f123ca22a0393e73c2afe8 Mon Sep 17 00:00:00 2001 From: jackkoenig Date: Wed, 26 Oct 2016 16:40:36 -0700 Subject: Revamp VendingMachine.scala as cookbook example * Move to cookbook * Change FSM implementation to use switch & is * Add non-FSM implementation * Add execution-driven test --- src/test/scala/cookbook/FSM.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/scala/cookbook') diff --git a/src/test/scala/cookbook/FSM.scala b/src/test/scala/cookbook/FSM.scala index 58f6a9a2..45359c9e 100644 --- a/src/test/scala/cookbook/FSM.scala +++ b/src/test/scala/cookbook/FSM.scala @@ -6,7 +6,7 @@ import chisel3._ import chisel3.util._ /* ### How do I create a finite state machine? - + * * Use Chisel Enum to construct the states and switch & is to construct the FSM * control logic */ -- cgit v1.2.3