Closed yunuseryilmaz18 closed 9 months ago
It's looking for /home/yunus/caravel_user_project/dependencies/openlane_src/pdks/sky130A
when it should be looking for gf180mcuD
.
Do you have any environment variables set?
env | grep PDK
env | grep TAG
env | grep COMMIT
No, I didn't set them because they don't mention setting TAG and COMMIT variables. After seeing your comment, I set the PDK variable but the result didn't change.
Setting the variables can cause problems. I wanted you to check that they were not set.
We're on gfmpw-1c
now. Check that make setup
runs without errors.
I've switched to gfmpw-1c, set PDK variable and run make-setup
without errors. I run user_proj_example without errors but I still get the same error with my project.
Issue reproducible file: issue_reproducible.zip
I can confirm the issue using latest OpenROAD.
I started to take a look. I'm wondering why I see:
read_liberty -corner Typical pdk/gf180mcuD/libs.ref/gf180mcu_fd_sc_mcu9t5v0/liberty/gf180mcu_fd_sc_mcu9t5v0__tt_025C_5v00.lib
read_liberty -corner Typical pdk/gf180mcuD/libs.ref/gf180mcu_fd_sc_mcu7t5v0/liberty/gf180mcu_fd_sc_mcu7t5v0__tt_025C_5v00.lib
it appears you are loading both 9t & 7t libraries which seems odd. Is there a reason for that?
If I remove the 7t lib the crash is gone. I think you are loading it only for one corner which is triggering the issue. I'll put an error message in but I think the solution is just to drop the unneeded library.
@maliberty I'm using 9t cells for the design and if don't add a configuration variable about library, the flow gives an error about it can't find definition of the cell. What should I do to only call 9t cells? Does removing mean deleting from the system?
@kareefardi would you explain how to do it in OL as I'm not an expert.
It might be a flow error. Let me check what's happening.
@yunuseryilmaz18 can you share your design input configuration ?
@yunuseryilmaz18 I think if you also set STD_CELL_LIBRARY_OPT
to 9t the flow should avoid loading the 7t lib and avoid the crash above
Yes, it did solve. Thank you!
The confusing part for me is STD_CELL_LIBRARY_OPT
variable is STD_CELL_LIBRARY
in default. However, in my situation it wasn't. I was defining only STD_CELL_LIBRARY
.
The config file I used:
{
"DESIGN_NAME": "grid_clb",
"DESIGN_IS_CORE": 0,
"VERILOG_FILES": "dir::rtl/fabric_netlists.v",
"CLOCK_PERIOD": 300,
"CLOCK_PORT": "top_width_0_height_0_subtile_0__pin_clk_0_",
"STD_CELL_LIBRARY": "gf180mcu_fd_sc_mcu9t5v0",
"RUN_LINTER": 0,
"SYNTH_READ_BLACKBOX_LIB": 1
}
@kareefardi I think the defaults should be updated to only 9t
@yunuseryilmaz18 @maliberty I agree that this is confusing and shouldn't happen. I will work on a fix.
Description
Hello, I'm using the gfmpw-1b tagged version of the caravel-user-project to harden my macro. I got these crash errors in the Placement Resizer Design Optimizations step:
Expected Behavior
I was expecting to finish the flow without errors.
Environment report
Reproduction material
issue_reproducible.zip
Relevant log output