Hi, I made some updates to our MPW7 submission and...
# openlane
s
Hi, I made some updates to our MPW7 submission and when hardening the 'user_project_wrapper' I am getting an error on [STEP 5]. Below is the openlane.log, please let me know what the issue may be or if you need more information. Thank you!
[INFO]: Preparing LEF files for the nom corner...
[INFO]: Preparing LEF files for the min corner...
[INFO]: Preparing LEF files for the max corner...
[INFO]: Running Synthesis...
[INFO]: Running Single-Corner Static Timing Analysis...
[INFO]: Creating a netlist with power/ground pins.
[INFO]: Running Initial Floorplanning...
[INFO]: Extracting core dimensions...
[INFO]: Set CORE_WIDTH to 2908.58, CORE_HEIGHT to 3497.92.
[INFO]: Running IO Placement...
[INFO]: Applying DEF template. See log: /home/somasz/Documents/github/bitcoin_asic/openlane/user_project_wrapper/runs/22_10_10_21_16/logs/floorplan/4-apply_def_template.log
[INFO]: Performing Manual Macro Placement...
*[ERROR]*: during executing: "openroad -python /openlane/scripts/odbpy/manual_macro_place.py --output /home/somasz/Documents/github/bitcoin_asic/openlane/user_project_wrapper/runs/22_10_10_21_16/tmp/floorplan/4-io.macro_placement.def --input-lef /home/somasz/Documents/github/bitcoin_asic/openlane/user_project_wrapper/runs/22_10_10_21_16/tmp/merged.nom.lef --config /home/somasz/Documents/github/bitcoin_asic/openlane/user_project_wrapper/runs/22_10_10_21_16/tmp/placement/macro_placement.cfg /home/somasz/Documents/github/bitcoin_asic/openlane/user_project_wrapper/runs/22_10_10_21_16/tmp/floorplan/4-io.def --fixed |& tee /dev/null /home/somasz/Documents/github/bitcoin_asic/openlane/user_project_wrapper/runs/22_10_10_21_16/logs/placement/5-macro_placement.log"
*[ERROR]*: Exit code: 1
*[ERROR]*: Last 10 lines:
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/openlane/scripts/odbpy/manual_macro_place.py", line 105, in manual_macro_place
assert not macros, ("Macros not found:", macros)
AssertionError: ('Macros not found:', {'mprj': ['1175000', '1690000', 'N']})
child process exited abnormally
[INFO]: Saving current set of views in '../home/somasz/Documents/github/bitcoin_asic/openlane/user_project_wrapper/runs/22_10_10_21_16/results/final'...
[INFO]: Generating final set of reports...
[INFO]: Created manufacturability report at '../home/somasz/Documents/github/bitcoin_asic/openlane/user_project_wrapper/runs/22_10_10_21_16/reports/manufacturability.rpt'.
[INFO]: Created metrics report at '../home/somasz/Documents/github/bitcoin_asic/openlane/user_project_wrapper/runs/22_10_10_21_16/reports/metrics.csv'.
[INFO]: Saving runtime environment...
*[ERROR]*: Flow failed.
m
@Soma Hopefully I’m wrong, but it looks like the gds data that you submitted to mpw-7 is the default
user_project_wrapper
.
s
When I worked with Vijayan Krishnan, he was able to harden and pass precheck and the rest of our design is correct. Maybe the updated wrapper was not pushed but that should be able to get updated soon after this error is resolved.
m
It looks like it passed precheck, but the actual layout was the default
user_project_wrapper
- not your intended design. Looks like there were 11 other designs with the same problem in mpw-7. Take a look at the gds that you submitted to mpw-7. Does it match your intended design?
Your
verilog/gl/user_project_wrapper.v
was not created from the current
verilog/rtl/user_project_wrapper.v
.
verilog/rtl/user_project_wrapper.v
has
sha1_top_inst
but your
user_project_wrapper/config.tcl
contains
Copy code
mprj 1175 1690 N
mprj
was from the default
verilog/rtl/user_project_wrapper.v
s
@Mitch Bailey thanks for letting us now. I have updated the wrapper but I am not entirely sure that the wrapper config.tcl and macro.cfg are correct. Could you please clarify what exactly needs to go in the fields marked TODO and the macro.cfg?
m
You probably should change the
CLOCK_NET
to match the clock you’re actually using. I think you’ll also need to change
macro.cfg
to
sha1_top_inst
and its position and orientation.