Added header guards to prevent errors from double-inclusions

This commit is contained in:
riley committed 2026-09-13 23:09:08 +10:00
1 parent 78efccfe1e
commit 19ba1bf473
5 files changed
+21 -3

No files matched your search

+3
View File
@@ -1,3 +1,5 @@
`ifndef SEVEN_SEG_H_SV
`define SEVEN_SEG_H_SV
module seven_seg(input logic [3:0] num, input logic [0:0] rbi_inv, output logic [7:0] segments);
always_comb begin
case (num)
@@ -21,3 +23,4 @@ module seven_seg(input logic [3:0] num, input logic [0:0] rbi_inv, output logic
endcase
end
endmodule
`endif