diff options
| author | github-classroom[bot] <66690702+github-classroom[bot]@users.noreply.github.com> | 2025-09-10 21:59:56 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-10 21:59:56 +0000 |
| commit | a186a9a6be2cb0ece7ecf0bcc27e813f5534603d (patch) | |
| tree | a4cadf53c9e7c47290b54b0446de418a9880e17e /task4/statemachine.sv | |
Initial commit
Diffstat (limited to 'task4/statemachine.sv')
| -rw-r--r-- | task4/statemachine.sv | 13 |
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 + |