diff options
Diffstat (limited to '')
| -rw-r--r-- | task5/datapath.sv | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/task5/datapath.sv b/task5/datapath.sv new file mode 100644 index 0000000..e5c3f2f --- /dev/null +++ b/task5/datapath.sv @@ -0,0 +1,17 @@ +module datapath(input logic slow_clock, input logic fast_clock, input logic resetb, + input logic load_pcard1, input logic load_pcard2, input logic load_pcard3, + input logic load_dcard1, input logic load_dcard2, input logic load_dcard3, + output logic [3:0] pcard3_out, + output logic [3:0] pscore_out, output logic [3:0] dscore_out, + output logic [6:0] HEX5, output logic [6:0] HEX4, output logic [6:0] HEX3, + output logic [6:0] HEX2, output logic [6:0] HEX1, output logic [6:0] HEX0); + +// The code describing your datapath will go here. Your datapath +// will hierarchically instantiate six card7seg blocks, two scorehand +// blocks, and a dealcard block. The registers may either be instatiated +// or included as sequential always blocks directly in this file. +// +// Follow the block diagram in the Lab 1 handout closely as you write this code. + +endmodule + |