Added header guards to prevent errors from double-inclusions
This commit is contained in:
5 files changed
+21
-3
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user