Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
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: 2 additions & 0 deletions flow/designs/nangate45/mempool_group/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,6 @@ export MACRO_PLACE_HALO = 10 10

export SYNTH_HDL_FRONTEND = slang

# Disable KF LEC: assertion crash in SNLLogicCloud.cpp:349
# "Iso have no drivers and more than one reader, not supported"
export LEC_CHECK = 0
10 changes: 5 additions & 5 deletions flow/designs/nangate45/swerv_wrapper/rules-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
"compare": "<="
},
"cts__timing__setup__ws": {
"value": -0.197,
"value": -0.466,
"compare": ">="
},
"cts__timing__setup__tns": {
"value": -84.6,
"value": -290.0,
"compare": ">="
},
"cts__timing__hold__ws": {
Expand All @@ -52,7 +52,7 @@
"compare": ">="
},
"globalroute__timing__setup__tns": {
"value": -86.3,
"value": -211.0,
"compare": ">="
},
"globalroute__timing__hold__ws": {
Expand All @@ -64,7 +64,7 @@
"compare": ">="
},
"detailedroute__route__wirelength": {
"value": 5546498,
"value": 4367567,
"compare": "<="
},
"detailedroute__route__drc_errors": {
Expand All @@ -84,7 +84,7 @@
"compare": ">="
},
"finish__timing__setup__tns": {
"value": -88.2,
"value": -198.0,
"compare": ">="
},
"finish__timing__hold__ws": {
Expand Down
3 changes: 2 additions & 1 deletion flow/designs/rapidus2hp/cva6/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -149,5 +149,6 @@ 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
# Disable KF LEC: netlist loading failure
# bus net "icache_areq_o" cannot be found in ALU module
export LEC_CHECK = 0
4 changes: 2 additions & 2 deletions flow/designs/rapidus2hp/cva6/rules-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"compare": ">="
},
"globalroute__timing__setup__tns": {
"value": -452.0,
"value": -463.0,
"compare": ">="
},
"globalroute__timing__hold__ws": {
Expand All @@ -68,7 +68,7 @@
"compare": ">="
},
"finish__timing__setup__tns": {
"value": -452.0,
"value": -463.0,
"compare": ">="
},
"finish__timing__hold__ws": {
Expand Down
6 changes: 3 additions & 3 deletions flow/designs/rapidus2hp/cva6/rules-verific.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"compare": "<="
},
"placeopt__design__instance__count__stdcell": {
"value": 201058,
"value": 200149,
"compare": "<="
},
"detailedplace__design__violations": {
Expand All @@ -28,7 +28,7 @@
"compare": "<="
},
"cts__timing__setup__ws": {
"value": -0.136,
"value": -0.167,
"compare": ">="
},
"cts__timing__setup__tns": {
Expand Down Expand Up @@ -68,7 +68,7 @@
"compare": ">="
},
"finish__timing__setup__tns": {
"value": -550.0,
"value": -738.0,
"compare": ">="
},
"finish__timing__hold__ws": {
Expand Down
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

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;
// }}}

// Set state of internal registers
Expand Down
Loading