We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdef13d commit 00779c1Copy full SHA for 00779c1
src/clock.sv
@@ -9,7 +9,7 @@ module clock #(
9
parameter WAIT_END,
10
parameter PUSH_PULL = 0
11
)(
12
- inout logic scl,
+ inout wire scl,
13
input logic clk_in,
14
input logic release_line,
15
output logic bus_clear,
src/i2c_master.sv
@@ -21,11 +21,11 @@ module i2c_master #(
21
// By doing so, you acknowledge and accept the risks involved.
22
parameter FORCE_PUSH_PULL = 0
23
) (
24
25
input logic clk_in, // an arbitrary clock, used to derive the scl clock
26
27
28
- inout logic sda,
+ inout wire sda,
29
input logic mode, // 0 = transmit, 1 = receive
30
31
// These two flags are exclusive; a transfer can't continue if a new one is starting
0 commit comments