summaryrefslogtreecommitdiff
path: root/playground/ser_to_par.v
diff options
context:
space:
mode:
authoruvok2026-01-16 18:22:10 +0100
committeruvok2026-01-16 18:22:36 +0100
commit47c26f27b8be4c6c22ed81f701f1b25072bb3341 (patch)
treeb4baf08315beb28bcb00c7075413e2462db185af /playground/ser_to_par.v
parentdd222c33ae00eb9312cb34610efd886dc565c159 (diff)
(System)Verilog: Be explicit about wire/logic
Diffstat (limited to 'playground/ser_to_par.v')
-rw-r--r--playground/ser_to_par.v12
1 files changed, 6 insertions, 6 deletions
diff --git a/playground/ser_to_par.v b/playground/ser_to_par.v
index f0a0c47..edb05df 100644
--- a/playground/ser_to_par.v
+++ b/playground/ser_to_par.v
@@ -10,15 +10,15 @@
module ser_to_par #(
parameter SHIFT_WIDTH = 8
) (
- input rst_i,
- input clk_i,
+ input wire rst_i,
+ input wire clk_i,
- input dat_valid_i,
- input dat_i,
+ input wire dat_valid_i,
+ input wire dat_i,
- output reg[(SHIFT_WIDTH - 1):0] dat_o,
+ output reg [(SHIFT_WIDTH - 1):0] dat_o,
// ???
- output dat_valid_o
+ output wire dat_valid_o
);
reg [$clog2(SHIFT_WIDTH) - 1 : 0] count = {$clog2(SHIFT_WIDTH){1'b0}};