summaryrefslogtreecommitdiff
path: root/nandgame/instruction_decode.sv
diff options
context:
space:
mode:
authoruvok2026-01-06 11:58:16 +0100
committeruvok2026-01-06 11:58:16 +0100
commitfec3d3d68ebb27adaec53839c402229231b2cb38 (patch)
tree5d34ecba07737cbbe938ffcb90c348f566956d51 /nandgame/instruction_decode.sv
parentaad3b7aa0732cf127b1a44ff956e9447cbf9afef (diff)
include guards
Diffstat (limited to 'nandgame/instruction_decode.sv')
-rw-r--r--nandgame/instruction_decode.sv5
1 files changed, 5 insertions, 0 deletions
diff --git a/nandgame/instruction_decode.sv b/nandgame/instruction_decode.sv
index 25c3185..f81f251 100644
--- a/nandgame/instruction_decode.sv
+++ b/nandgame/instruction_decode.sv
@@ -8,6 +8,9 @@
`include "alu.sv"
`include "cond_check.sv"
+`ifndef NANDGAME_INS_DECODE
+`define NANDGAME_INS_DECODE
+
module instruction_decode #(
parameter DATA_WIDTH = 16
) (
@@ -81,3 +84,5 @@ assign result_out = is_immediate_int ?
: alu_result_int;
endmodule
+
+`endif