summaryrefslogtreecommitdiff
path: root/DisplayController.v
diff options
context:
space:
mode:
Diffstat (limited to 'DisplayController.v')
-rw-r--r--DisplayController.v6
1 files changed, 3 insertions, 3 deletions
diff --git a/DisplayController.v b/DisplayController.v
index 1ea2bf1..108d7a9 100644
--- a/DisplayController.v
+++ b/DisplayController.v
@@ -35,13 +35,13 @@ wire [6:0] ssd2;
reg prev = 0;
-SevSegDisp d1(.A(A), .out(ssd1));
-SevSegDisp d2(.A(B), .out(ssd2));
+SevSegDisp d1(.A(A), .result(ssd1));
+SevSegDisp d2(.A(B), .result(ssd2));
always @( posedge clk_in ) begin
prev <= ~prev;
result <= prev ? ssd1 : ssd2;
- AN <= { 2'b11, prev, ~prev };
+ AN <= { 2'b11, ~prev, prev };
end