summaryrefslogtreecommitdiff
path: root/nandgame/instruction_decode.sv
diff options
context:
space:
mode:
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