aboutsummaryrefslogtreecommitdiff
path: root/task4/statemachine.sv
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--task4/statemachine.sv13
1 files changed, 13 insertions, 0 deletions
diff --git a/task4/statemachine.sv b/task4/statemachine.sv
new file mode 100644
index 0000000..1a01db2
--- /dev/null
+++ b/task4/statemachine.sv
@@ -0,0 +1,13 @@
+module statemachine(input logic slow_clock, input logic resetb,
+ input logic [3:0] dscore, input logic [3:0] pscore, input logic [3:0] pcard3,
+ output logic load_pcard1, output logic load_pcard2, output logic load_pcard3,
+ output logic load_dcard1, output logic load_dcard2, output logic load_dcard3,
+ output logic player_win_light, output logic dealer_win_light);
+
+// The code describing your state machine will go here. Remember that
+// a state machine consists of next state logic, output logic, and the
+// registers that hold the state. You will want to review your notes from
+// CPEN 211 or equivalent if you have forgotten how to write a state machine.
+
+endmodule
+