Charly Meyer
06/18/2024, 4:06 PMMitch Bailey
06/18/2024, 6:04 PMlvs/<cell>/lvs_config.json
file.
You can also just run LVS with the make lvs-<cell>
target if there is a lvs/<cell>/lvs_config.json
file.
Verilog generally has references to standard cell libraries, so be sure to include those. Here’s the standard lvs_config.json
file for user_project_wrapper
.
{
"STD_CELL_LIBRARY": "sky130_fd_sc_hd",
"INCLUDE_CONFIGS": [
"$LVS_ROOT/tech/$PDK/lvs_config.base.json"
],
"TOP_SOURCE": "user_project_wrapper",
"TOP_LAYOUT": "$TOP_SOURCE",
"EXTRACT_FLATGLOB": [
""
],
"EXTRACT_ABSTRACT": [
""
],
"LVS_FLATTEN": [
""
],
"LVS_NOFLATTEN": [
""
],
"LVS_IGNORE": [
""
],
"LVS_SPICE_FILES": [
""
],
"LVS_VERILOG_FILES": [
"$UPRJ_ROOT/verilog/gl/user_proj_example.v",
"$UPRJ_ROOT/verilog/gl/user_project_wrapper.v"
],
"LAYOUT_FILE": "$UPRJ_ROOT/gds/user_project_wrapper.gds"
}
Mitch Bailey
06/18/2024, 6:05 PMCharly Meyer
06/19/2024, 1:33 PMCharly Meyer
06/19/2024, 1:33 PM