From a186a9a6be2cb0ece7ecf0bcc27e813f5534603d Mon Sep 17 00:00:00 2001 From: "github-classroom[bot]" <66690702+github-classroom[bot]@users.noreply.github.com> Date: Wed, 10 Sep 2025 21:59:56 +0000 Subject: Initial commit --- task5/statemachine.sv | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 task5/statemachine.sv (limited to 'task5/statemachine.sv') diff --git a/task5/statemachine.sv b/task5/statemachine.sv new file mode 100644 index 0000000..1a01db2 --- /dev/null +++ b/task5/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 + -- cgit v1.2.3