|
@@ -53,8 +53,8 @@ module prod2u_p4_i2c_stop_start_read #(
|
|
|
localparam [4:0] ST_ABORT_SCL_HIGH = 5'd16;
|
|
localparam [4:0] ST_ABORT_SCL_HIGH = 5'd16;
|
|
|
localparam [4:0] ST_ABORT_RELEASE = 5'd17;
|
|
localparam [4:0] ST_ABORT_RELEASE = 5'd17;
|
|
|
|
|
|
|
|
- (* keep = "true" *) reg [1:0] scl_sync;
|
|
|
|
|
- (* keep = "true" *) reg [1:0] sda_sync;
|
|
|
|
|
|
|
+ reg [1:0] scl_sync;
|
|
|
|
|
+ reg [1:0] sda_sync;
|
|
|
(* keep = "true", syn_encoding = "sequential", fsm_encoding = "none" *)
|
|
(* keep = "true", syn_encoding = "sequential", fsm_encoding = "none" *)
|
|
|
reg [4:0] state;
|
|
reg [4:0] state;
|
|
|
reg [31:0] phase_count;
|
|
reg [31:0] phase_count;
|