Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
c91679f
Bump kepler-formal (inout port issue fix)
jhkim-pii Mar 12, 2026
eaa6576
Enable kepler-formal for multiple designs
jhkim-pii Mar 12, 2026
6b81b89
Disable kepler-formal LEC for rapidus2hp cva6
jhkim-pii Mar 12, 2026
837beb5
cva6: drive optional outputs explicitly
jhkim-pii Mar 12, 2026
ed998cb
rapidus2hp/cva6: restore default KF LEC
jhkim-pii Mar 12, 2026
6307d99
chameleon: add LEC auxiliary blackbox stubs for KF
jhkim-pii Mar 17, 2026
4c5d746
Merge branch 'master' of https://github.com/The-OpenROAD-Project-priv…
jhkim-pii Mar 17, 2026
f6508cc
Bump OR: fix net name collision in write_verilog
jhkim-pii Mar 17, 2026
d84eec3
Disable kepler-formal LEC for rapidus2hp cva6
jhkim-pii Mar 17, 2026
d40042b
Update rapidus2hp/cva6 verific TNS metrics for OR bump
jhkim-pii Mar 17, 2026
d2e2dc7
Update rapidus2hp metrics for OR bump
jhkim-pii Mar 17, 2026
15e16d8
Update rapidus2hp cva6/hercules_idecode metrics for OR bump
jhkim-pii Mar 17, 2026
4c65f97
Trigger CI rebuild
jhkim-pii Mar 17, 2026
89da805
Merge branch 'master' of https://github.com/The-OpenROAD-Project-priv…
jhkim-pii Mar 18, 2026
b61b1a8
Enable KF LEC for nangate45/mempool_group and rapidus2hp/cva6
jhkim-pii Mar 18, 2026
f61b4cc
Disable KF LEC for nangate45/mempool_group and rapidus2hp/cva6
jhkim-pii Mar 18, 2026
ac3a2ee
Update rapidus2hp cva6 metrics
jhkim-pii Mar 18, 2026
59a4056
Update nangate45 swerv_wrapper metrics
jhkim-pii Mar 18, 2026
f9f7b5e
Bump OR (Fix cloned ICG location collision in CTS)
jhkim-pii Mar 21, 2026
4cac046
Rebump OR
jhkim-pii Mar 21, 2026
ee85cc0
Merge branch 'master' of https://github.com/The-OpenROAD-Project-priv…
jhkim-pii Mar 21, 2026
59c0410
Enable KF (LEC_CHECK=1) for nangate45/mempool_group and rapidus2hp/cva6
jhkim-pii Mar 21, 2026
7a1ff28
Bump kepler-formal (ae2acd4aa825fbbffdc4f8e6591b720a4a0a9e12)
jhkim-pii Mar 24, 2026
fc4af09
Bump OR (d2852e5e2ddf797c0c95da94df4b6077c506adca)
jhkim-pii Mar 24, 2026
ad29f5e
Merge branch 'master' of https://github.com/The-OpenROAD-Project-priv…
jhkim-pii Mar 24, 2026
dc6c1a6
Merge remote-tracking branch 'origin/master' into secure-enable-kf-le…
jhkim-pii Mar 27, 2026
efe3ba3
Bump OR (secure-fix-cloned-icg-loc-coll update)
jhkim-pii Mar 27, 2026
bcd97f1
Retrigger CI (OR submodule commit now available on remote)
jhkim-pii Mar 27, 2026
ce077d9
Update rapidus2hp hercules_idecode metrics
jhkim-pii Mar 27, 2026
12fc65b
Disable KF LEC for rapidus2hp/cva6, update nangate45/bp_multi_top met…
jhkim-pii Mar 27, 2026
77f6de9
Revert "Disable KF LEC for rapidus2hp/cva6, update nangate45/bp_multi…
jhkim-pii Mar 27, 2026
d9a9a49
Merge branch 'master' of https://github.com/The-OpenROAD-Project-priv…
jhkim-pii Mar 29, 2026
689e220
Merge branch 'secure-enable-kf-lec-check' of https://github.com/The-O…
jhkim-pii Mar 29, 2026
379570f
metric: nangate45/bp_multi_top finish__timing__hold__tns = -0.96 -> -…
jhkim-pii Mar 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions flow/designs/asap7/ibex/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,3 @@ export TNS_END_PERCENT = 100
export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1

export LEC_CHECK = 0

2 changes: 0 additions & 2 deletions flow/designs/asap7/jpeg/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@ export TNS_END_PERCENT = 100
export EQUIVALENCE_CHECK ?= 1
export REMOVE_CELLS_FOR_EQY = TAPCELL*

export LEC_CHECK = 0


2 changes: 0 additions & 2 deletions flow/designs/asap7/mock-alu/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,3 @@ export ROUTING_LAYER_ADJUSTMENT = 0.45
export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1

export LEC_CHECK = 0

1 change: 0 additions & 1 deletion flow/designs/asap7/swerv_wrapper/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,3 @@ export ROUTING_LAYER_ADJUSTMENT = 0.2
export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1

export LEC_CHECK = 0
2 changes: 0 additions & 2 deletions flow/designs/gf12/ariane/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,3 @@ export REMOVE_ABC_BUFFERS = 1

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1

export LEC_CHECK = 0
2 changes: 0 additions & 2 deletions flow/designs/gf12/bp_dual/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,3 @@ export MACRO_WRAPPERS = $(PLATFORM_DIR)/bp/wrappers/wrappers.tcl
export PDN_TCL = $(PLATFORM_DIR)/cfg/pdn_grid_strategy_13m_9T.top.tcl

export MACRO_PLACE_HALO = 7 7

export LEC_CHECK = 0
2 changes: 0 additions & 2 deletions flow/designs/gf12/bp_single/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,3 @@ export SETUP_SLACK_MARGIN ?= 100

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1

export LEC_CHECK = 0
2 changes: 0 additions & 2 deletions flow/designs/gf12/ca53/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,3 @@ endif
#export SKIP_PIN_SWAP = 1
export SKIP_INCREMENTAL_REPAIR = 1
export TNS_END_PERCENT = 5

export LEC_CHECK = 0
2 changes: 0 additions & 2 deletions flow/designs/gf12/tinyRocket/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,3 @@ endif

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1

export LEC_CHECK = 0
2 changes: 0 additions & 2 deletions flow/designs/gf180/ibex/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,3 @@ export PLACE_DENSITY_LB_ADDON = 0.1
export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1

export LEC_CHECK = 0

2 changes: 0 additions & 2 deletions flow/designs/gf180/uart-blocks/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@ export TAPCELL_TCL ?= $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/tapcell.tcl
export MACRO_ROWS_HALO_X = 14
export MACRO_ROWS_HALO_Y = 14

export LEC_CHECK = 0

Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,3 @@ export CORNERS = slow typ fast

export PDN_TCL = $(DESIGN_HOME)/$(PLATFORM)/$(TOP_DESIGN_NICKNAME)/${DESIGN_NAME}/pdn.tcl

export LEC_CHECK = 0

2 changes: 0 additions & 2 deletions flow/designs/ihp-sg13g2/ibex/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@ export CTS_BUF_DISTANCE = 60
export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1

export LEC_CHECK = 0

2 changes: 0 additions & 2 deletions flow/designs/nangate45/bp_be_top/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,3 @@ export CTS_CLUSTER_DIAMETER = 50
export SYNTH_MINIMUM_KEEP_SIZE = 3000

export FASTROUTE_TCL = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NAME)/fastroute.tcl

export LEC_CHECK = 0
2 changes: 0 additions & 2 deletions flow/designs/nangate45/bp_multi_top/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,3 @@ export SKIP_GATE_CLONING = 1
export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1

export LEC_CHECK = 0

2 changes: 1 addition & 1 deletion flow/designs/nangate45/bp_multi_top/rules-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"compare": ">="
},
"finish__timing__hold__tns": {
"value": -0.96,
"value": -1.32,
"compare": ">="
},
"finish__design__instance__area": {
Expand Down
2 changes: 0 additions & 2 deletions flow/designs/nangate45/mempool_group/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,3 @@ export CORE_AREA = 10 12 1090 1090
export MACRO_PLACE_HALO = 10 10

export SYNTH_HDL_FRONTEND = slang

export LEC_CHECK = 0
3 changes: 0 additions & 3 deletions flow/designs/rapidus2hp/cva6/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,3 @@ export SYNTH_CANONICALIZE_TCL = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NAME)/canoni

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1

# Until the verilog writer fix is merged
export LEC_CHECK = 0
4 changes: 1 addition & 3 deletions flow/designs/sky130hd/chameleon/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export CORE_ASPECT_RATIO = 1.3
export CORE_MARGIN = 2

export chameleon_DIR = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)
export LEC_AUX_VERILOG_FILES = $(chameleon_DIR)/lec_blackbox_stubs.v

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a new .v to specify black-box modules to run KF successfully.

  • There are no verilog module (has .lef only) for some modules (e.g., DFFRAM_4K, ...), which causes an error in KF.
  • So I add a new flow/designs/sky130hd/chameleon/lec_blackbox_stubs.v‎ file for KF.


export ADDITIONAL_GDS = $(chameleon_DIR)/gds/apb_sys_0.gds.gz \
$(chameleon_DIR)/gds/DMC_32x16HC.gds.gz \
Expand All @@ -50,6 +51,3 @@ export ADDITIONAL_LEFS = $(chameleon_DIR)/lef/apb_sys_0.lef \
export FP_PDN_RAIL_WIDTH = 0.48
export FP_PDN_RAIL_OFFSET = 0
export TNS_END_PERCENT = 100

export LEC_CHECK = 0

143 changes: 143 additions & 0 deletions flow/designs/sky130hd/chameleon/lec_blackbox_stubs.v
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
module DFFRAM_4K (
CLK,
WE,
EN,
Di,
Do,
A
);
input CLK;
input [3:0] WE;
input EN;
input [31:0] Di;
output [31:0] Do;
input [9:0] A;
endmodule

module DMC_32x16HC (
clk,
rst_n,
A,
A_h,
Do,
hit,
line,
wr
);
input clk;
input rst_n;
input [23:0] A;
input [23:0] A_h;
output [31:0] Do;
output hit;
input [127:0] line;
input wr;
endmodule

module ibex_wrapper (
HCLK,
HRESETn,
HADDR,
HSIZE,
HTRANS,
HWDATA,
HWRITE,
HRDATA,
HREADY,
NMI,
EXT_IRQ,
IRQ,
SYSTICKCLKDIV
);
input HCLK;
input HRESETn;
output [31:0] HADDR;
output [2:0] HSIZE;
output [1:0] HTRANS;
output [31:0] HWDATA;
output HWRITE;
input [31:0] HRDATA;
input HREADY;
input NMI;
input EXT_IRQ;
input [14:0] IRQ;
input [23:0] SYSTICKCLKDIV;
endmodule

module apb_sys_0 (
HCLK,
HRESETn,
HADDR,
HTRANS,
HWRITE,
HWDATA,
HSEL,
HREADY,
HRDATA,
HREADYOUT,
RsRx_S0,
RsTx_S0,
RsRx_S1,
RsTx_S1,
MSI_S2,
MSO_S2,
SSn_S2,
SCLK_S2,
MSI_S3,
MSO_S3,
SSn_S3,
SCLK_S3,
scl_i_S4,
scl_o_S4,
scl_oen_o_S4,
sda_i_S4,
sda_o_S4,
sda_oen_o_S4,
scl_i_S5,
scl_o_S5,
scl_oen_o_S5,
sda_i_S5,
sda_o_S5,
sda_oen_o_S5,
pwm_S6,
pwm_S7,
IRQ
);
input HCLK;
input HRESETn;
input [31:0] HADDR;
input [1:0] HTRANS;
input HWRITE;
input [31:0] HWDATA;
input HSEL;
input HREADY;
output [31:0] HRDATA;
output HREADYOUT;
input [0:0] RsRx_S0;
output [0:0] RsTx_S0;
input [0:0] RsRx_S1;
output [0:0] RsTx_S1;
input [0:0] MSI_S2;
output [0:0] MSO_S2;
output [0:0] SSn_S2;
output [0:0] SCLK_S2;
input [0:0] MSI_S3;
output [0:0] MSO_S3;
output [0:0] SSn_S3;
output [0:0] SCLK_S3;
input [0:0] scl_i_S4;
output [0:0] scl_o_S4;
output [0:0] scl_oen_o_S4;
input [0:0] sda_i_S4;
output [0:0] sda_o_S4;
output [0:0] sda_oen_o_S4;
input [0:0] scl_i_S5;
output [0:0] scl_o_S5;
output [0:0] scl_oen_o_S5;
input [0:0] sda_i_S5;
output [0:0] sda_o_S5;
output [0:0] sda_oen_o_S5;
output [0:0] pwm_S6;
output [0:0] pwm_S7;
output [15:0] IRQ;
endmodule
2 changes: 0 additions & 2 deletions flow/designs/sky130hd/ibex/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,3 @@ export CTS_CLUSTER_DIAMETER = 50
export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1


export LEC_CHECK = 0
2 changes: 0 additions & 2 deletions flow/designs/sky130hd/microwatt/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,3 @@ endif

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1

export LEC_CHECK = 0
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ module cva6_hpdcache_if_adapter
assign cva6_req_o.data_rdata = hpdcache_rsp_i.rdata;
assign cva6_req_o.data_rid = hpdcache_rsp_i.tid;
assign cva6_req_o.data_gnt = hpdcache_req_ready_i;
assign cva6_req_o.data_ruser = '0;
assign cva6_amo_resp_o = '0;
assign cva6_dcache_flush_ack_o = 1'b0;

// Assertions
// {{{
Expand Down Expand Up @@ -317,6 +320,7 @@ module cva6_hpdcache_if_adapter
assign cva6_req_o.data_rdata = hpdcache_rsp_i.rdata;
assign cva6_req_o.data_rid = hpdcache_rsp_i.tid;
assign cva6_req_o.data_gnt = hpdcache_req_ready_i;
assign cva6_req_o.data_ruser = '0;

assign cva6_amo_resp_o.ack = hpdcache_rsp_valid_i && (hpdcache_rsp_i.tid == '1);
assign cva6_amo_resp_o.result = amo_is_word ? {{32{amo_resp_word[31]}}, amo_resp_word}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@ module cva6_hpdcache_wrapper
dcache_req[NumPorts] = '0,
dcache_req_abort[NumPorts] = 1'b0,
dcache_req_tag[NumPorts] = '0,
dcache_req_pma[NumPorts] = '0;
dcache_req_pma[NumPorts] = '0,
dcache_cmo_resp_o = '0;
`endif
endgenerate

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ import hpdcache_pkg::*;
hpdcache_req_o.phys_indexed = 1'b1,
hpdcache_req_o.addr_tag = hpdcache_req_tag,
hpdcache_req_o.pma.uncacheable = 1'b0,
hpdcache_req_o.pma.io = 1'b0;
hpdcache_req_o.pma.io = 1'b0,
hpdcache_req_o.pma.wr_policy_hint = HPDCACHE_WR_POLICY_AUTO;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cva6 RTL has uninitialized signals, which causes KF value. Initialized those signals properly.

// }}}

// Set state of internal registers
Expand Down
2 changes: 1 addition & 1 deletion flow/designs/src/cva6/core/csr_regfile.sv
Original file line number Diff line number Diff line change
Expand Up @@ -2531,7 +2531,7 @@ module csr_regfile

// determine if mprv needs to be considered if in debug mode
assign mprv = (CVA6Cfg.DebugEn && debug_mode_q && !dcsr_q.mprven) ? 1'b0 : mstatus_q.mprv;
assign debug_mode_o = debug_mode_q;
assign debug_mode_o = CVA6Cfg.DebugEn ? debug_mode_q : 1'b0;
assign single_step_o = CVA6Cfg.DebugEn ? dcsr_q.step : 1'b0;
assign mcountinhibit_o = {{29 - MHPMCounterNum{1'b0}}, mcountinhibit_q};

Expand Down
2 changes: 2 additions & 0 deletions flow/designs/src/cva6/core/cva6_mmu/cva6_mmu.sv
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,8 @@ module cva6_mmu
((ld_st_priv_lvl_i == riscv::PRIV_LVL_S && (ld_st_v_i ? !vs_sum_i : !sum_i ) && dtlb_pte_q.u) || // SUM is not set and we are trying to access a user page in supervisor mode
(ld_st_priv_lvl_i == riscv::PRIV_LVL_U && !dtlb_pte_q.u));

csr_hs_ld_st_inst_o = 1'b0;

if (CVA6Cfg.RVH) begin
lsu_tinst_n = lsu_tinst_i;
hs_ld_st_inst_n = hs_ld_st_inst_i;
Expand Down
1 change: 1 addition & 0 deletions flow/designs/src/cva6/core/cvxif_fu.sv
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ module cvxif_fu

// Handling of illegal instruction exception
always_comb begin
x_exception_o = '0;
x_exception_o.valid = x_illegal_i;
x_exception_o.cause = x_illegal_i ? riscv::ILLEGAL_INSTR : '0;
if (CVA6Cfg.TvalEn)
Expand Down
1 change: 1 addition & 0 deletions flow/designs/src/cva6/core/id_stage.sv
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ module id_stage #(
assign is_compressed_zcmt = is_compressed_rvc;
assign stall_macro_deco_zcmt = '0;
assign jump_address = '0;
assign dcache_req_ports_o = '0;
end

if (CVA6Cfg.RVZCMT) begin
Expand Down
3 changes: 3 additions & 0 deletions flow/designs/src/cva6/core/load_store_unit.sv
Original file line number Diff line number Diff line change
Expand Up @@ -349,13 +349,16 @@ module load_store_unit
assign dcache_req_ports_o[0].address_index = '0;
assign dcache_req_ports_o[0].address_tag = '0;
assign dcache_req_ports_o[0].data_wdata = '0;
assign dcache_req_ports_o[0].data_wuser = '0;
assign dcache_req_ports_o[0].data_req = 1'b0;
assign dcache_req_ports_o[0].data_be = '1;
assign dcache_req_ports_o[0].data_size = 2'b11;
assign dcache_req_ports_o[0].data_id = '0;
assign dcache_req_ports_o[0].data_we = 1'b0;
assign dcache_req_ports_o[0].kill_req = '0;
assign dcache_req_ports_o[0].tag_valid = 1'b0;

assign csr_hs_ld_st_inst_o = 1'b0;
assign itlb_miss_o = 1'b0;
assign dtlb_miss_o = 1'b0;
assign dtlb_ppn = lsu_paddr[CVA6Cfg.PLEN-1:12];
Expand Down
1 change: 1 addition & 0 deletions flow/designs/src/cva6/core/load_unit.sv
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ module load_unit
// this is a read-only interface so set the write enable to 0
assign req_port_o.data_we = 1'b0;
assign req_port_o.data_wdata = '0;
assign req_port_o.data_wuser = '0;
// compose the load buffer write data, control is handled in the FSM
assign ldbuf_wdata = {
lsu_ctrl_i.trans_id, lsu_ctrl_i.vaddr[CVA6Cfg.XLEN_ALIGN_BYTES-1:0], lsu_ctrl_i.operation
Expand Down
Loading