aryap
11/17/2020, 7:12 AM::env(MACRO_PLACEMENT_CFG)
. my macro makes it intact through synthesis, but fails during replace
with
Design name: mac_tile
Traceback (most recent call last):
File "/openLANE_flow/scripts/manual_macro_place.py", line 115, in <module>
assert not macros, ("Macros not found:", macros)
AssertionError: ('Macros not found:', {'macaroni': ['5000', '5000', 'N']}
indeed, the instance is missing from tmp/merged.lef
? but it it appears in synthesis fine and i don't see any errors emitted anywhere. any ideas?def
, tmp/placement/replace.def
tnt
11/17/2020, 7:14 AMaryap
11/17/2020, 7:14 AMtnt
11/17/2020, 7:15 AMaryap
11/17/2020, 7:15 AM19222 === mac_tile ===
19223
19224 Number of wires: 26386
19225 Number of wire bits: 27158
19226 Number of public wires: 5622
19227 Number of public wire bits: 6394
19228 Number of memories: 0
19229 Number of memory bits: 0
19230 Number of processes: 0
19231 Number of cells: 27467
19232 mac_cluster 1
19233 sky130_fd_sc_hd__a21o_4 2331
19234 sky130_fd_sc_hd__a21oi_4 1168
19235 sky130_fd_sc_hd__a22oi_4 1
19236 sky130_fd_sc_hd__buf_1 4148
19237 sky130_fd_sc_hd__dfxtp_4 5536
19238 sky130_fd_sc_hd__inv_8 1169
19239 sky130_fd_sc_hd__nor2_4 8742
19240 sky130_fd_sc_hd__nor3_4 3200
19241 sky130_fd_sc_hd__o21ai_4 1
19242 sky130_fd_sc_hd__or2_4 6
19243 transmission_gate 1164
19244
19245 Area for cell type \mac_cluster is unknown!
19246 Area for cell type \transmission_gate is unknown!
19247
19248 Chip area for module '\mac_tile': 364918.736000
19249
19250 32. Executing Verilog backend.
19251 Dumping module `\mac_tile'.
mac_cluster
and the instance is macaroni
tnt
11/17/2020, 7:16 AMEXTRA_LEFS
and EXTRA_GDS_FILES
in your config ?aryap
11/17/2020, 7:17 AMtnt
11/17/2020, 7:17 AMaryap
11/17/2020, 7:18 AMtnt
11/17/2020, 7:20 AMverilog2def
is what creates the initial DEF from the synthesis results AFAIK.aryap
11/17/2020, 7:21 AMtnt
11/17/2020, 7:21 AMfloorplan/verilog2def_openroad.def
has your macro ?/tmp/floorplan/...
aryap
11/17/2020, 7:21 AM1763 Error: /openLANE_flow/designs/250_mac_tile/runs/debug/results/synthesis/mac_tile.synthesis.v, line 165106 syntax error, unexpected '.'.
mac_cluster #(
.MAC_ACC_WIDTH(32'sb00000000000000000000000000100000),
.MAC_CONF_WIDTH(32'sb00000000000000000000000000000100),
.MAC_INT_WIDTH(32'sb00000000000000000000000000101000),
.MAC_MIN_WIDTH(32'sb00000000000000000000000000001000),
.MAC_MULT_WIDTH(32'sb00000000000000000000000000010000)
) macaroni ( /* redacted */ );
tnt
11/17/2020, 7:40 AMaryap
11/17/2020, 7:42 AM