summaryrefslogtreecommitdiff
path: root/nandgame/arith_unit.sv
diff options
context:
space:
mode:
authoruvok2026-01-16 18:22:10 +0100
committeruvok2026-01-16 18:22:36 +0100
commit47c26f27b8be4c6c22ed81f701f1b25072bb3341 (patch)
treeb4baf08315beb28bcb00c7075413e2462db185af /nandgame/arith_unit.sv
parentdd222c33ae00eb9312cb34610efd886dc565c159 (diff)
(System)Verilog: Be explicit about wire/logic
Diffstat (limited to 'nandgame/arith_unit.sv')
-rw-r--r--nandgame/arith_unit.sv6
1 files changed, 3 insertions, 3 deletions
diff --git a/nandgame/arith_unit.sv b/nandgame/arith_unit.sv
index 53ea17e..75736ab 100644
--- a/nandgame/arith_unit.sv
+++ b/nandgame/arith_unit.sv
@@ -11,11 +11,11 @@ module arith_unit #(
parameter DATA_WIDTH = 16
) (
// first operand
- input [(DATA_WIDTH-1):0] X_in,
+ input wire [(DATA_WIDTH-1):0] X_in,
// second operand
- input [(DATA_WIDTH-1):0] Y_in,
+ input wire [(DATA_WIDTH-1):0] Y_in,
// opcode, see ArithCode
- input ArithCode arith_operation_in,
+ input wire ArithCode arith_operation_in,
// result of operation
output logic [(DATA_WIDTH-1):0] result_out