diff options
| author | uvok | 2026-01-16 18:22:10 +0100 |
|---|---|---|
| committer | uvok | 2026-01-16 18:22:36 +0100 |
| commit | 47c26f27b8be4c6c22ed81f701f1b25072bb3341 (patch) | |
| tree | b4baf08315beb28bcb00c7075413e2462db185af /nandgame/arith_unit.sv | |
| parent | dd222c33ae00eb9312cb34610efd886dc565c159 (diff) | |
(System)Verilog: Be explicit about wire/logic
Diffstat (limited to 'nandgame/arith_unit.sv')
| -rw-r--r-- | nandgame/arith_unit.sv | 6 |
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 |
