summaryrefslogtreecommitdiff
path: root/nandgame/alu.sv
diff options
context:
space:
mode:
Diffstat (limited to 'nandgame/alu.sv')
-rw-r--r--nandgame/alu.sv12
1 files changed, 6 insertions, 6 deletions
diff --git a/nandgame/alu.sv b/nandgame/alu.sv
index 54297c9..5f82a64 100644
--- a/nandgame/alu.sv
+++ b/nandgame/alu.sv
@@ -13,17 +13,17 @@ module alu #(
parameter DATA_WIDTH = 16
) (
// "X" operand
- input [(DATA_WIDTH-1):0] X_in,
+ input wire [(DATA_WIDTH-1):0] X_in,
// "Y" operand
- input [(DATA_WIDTH-1):0] Y_in,
+ input wire [(DATA_WIDTH-1):0] Y_in,
// "u" flag. 1=arithmetic, 0=logic operation
- input logic u_arith_nlogic_in,
+ input wire u_arith_nlogic_in,
// opcode, see ArithCode / LogicCode
- input logic [1:0] opcode_in,
+ input wire [1:0] opcode_in,
// zero the "X" operand
- input logic zx_in,
+ input wire zx_in,
// swap "X" and "Y" operands
- input logic sw_in,
+ input wire sw_in,
// result of operation
output logic [(DATA_WIDTH-1):0] result_out