Skip to content

Commit

Permalink
Remove output FFs for SDA/SCL
Browse files Browse the repository at this point in the history
Internal-tag: [#71812]
Signed-off-by: Maciej Kurc <[email protected]>
  • Loading branch information
mkurc-ant committed Jan 20, 2025
1 parent 4b330f7 commit e88c69c
Showing 1 changed file with 3 additions and 32 deletions.
35 changes: 3 additions & 32 deletions src/phy/i3c_phy.sv
Original file line number Diff line number Diff line change
Expand Up @@ -50,37 +50,8 @@ module i3c_phy (
.q_o(ctrl_sda_o)
);

// Delay controller SDA
caliptra_prim_flop_2sync #(
.Width(1),
.ResetValue(1)
) ctrl_sda_synchronizer (
.clk_i(clk_i),
.rst_ni(rst_ni),
.d_i(ctrl_sda_i),
.q_o(sda_o)
);

// Delay controller SCL
caliptra_prim_flop_2sync #(
.Width(1),
.ResetValue(1)
) ctrl_scl_synchronizer (
.clk_i(clk_i),
.rst_ni(rst_ni),
.d_i(ctrl_scl_i),
.q_o(scl_o)
);

// Delay driver select
caliptra_prim_flop_2sync #(
.Width(1),
.ResetValue(0)
) sel_od_pp_synchronizer (
.clk_i(clk_i),
.rst_ni(rst_ni),
.d_i(sel_od_pp_i),
.q_o(sel_od_pp_o)
);
assign sda_o = ctrl_sda_i;
assign scl_o = ctrl_scl_i;
assign sel_od_pp_o = sel_od_pp_i;

endmodule

0 comments on commit e88c69c

Please sign in to comment.