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 /eater_cpu/eater_alu.sv | |
| parent | dd222c33ae00eb9312cb34610efd886dc565c159 (diff) | |
(System)Verilog: Be explicit about wire/logic
Diffstat (limited to 'eater_cpu/eater_alu.sv')
| -rw-r--r-- | eater_cpu/eater_alu.sv | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/eater_cpu/eater_alu.sv b/eater_cpu/eater_alu.sv index bbfb050..1474d6d 100644 --- a/eater_cpu/eater_alu.sv +++ b/eater_cpu/eater_alu.sv @@ -3,15 +3,15 @@ `timescale 1us/1us module eater_alu ( - input clk_in, - input en_output_in, + input wire clk_in, + input wire en_output_in, - input subtract_n_add_in, + input wire subtract_n_add_in, - input [7:0] A_in, - input [7:0] B_in, + input wire [7:0] A_in, + input wire [7:0] B_in, - output [7:0] bus_out + output wire [7:0] bus_out ); wire [7:0] result = subtract_n_add_in ? (A_in - B_in) : (A_in + B_in); |
