Skip to content

Commit 00779c1

Browse files
committed
Logic -> wire for inout ports
1 parent fdef13d commit 00779c1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/clock.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module clock #(
99
parameter WAIT_END,
1010
parameter PUSH_PULL = 0
1111
)(
12-
inout logic scl,
12+
inout wire scl,
1313
input logic clk_in,
1414
input logic release_line,
1515
output logic bus_clear,

src/i2c_master.sv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ module i2c_master #(
2121
// By doing so, you acknowledge and accept the risks involved.
2222
parameter FORCE_PUSH_PULL = 0
2323
) (
24-
inout logic scl,
24+
inout wire scl,
2525
input logic clk_in, // an arbitrary clock, used to derive the scl clock
2626
output logic bus_clear,
2727

28-
inout logic sda,
28+
inout wire sda,
2929
input logic mode, // 0 = transmit, 1 = receive
3030

3131
// These two flags are exclusive; a transfer can't continue if a new one is starting

0 commit comments

Comments
 (0)