Haziq Rohail
12/02/2023, 9:39 PMMitch Bailey
12/02/2023, 11:05 PMuser_proj_example
is generated as a hard macro. The LEF header is
MACRO user_proj_example
CLASS BLOCK ;
FOREIGN user_proj_example ;
ORIGIN 0.000 0.000 ;
SIZE 2800.000 BY 1760.000 ;
Haziq Rohail
12/02/2023, 11:19 PMMitch Bailey
12/03/2023, 6:09 AMHaziq Rohail
12/03/2023, 9:45 AMMitch Bailey
12/03/2023, 11:01 AM"MACRO_PLACEMENT_CFG": "dir::macro.cfg",
and set the location in marcro.cfg
.Haziq Rohail
12/03/2023, 7:05 PMMitch Bailey
12/04/2023, 12:12 AMError: droute.tcl, 40 vector::_M_range_check: __n (which is 4) >= this->size() (which is 0)
is referring to your routing/blocking layers. 4 is probably the top routing/blocking layer and I suspect that it’s trying to find that in the list of routing/blocking layers which is empty.
I suppose it could happed if your PDK
was set improperly.
There should be a complete config file in openlane/user_project_wrapper/runs/user_project_wrapper/config.tcl
.
Can you share that?Haziq Rohail
12/04/2023, 1:10 AMMitch Bailey
12/04/2023, 1:25 AMRO_basic
file?Haziq Rohail
12/04/2023, 1:28 AMMitch Bailey
12/04/2023, 1:46 AMHaziq Rohail
12/04/2023, 1:53 AMHaziq Rohail
12/04/2023, 2:01 AMmake pdk
.
[INFO]: Using configuration in '../home/haziq/GFMPW_2023/WEST-1/openlane/user_project_wrapper/config.json'...
[INFO]: PDK Root: /home/haziq/GFMPW_2023/WEST-1/dependencies/pdks
[INFO]: Process Design Kit: gf180mcuD
[INFO]: Standard Cell Library: gf180mcu_fd_sc_mcu7t5v0
[INFO]: Optimization Standard Cell Library: gf180mcu_fd_sc_mcu7t5v0
[WARNING]: DIODE_INSERTION_STRATEGY is now deprecated; use GRT_REPAIR_ANTENNAS, DIODE_ON_PORTS and RUN_HEURISTIC_DIODE_INSERTION instead.
[INFO]: DIODE_INSERTION_STRATEGY set to 0. Setting GRT_REPAIR_ANTENNAS to 0
[INFO]: Run Directory: /home/haziq/GFMPW_2023/WEST-1/openlane/user_project_wrapper/runs/23_12_03_20_59
[INFO]: Saving runtime environment...
[INFO]: Preparing LEF files for the nom corner...
[INFO]: Preparing LEF files for the min corner...
[INFO]: Preparing LEF files for the max corner...
[STEP 1]
[INFO]: Running Synthesis (log: ../home/haziq/GFMPW_2023/WEST-1/openlane/user_project_wrapper/runs/23_12_03_20_59/logs/synthesis/1-synthesis.log)...
[STEP 2]
[INFO]: Running Single-Corner Static Timing Analysis (log: ../home/haziq/GFMPW_2023/WEST-1/openlane/user_project_wrapper/runs/23_12_03_20_59/logs/synthesis/2-sta.log)...
[INFO]: Creating a netlist with power/ground pins.
[STEP 3]
[INFO]: Running Initial Floorplanning (log: ../home/haziq/GFMPW_2023/WEST-1/openlane/user_project_wrapper/runs/23_12_03_20_59/logs/floorplan/3-initial_fp.log)...
[INFO]: Floorplanned with width 2955.68 and height 2951.76.
[STEP 4]
[INFO]: Running IO Placement (log: ../home/haziq/GFMPW_2023/WEST-1/openlane/user_project_wrapper/runs/23_12_03_20_59/logs/floorplan/4-place_io.log)...
[INFO]: Applying DEF template...
[STEP 5]
[INFO]: Performing Manual Macro Placement (log: ../home/haziq/GFMPW_2023/WEST-1/openlane/user_project_wrapper/runs/23_12_03_20_59/logs/placement/5-macro_placement.log)...
[INFO]: Power planning with power {vdd} and ground {vss}...
[STEP 6]
[INFO]: Generating PDN (log: ../home/haziq/GFMPW_2023/WEST-1/openlane/user_project_wrapper/runs/23_12_03_20_59/logs/floorplan/6-pdn.log)...
[STEP 7]
[INFO]: Performing Random Global Placement (log: ../home/haziq/GFMPW_2023/WEST-1/openlane/user_project_wrapper/runs/23_12_03_20_59/logs/placement/7-global.log)...
[INFO]: Skipping Placement Resizer Design Optimizations.
[STEP 8]
[INFO]: Running Detailed Placement (log: ../home/haziq/GFMPW_2023/WEST-1/openlane/user_project_wrapper/runs/23_12_03_20_59/logs/placement/8-detailed.log)...
[STEP 9]
[INFO]: Running Single-Corner Static Timing Analysis (log: ../home/haziq/GFMPW_2023/WEST-1/openlane/user_project_wrapper/runs/23_12_03_20_59/logs/placement/9-dpl_sta.log)...
[INFO]: Skipping Placement Resizer Timing Optimizations.
[INFO]: Skipping Global Routing Resizer Design Optimizations.
[INFO]: Skipping Global Routing Resizer Timing Optimizations.
[STEP 10]
[INFO]: Running Global Routing (log: ../home/haziq/GFMPW_2023/WEST-1/openlane/user_project_wrapper/runs/23_12_03_20_59/logs/routing/10-global.log)...
[STEP 11]
[INFO]: Writing Verilog (log: ../home/haziq/GFMPW_2023/WEST-1/openlane/user_project_wrapper/runs/23_12_03_20_59/logs/routing/10-global_write_netlist.log)...
[STEP 12]
[INFO]: Running Single-Corner Static Timing Analysis (log: ../home/haziq/GFMPW_2023/WEST-1/openlane/user_project_wrapper/runs/23_12_03_20_59/logs/routing/12-grt_sta.log)...
[STEP 13]
[INFO]: Running Detailed Routing (log: ../home/haziq/GFMPW_2023/WEST-1/openlane/user_project_wrapper/runs/23_12_03_20_59/logs/routing/13-detailed.log)...
[ERROR]: during executing openroad script /openlane/scripts/openroad/droute.tcl
[ERROR]: Log: ../home/haziq/GFMPW_2023/WEST-1/openlane/user_project_wrapper/runs/23_12_03_20_59/logs/routing/13-detailed.log
[ERROR]: Last 10 lines:
---------- Metal5 ----------
numOverConGCell: 0, %OverConGCell: 0.00%
[WARNING DRT-0203] dbGcellGrid already exists in db. Clearing existing dbGCellGrid.
Number of guides: 0
[INFO DRT-0181] Start track assignment.
Error: droute.tcl, 40 vector: M range check __n (which is 4) >= this->size() (which is 0)
child process exited abnormally
[ERROR]: Creating issue reproducible...
[INFO]: Saving runtime environment...
OpenLane TCL Issue Packager
EFABLESS CORPORATION AND ALL AUTHORS OF THE OPENLANE PROJECT SHALL NOT BE HELD
LIABLE FOR ANY LEAKS THAT MAY OCCUR TO ANY PROPRIETARY DATA AS A RESULT OF USING
THIS SCRIPT. THIS SCRIPT IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND.
BY USING THIS SCRIPT, YOU ACKNOWLEDGE THAT YOU FULLY UNDERSTAND THIS DISCLAIMER
AND ALL IT ENTAILS.
Parsing config file(s)…
Setting up /home/haziq/GFMPW_2023/WEST-1/openlane/user_project_wrapper/runs/23_12_03_20_59/issue_reproducible…
Done.
[INFO]: Reproducible packaged at '../home/haziq/GFMPW_2023/WEST-1/openlane/user_project_wrapper/runs/23_12_03_20_59/issue_reproducible'.
cp: cannot stat './user_project_wrapper/runs/user_project_wrapper/reports/*.csv': No such file or directory
make[1]: * [Makefile83 user_project_wrapper] Error 1
make[1]: Leaving directory '/home/haziq/GFMPW_2023/WEST-1/openlane'
make: * [Makefile123 user_project_wrapper] Error 2Haziq Rohail
12/04/2023, 2:02 AMMitch Bailey
12/04/2023, 2:18 AMMitch Bailey
12/04/2023, 2:20 AMSYNTH_ELABORATE_ONLY
.Mitch Bailey
12/04/2023, 2:23 AMopenlane/user_project_wrapper/config.json
file again?Haziq Rohail
12/04/2023, 2:24 AMHaziq Rohail
12/04/2023, 2:28 AMMitch Bailey
12/04/2023, 3:37 AMverilog/rtl/user_project_wrapper.v
and verilog/gl/RO_basic.v
?Haziq Rohail
12/04/2023, 4:49 AMMitch Bailey
12/04/2023, 4:58 AM.VSS(vss),
in user_project_wrapper.v
?
RO_basic mprj(
`ifdef USE_POWER_PINS
.VDD(vdd), // User area 1 1.8V power
.VSS(vss), // User area 1 digital ground
`endif
);
Haziq Rohail
12/04/2023, 5:07 AMHaziq Rohail
12/04/2023, 5:07 AMMitch Bailey
12/04/2023, 12:43 PMlogs/routing/13-detailed.log
, you might try logging an issue on the openroad repo.