Skip to content

Commit b59c723

Browse files
committed
Fix incorrect mapping of DisableInputFF config parameter
Internal-tag: [#71812] Signed-off-by: Maciej Kurc <[email protected]>
1 parent a697d43 commit b59c723

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

src/i3c_defines.svh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
`define AXI_DATA_WIDTH 32
1919
`define AXI_USER_WIDTH 32
2020
`define AXI_ID_WIDTH 8
21-
`define DISABLE_INPUT_F_F 1
21+
`define DISABLE_INPUT_FF 1
2222

2323
`endif // I3C_CONFIG

src/phy/i3c_phy.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module i3c_phy (
2727
output logic sel_od_pp_o
2828
);
2929

30-
`ifndef DISABLE_INPUT_F_F
30+
`ifndef DISABLE_INPUT_FF
3131

3232
// Synchronize SCL to system clock
3333
caliptra_prim_flop_2sync #(

tools/i3c_config/common.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ def __init__(self, cfg: I3CGenericConfig) -> None:
7272
self._defines[f"I3C_USE_{bus}"] = 1
7373
continue
7474

75+
# Map "DisableInputFF"
76+
if name == "DisableInputFF":
77+
if bool(value):
78+
self._defines["DISABLE_INPUT_FF"] = 1
79+
continue
80+
7581
# For those parameters that map directly, change the name format:
7682
# PascalCase -> UPPER_SNAKE_CASE
7783
new_name = self._format_name(name).replace("FRONTEND_BUS", bus)

0 commit comments

Comments
 (0)