aboutsummaryrefslogtreecommitdiff
path: root/task4/datapath.sv
diff options
context:
space:
mode:
Diffstat (limited to 'task4/datapath.sv')
-rw-r--r--task4/datapath.sv17
1 files changed, 17 insertions, 0 deletions
diff --git a/task4/datapath.sv b/task4/datapath.sv
new file mode 100644
index 0000000..814ab3c
--- /dev/null
+++ b/task4/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
+