librelane 3.0.0.dev39__tar.gz → 3.0.0.dev40__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of librelane might be problematic. Click here for more details.
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/PKG-INFO +15 -15
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/Readme.md +2 -2
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/common/metrics/__main__.py +4 -3
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/config/variable.py +1 -1
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/flows/flow.py +4 -3
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/magic/drc.tcl +7 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/ioplacer.tcl +6 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/sta/check_macro_instances.tcl +1 -1
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/pyosys/synthesize.py +33 -7
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/pyosys/ys_common.py +10 -1
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/steps/magic.py +14 -1
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/steps/openroad.py +6 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/steps/pyosys.py +22 -1
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/steps/step.py +1 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/steps/verilator.py +37 -8
- librelane-3.0.0.dev40/pyproject.toml +73 -0
- librelane-3.0.0.dev39/pyproject.toml +0 -73
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/__init__.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/__main__.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/__version__.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/common/__init__.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/common/cli.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/common/drc.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/common/generic_dict.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/common/metrics/__init__.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/common/metrics/library.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/common/metrics/metric.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/common/metrics/util.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/common/misc.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/common/ring_buffer.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/common/tcl.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/common/toolbox.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/common/tpe.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/common/types.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/config/__init__.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/config/__main__.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/config/config.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/config/flow.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/config/pdk_compat.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/config/preprocessor.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/config/removals.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/container.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/env_info.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/examples/spm/config.yaml +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/examples/spm/pin_order.cfg +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/examples/spm/src/impl.sdc +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/examples/spm/src/signoff.sdc +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/examples/spm/src/spm.v +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/examples/spm/verify/spm_tb.v +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/examples/spm-user_project_wrapper/SPM_example.v +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/examples/spm-user_project_wrapper/base_sdc_file.sdc +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/examples/spm-user_project_wrapper/config-tut.json +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/examples/spm-user_project_wrapper/config.json +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/examples/spm-user_project_wrapper/defines.v +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/examples/spm-user_project_wrapper/template.def +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/examples/spm-user_project_wrapper/user_project_wrapper.v +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/flows/__init__.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/flows/builtins.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/flows/classic.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/flows/cli.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/flows/misc.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/flows/optimizing.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/flows/sequential.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/flows/synth_explore.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/help/__main__.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/logging/__init__.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/logging/logger.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/pdk_hashes.yaml +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/plugins.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/py.typed +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/base.sdc +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/klayout/Readme.md +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/klayout/open_design.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/klayout/render.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/klayout/stream_out.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/klayout/xml_drc_report_to_json.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/klayout/xor.drc +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/magic/Readme.md +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/magic/common/read.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/magic/def/antenna_check.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/magic/def/mag.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/magic/def/mag_gds.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/magic/extract_spice.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/magic/gds/drc_batch.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/magic/gds/erase_box.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/magic/gds/extras_mag.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/magic/gds/mag_with_pointers.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/magic/get_bbox.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/magic/lef/extras_maglef.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/magic/lef/maglef.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/magic/lef.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/magic/open.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/magic/wrapper.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/netgen/setup.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/odbpy/apply_def_template.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/odbpy/cell_frequency.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/odbpy/check_antenna_properties.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/odbpy/contextualize.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/odbpy/defutil.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/odbpy/diodes.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/odbpy/disconnected_pins.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/odbpy/eco_buffer.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/odbpy/eco_diode.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/odbpy/filter_unannotated.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/odbpy/io_place.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/odbpy/ioplace_parser/__init__.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/odbpy/ioplace_parser/parse.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/odbpy/label_macro_pins.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/odbpy/lefutil.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/odbpy/placers.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/odbpy/power_utils.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/odbpy/random_place.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/odbpy/reader.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/odbpy/remove_buffers.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/odbpy/snap_to_grid.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/odbpy/wire_lengths.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/antenna_check.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/antenna_repair.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/basic_mp.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/buffer_list.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/common/dpl.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/common/dpl_cell_pad.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/common/grt.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/common/io.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/common/pdn_cfg.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/common/resizer.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/common/set_global_connections.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/common/set_layer_adjustments.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/common/set_power_nets.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/common/set_rc.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/common/set_routing_layers.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/cts.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/cut_rows.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/dpl.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/drt.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/dump_rc.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/fill.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/floorplan.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/gpl.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/grt.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/gui.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/insert_buffer.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/irdrop.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/pdn.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/rcx.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/repair_design.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/repair_design_postgrt.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/rsz_timing_postcts.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/rsz_timing_postgrt.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/sta/corner.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/tapcell.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/ungpl.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/write_cdl.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/openroad/write_views.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/pyosys/construct_abc_script.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/pyosys/json_header.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/scripts/tclsh/hello.tcl +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/state/__init__.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/state/__main__.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/state/design_format.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/state/state.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/steps/__init__.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/steps/__main__.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/steps/checker.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/steps/common_variables.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/steps/cvc_rv.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/steps/klayout.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/steps/misc.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/steps/netgen.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/steps/odb.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/steps/openroad_alerts.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/steps/tclstep.py +0 -0
- {librelane-3.0.0.dev39 → librelane-3.0.0.dev40}/librelane/steps/yosys.py +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: librelane
|
|
3
|
-
Version: 3.0.0.
|
|
3
|
+
Version: 3.0.0.dev40
|
|
4
4
|
Summary: An infrastructure for implementing chip design flows
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Requires-Python: >=3.8.1,<4
|
|
10
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
5
|
+
License-Expression: Apache-2.0
|
|
6
|
+
Maintainer: Mohamed Gaber
|
|
7
|
+
Maintainer-email: me@donn.website
|
|
8
|
+
Requires-Python: >=3.10
|
|
11
9
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
13
10
|
Classifier: Programming Language :: Python :: 3.10
|
|
14
11
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
12
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
13
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
-
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
15
|
+
Requires-Dist: ciel (>=2.3.1,<3)
|
|
18
16
|
Requires-Dist: click (>=8,<8.2)
|
|
19
17
|
Requires-Dist: cloup (>=3.0.5,<4)
|
|
20
18
|
Requires-Dist: deprecated (>=1.2.10,<2)
|
|
21
19
|
Requires-Dist: httpx (>=0.22.0,<0.29)
|
|
22
|
-
Requires-Dist: klayout (>=0.29.0,<0.
|
|
20
|
+
Requires-Dist: klayout (>=0.29.0,<0.32.0)
|
|
23
21
|
Requires-Dist: lln-libparse (==0.56.*)
|
|
24
22
|
Requires-Dist: lxml (>=4.9.0)
|
|
25
23
|
Requires-Dist: psutil (>=5.9.0)
|
|
26
24
|
Requires-Dist: pyyaml (>=5,<7)
|
|
27
25
|
Requires-Dist: rapidfuzz (>=3.9.0,<4)
|
|
28
26
|
Requires-Dist: rich (>=12,<15)
|
|
29
|
-
Requires-Dist: semver (>=3.0.2,<4
|
|
30
|
-
Requires-Dist: yamlcore (>=0.0.2,<0.0
|
|
27
|
+
Requires-Dist: semver (>=3.0.2,<4)
|
|
28
|
+
Requires-Dist: yamlcore (>=0.0.2,<0.1.0)
|
|
29
|
+
Project-URL: Bug Tracker, https://github.com/librelane/librelane/issues
|
|
31
30
|
Project-URL: Documentation, https://librelane.readthedocs.io
|
|
31
|
+
Project-URL: Homepage, https://librelane.org/
|
|
32
32
|
Project-URL: Repository, https://github.com/librelane/librelane
|
|
33
33
|
Description-Content-Type: text/markdown
|
|
34
34
|
|
|
35
35
|
<h1 align="center">LibreLane</h1>
|
|
36
36
|
<p align="center">
|
|
37
37
|
<a href="https://opensource.org/licenses/Apache-2.0"><img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg" alt="License: Apache 2.0"/></a>
|
|
38
|
-
<a href="https://www.python.org"><img src="https://img.shields.io/badge/Python-3.
|
|
38
|
+
<a href="https://www.python.org"><img src="https://img.shields.io/badge/Python-3.10-3776AB.svg?style=flat&logo=python&logoColor=white" alt="Python ≥3.10" /></a>
|
|
39
39
|
<a href="https://github.com/psf/black"><img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Code Style: black"/></a>
|
|
40
40
|
<a href="https://mypy-lang.org/"><img src="https://www.mypy-lang.org/static/mypy_badge.svg" alt="Checked with mypy"/></a>
|
|
41
41
|
<a href="https://nixos.org/"><img src="https://img.shields.io/static/v1?logo=nixos&logoColor=white&label=&message=Built%20with%20Nix&color=41439a" alt="Built with Nix"/></a>
|
|
@@ -72,7 +72,7 @@ Colaboratory by following
|
|
|
72
72
|
|
|
73
73
|
You'll need the following:
|
|
74
74
|
|
|
75
|
-
* Python **3.
|
|
75
|
+
* Python **3.10** or higher with PIP, Venv and Tkinter
|
|
76
76
|
|
|
77
77
|
### Nix (Recommended)
|
|
78
78
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<h1 align="center">LibreLane</h1>
|
|
2
2
|
<p align="center">
|
|
3
3
|
<a href="https://opensource.org/licenses/Apache-2.0"><img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg" alt="License: Apache 2.0"/></a>
|
|
4
|
-
<a href="https://www.python.org"><img src="https://img.shields.io/badge/Python-3.
|
|
4
|
+
<a href="https://www.python.org"><img src="https://img.shields.io/badge/Python-3.10-3776AB.svg?style=flat&logo=python&logoColor=white" alt="Python ≥3.10" /></a>
|
|
5
5
|
<a href="https://github.com/psf/black"><img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Code Style: black"/></a>
|
|
6
6
|
<a href="https://mypy-lang.org/"><img src="https://www.mypy-lang.org/static/mypy_badge.svg" alt="Checked with mypy"/></a>
|
|
7
7
|
<a href="https://nixos.org/"><img src="https://img.shields.io/static/v1?logo=nixos&logoColor=white&label=&message=Built%20with%20Nix&color=41439a" alt="Built with Nix"/></a>
|
|
@@ -38,7 +38,7 @@ Colaboratory by following
|
|
|
38
38
|
|
|
39
39
|
You'll need the following:
|
|
40
40
|
|
|
41
|
-
* Python **3.
|
|
41
|
+
* Python **3.10** or higher with PIP, Venv and Tkinter
|
|
42
42
|
|
|
43
43
|
### Nix (Recommended)
|
|
44
44
|
|
|
@@ -358,9 +358,10 @@ def compare_remote(
|
|
|
358
358
|
for chunk in r.iter_bytes(chunk_size=8192):
|
|
359
359
|
bio_gz.write(chunk)
|
|
360
360
|
bio_gz.seek(0)
|
|
361
|
-
with
|
|
362
|
-
fileobj=bio,
|
|
363
|
-
|
|
361
|
+
with (
|
|
362
|
+
gzip.GzipFile(fileobj=bio_gz) as bio,
|
|
363
|
+
tarfile.TarFile(fileobj=bio, mode="r") as tf,
|
|
364
|
+
):
|
|
364
365
|
for file in tf:
|
|
365
366
|
if file.isdir():
|
|
366
367
|
continue
|
|
@@ -440,7 +440,7 @@ class Variable:
|
|
|
440
440
|
return_value = list()
|
|
441
441
|
raw = value
|
|
442
442
|
if isinstance(raw, list) or isinstance(raw, tuple):
|
|
443
|
-
if
|
|
443
|
+
if type_origin == list and type_args == (str,):
|
|
444
444
|
if any(isinstance(item, List) for item in raw):
|
|
445
445
|
Variable.__flatten_list(value)
|
|
446
446
|
pass
|
|
@@ -916,9 +916,10 @@ class Flow(ABC):
|
|
|
916
916
|
# Despite the name, this is the Magic DRC report simply
|
|
917
917
|
# converted into a KLayout-compatible format. Confusing!
|
|
918
918
|
drc_xml_out = os.path.join(openlane_signoff_dir, "drc.klayout.xml")
|
|
919
|
-
with
|
|
920
|
-
|
|
921
|
-
|
|
919
|
+
with (
|
|
920
|
+
open(drc_xml, encoding="utf8") as i,
|
|
921
|
+
open(drc_xml_out, "w", encoding="utf8") as o,
|
|
922
|
+
):
|
|
922
923
|
o.write(
|
|
923
924
|
"<!-- Despite the name, this is the Magic DRC report in KLayout format. -->\n"
|
|
924
925
|
)
|
|
@@ -12,6 +12,13 @@
|
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
|
|
15
|
+
# Flatten cells
|
|
16
|
+
if { [info exists ::env(MAGIC_GDS_FLATGLOB)] } {
|
|
17
|
+
foreach {gds_flatglob} $::env(MAGIC_GDS_FLATGLOB) {
|
|
18
|
+
gds flatglob $gds_flatglob
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
15
22
|
if { $::env(MAGIC_DRC_USE_GDS) } {
|
|
16
23
|
gds read $::env(CURRENT_GDS)
|
|
17
24
|
} else {
|
|
@@ -53,6 +53,12 @@ if { $::env(IO_PIN_PLACEMENT_MODE) == "annealing" } {
|
|
|
53
53
|
lappend arg_list -annealing
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
+
if { [info exists ::env(IO_EXCLUDE_PIN_REGION)] } {
|
|
57
|
+
foreach exclude $::env(IO_EXCLUDE_PIN_REGION) {
|
|
58
|
+
lappend arg_list -exclude $exclude
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
56
62
|
set HMETAL $::env(FP_IO_HLAYER)
|
|
57
63
|
set VMETAL $::env(FP_IO_VLAYER)
|
|
58
64
|
|
|
@@ -27,7 +27,7 @@ read_timing_info
|
|
|
27
27
|
|
|
28
28
|
set error_count 0
|
|
29
29
|
foreach {instance_name macro_name} $::env(_check_macro_instances) {
|
|
30
|
-
set instances [get_cells
|
|
30
|
+
set instances [get_cells $instance_name]
|
|
31
31
|
set instance_count [llength $instances]
|
|
32
32
|
if { $instance_count < 1 } {
|
|
33
33
|
puts stderr "\[ERROR\] No macro instance $instance_name found."
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
import os
|
|
35
35
|
import json
|
|
36
36
|
import shutil
|
|
37
|
+
from typing import List, Optional
|
|
37
38
|
|
|
38
39
|
import click
|
|
39
40
|
|
|
@@ -142,11 +143,37 @@ def librelane_opt(
|
|
|
142
143
|
|
|
143
144
|
|
|
144
145
|
def librelane_synth(
|
|
145
|
-
d,
|
|
146
|
+
d,
|
|
147
|
+
top,
|
|
148
|
+
flatten,
|
|
149
|
+
report_dir,
|
|
150
|
+
*,
|
|
151
|
+
booth=False,
|
|
152
|
+
abc_dff=False,
|
|
153
|
+
undriven=True,
|
|
154
|
+
keep_hierarchy_min_cost: Optional[int],
|
|
155
|
+
keep_hierarchy_instances: List[str],
|
|
156
|
+
keep_hierarchy_modules: List[str],
|
|
146
157
|
):
|
|
158
|
+
|
|
147
159
|
d.run_pass("hierarchy", "-check", "-top", top, "-nokeep_prints", "-nokeep_asserts")
|
|
148
160
|
librelane_proc(d, report_dir)
|
|
149
161
|
|
|
162
|
+
if keep_hierarchy_min_cost:
|
|
163
|
+
d.run_pass("keep_hierarchy", "-min_cost", str(keep_hierarchy_min_cost))
|
|
164
|
+
|
|
165
|
+
if keep_hierarchy_instances:
|
|
166
|
+
for keep_hierarchy_instance in keep_hierarchy_instances:
|
|
167
|
+
d.run_pass(
|
|
168
|
+
"setattr", "-set", "keep_hierarchy", "1", keep_hierarchy_instance
|
|
169
|
+
)
|
|
170
|
+
|
|
171
|
+
if keep_hierarchy_modules:
|
|
172
|
+
for keep_hierarchy_module in keep_hierarchy_modules:
|
|
173
|
+
d.run_pass(
|
|
174
|
+
"setattr", "-mod", "-set", "keep_hierarchy", "1", keep_hierarchy_module
|
|
175
|
+
)
|
|
176
|
+
|
|
150
177
|
if flatten:
|
|
151
178
|
d.run_pass("flatten") # Flatten the design hierarchy
|
|
152
179
|
|
|
@@ -294,12 +321,10 @@ def synthesize(
|
|
|
294
321
|
)
|
|
295
322
|
d.run_pass("rename", "-top", config["DESIGN_NAME"])
|
|
296
323
|
d.run_pass("select", "-module", config["DESIGN_NAME"])
|
|
297
|
-
|
|
324
|
+
if config["SYNTH_SHOW"]:
|
|
298
325
|
d.run_pass(
|
|
299
326
|
"show", "-format", "dot", "-prefix", os.path.join(step_dir, "hierarchy")
|
|
300
327
|
)
|
|
301
|
-
except Exception:
|
|
302
|
-
pass
|
|
303
328
|
if config["SYNTH_NORMALIZE_SINGLE_BIT_VECTORS"]:
|
|
304
329
|
d.run_pass("attrmap", "-remove", "single_bit_vector")
|
|
305
330
|
d.run_pass("select", "-clear")
|
|
@@ -356,12 +381,15 @@ def synthesize(
|
|
|
356
381
|
booth=config["SYNTH_MUL_BOOTH"],
|
|
357
382
|
abc_dff=config["SYNTH_ABC_DFF"],
|
|
358
383
|
undriven=config.get("SYNTH_TIE_UNDEFINED") is not None,
|
|
384
|
+
keep_hierarchy_min_cost=config["SYNTH_KEEP_HIERARCHY_MIN_COST"],
|
|
385
|
+
keep_hierarchy_instances=config["SYNTH_KEEP_HIERARCHY_INSTANCES"],
|
|
386
|
+
keep_hierarchy_modules=config["SYNTH_KEEP_HIERARCHY_MODULES"],
|
|
359
387
|
)
|
|
360
388
|
|
|
361
389
|
d.run_pass("delete", "t:$print")
|
|
362
390
|
d.run_pass("delete", "t:$assert")
|
|
363
391
|
|
|
364
|
-
|
|
392
|
+
if config["SYNTH_SHOW"]:
|
|
365
393
|
d.run_pass(
|
|
366
394
|
"show",
|
|
367
395
|
"-format",
|
|
@@ -369,8 +397,6 @@ def synthesize(
|
|
|
369
397
|
"-prefix",
|
|
370
398
|
os.path.join(step_dir, "primitive_techmap"),
|
|
371
399
|
)
|
|
372
|
-
except Exception:
|
|
373
|
-
pass
|
|
374
400
|
|
|
375
401
|
d.run_pass("opt")
|
|
376
402
|
d.run_pass("opt_clean", "-purge")
|
|
@@ -112,7 +112,14 @@ def _Design_add_blackbox_models(
|
|
|
112
112
|
|
|
113
113
|
if ext in [".v", ".sv", ".vh"]:
|
|
114
114
|
self.run_pass(
|
|
115
|
-
"read_verilog",
|
|
115
|
+
"read_verilog",
|
|
116
|
+
"-sv",
|
|
117
|
+
"-setattr",
|
|
118
|
+
"keep_hierarchy",
|
|
119
|
+
"-lib",
|
|
120
|
+
*include_args,
|
|
121
|
+
*define_args,
|
|
122
|
+
model,
|
|
116
123
|
)
|
|
117
124
|
elif ext in [".lib"]:
|
|
118
125
|
self.run_pass(
|
|
@@ -121,6 +128,8 @@ def _Design_add_blackbox_models(
|
|
|
121
128
|
"-ignore_miss_dir",
|
|
122
129
|
"-setattr",
|
|
123
130
|
"blackbox",
|
|
131
|
+
"-setattr",
|
|
132
|
+
"keep_hierarchy",
|
|
124
133
|
model,
|
|
125
134
|
)
|
|
126
135
|
else:
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
# Copyright 2025 LibreLane Contributors
|
|
2
|
+
#
|
|
3
|
+
# Adapted from OpenLane
|
|
4
|
+
#
|
|
1
5
|
# Copyright 2023 Efabless Corporation
|
|
2
6
|
#
|
|
3
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -389,7 +393,7 @@ class DRC(MagicStep):
|
|
|
389
393
|
name = "DRC"
|
|
390
394
|
long_name = "Design Rule Checks"
|
|
391
395
|
|
|
392
|
-
inputs = [DesignFormat.DEF, DesignFormat.GDS]
|
|
396
|
+
inputs = [DesignFormat.DEF.mkOptional(), DesignFormat.GDS]
|
|
393
397
|
outputs = []
|
|
394
398
|
|
|
395
399
|
config_vars = MagicStep.config_vars + [
|
|
@@ -399,6 +403,11 @@ class DRC(MagicStep):
|
|
|
399
403
|
"A flag to choose whether to run the Magic DRC checks on GDS or not. If not, then the checks will be done on the DEF view of the design, which is a bit faster, but may be less accurate as some DEF/LEF elements are abstract.",
|
|
400
404
|
default=True,
|
|
401
405
|
),
|
|
406
|
+
Variable(
|
|
407
|
+
"MAGIC_GDS_FLATGLOB",
|
|
408
|
+
Optional[List[str]],
|
|
409
|
+
"Flatten cells by name pattern on input. May be used to avoid false positive DRC errors. The strings may use standard shell-type glob patterns, with * for any length string match, ? for any single character match, \\ for special characters, and [] for matching character sets or ranges.",
|
|
410
|
+
),
|
|
402
411
|
]
|
|
403
412
|
|
|
404
413
|
def get_script_path(self):
|
|
@@ -408,6 +417,10 @@ class DRC(MagicStep):
|
|
|
408
417
|
reports_dir = os.path.join(self.step_dir, "reports")
|
|
409
418
|
mkdirp(reports_dir)
|
|
410
419
|
|
|
420
|
+
# Check that the DEF exists if needed
|
|
421
|
+
if not self.config["MAGIC_DRC_USE_GDS"]:
|
|
422
|
+
assert state_in.get(DesignFormat.DEF)
|
|
423
|
+
|
|
411
424
|
views_updates, metrics_updates = super().run(state_in, **kwargs)
|
|
412
425
|
|
|
413
426
|
report_path = os.path.join(reports_dir, "drc_violations.magic.rpt")
|
|
@@ -1213,6 +1213,12 @@ class IOPlacement(OpenROADStep):
|
|
|
1213
1213
|
Optional[Path],
|
|
1214
1214
|
"Points to the DEF file to be used as a template.",
|
|
1215
1215
|
),
|
|
1216
|
+
Variable(
|
|
1217
|
+
"IO_EXCLUDE_PIN_REGION",
|
|
1218
|
+
Optional[List[str]],
|
|
1219
|
+
"List of regions where pins cannot be placed. The regions are strings in the format `{edge}:{interval}` where edge is `top|bottom|left|right` and the interval is either `*` to exclude the entire edge or `{begin}-{end}` to exclude a part of the edge, where `begin` and `end` are either absolute distance values or themselves `*` to denote the very start or end of an edge.",
|
|
1220
|
+
units="µm",
|
|
1221
|
+
),
|
|
1216
1222
|
]
|
|
1217
1223
|
)
|
|
1218
1224
|
|
|
@@ -214,6 +214,12 @@ class PyosysStep(Step):
|
|
|
214
214
|
"A fully qualified IPVT corner to use during synthesis. If unspecified, the value for `DEFAULT_CORNER` from the PDK will be used.",
|
|
215
215
|
pdk=True,
|
|
216
216
|
),
|
|
217
|
+
Variable(
|
|
218
|
+
"SYNTH_SHOW",
|
|
219
|
+
bool,
|
|
220
|
+
"Generate a graphviz DOT file for the design. This will fail on a completely empty design.",
|
|
221
|
+
default=False,
|
|
222
|
+
),
|
|
217
223
|
]
|
|
218
224
|
|
|
219
225
|
@classmethod
|
|
@@ -444,7 +450,7 @@ class SynthesisCommon(VerilogStep):
|
|
|
444
450
|
Variable(
|
|
445
451
|
"SYNTH_HIERARCHY_MODE",
|
|
446
452
|
Literal["flatten", "deferred_flatten", "keep"],
|
|
447
|
-
"Affects how hierarchy is maintained throughout and after synthesis. 'flatten' flattens it during and after synthesis. 'deferred_flatten' flattens it after synthesis. 'keep' never flattens it. Please note that when using the Slang plugin, you need to pass '--keep-hierarchy' to `SLANG_ARGUMENTS` separately.",
|
|
453
|
+
"Affects how hierarchy is maintained throughout and after synthesis. 'flatten' flattens it during and after synthesis. 'deferred_flatten' flattens it after synthesis. 'keep' never flattens it. Please note that when using the Slang plugin, you need to pass '--keep-hierarchy' to `SLANG_ARGUMENTS` separately. To keep the hierarchy partially, use one of the flattening options and set the 'keep_hierarchy' attribute on instances or modules via: `SYNTH_KEEP_HIERARCHY_INSTANCES`, `SYNTH_KEEP_HIERARCHY_MODULES` or `SYNTH_KEEP_HIERARCHY_MIN_COST`.",
|
|
448
454
|
default="flatten",
|
|
449
455
|
deprecated_names=[
|
|
450
456
|
(
|
|
@@ -453,6 +459,21 @@ class SynthesisCommon(VerilogStep):
|
|
|
453
459
|
)
|
|
454
460
|
],
|
|
455
461
|
),
|
|
462
|
+
Variable(
|
|
463
|
+
"SYNTH_KEEP_HIERARCHY_MIN_COST",
|
|
464
|
+
Optional[int],
|
|
465
|
+
"Sets the 'keep_hierarchy' attribute on modules where the gate count is estimated to exceed the specified threshold. This prevents larger modules from being flattened. This variable only affects the design when 'flatten' is called through `SYNTH_HIERARCHY_MODE`.",
|
|
466
|
+
),
|
|
467
|
+
Variable(
|
|
468
|
+
"SYNTH_KEEP_HIERARCHY_INSTANCES",
|
|
469
|
+
Optional[List[str]],
|
|
470
|
+
"A list of instances for which to set the 'keep_hierarchy' attribute. This variable only affects the design when 'flatten' is called through `SYNTH_HIERARCHY_MODE`.",
|
|
471
|
+
),
|
|
472
|
+
Variable(
|
|
473
|
+
"SYNTH_KEEP_HIERARCHY_MODULES",
|
|
474
|
+
Optional[List[str]],
|
|
475
|
+
"A list of modules for which to set the 'keep_hierarchy' attribute. This variable only affects the design when 'flatten' is called through `SYNTH_HIERARCHY_MODE`.",
|
|
476
|
+
),
|
|
456
477
|
Variable(
|
|
457
478
|
"SYNTH_SHARE_RESOURCES",
|
|
458
479
|
bool,
|
|
@@ -1016,6 +1016,7 @@ class Step(ABC):
|
|
|
1016
1016
|
state_in: GenericDict[str, Any] = self.state_in.result().copy_mut()
|
|
1017
1017
|
for format_id in state_in:
|
|
1018
1018
|
format = DesignFormat.factory.get(format_id)
|
|
1019
|
+
assert format is not None
|
|
1019
1020
|
if format not in self.__class__.inputs and not (
|
|
1020
1021
|
format == DesignFormat.DEF
|
|
1021
1022
|
and DesignFormat.ODB
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
# Copyright 2025 LibreLane Contributors
|
|
2
|
+
#
|
|
3
|
+
# Adapted from OpenLane
|
|
4
|
+
#
|
|
1
5
|
# Copyright 2023 Efabless Corporation
|
|
2
6
|
#
|
|
3
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -84,6 +88,23 @@ class Lint(Step):
|
|
|
84
88
|
Optional[List[str]],
|
|
85
89
|
"Linter-specific preprocessor definitions; overrides VERILOG_DEFINES for the lint step if exists",
|
|
86
90
|
),
|
|
91
|
+
Variable(
|
|
92
|
+
"LINTER_DISABLE_WARNINGS",
|
|
93
|
+
Optional[List[str]],
|
|
94
|
+
"Warning codes that are passed to the linter to be disabled.",
|
|
95
|
+
default=["DECLFILENAME", "EOFNEWLINE"],
|
|
96
|
+
),
|
|
97
|
+
Variable(
|
|
98
|
+
"LINTER_DISABLE_WARNINGS_BLACKBOX",
|
|
99
|
+
Optional[List[str]],
|
|
100
|
+
"Warning codes that are passed to the linter to be disabled for all blackbox modules.",
|
|
101
|
+
default=["UNDRIVEN", "UNUSEDSIGNAL"],
|
|
102
|
+
),
|
|
103
|
+
Variable(
|
|
104
|
+
"LINTER_VLT",
|
|
105
|
+
Optional[Path],
|
|
106
|
+
"Path to a Verilator Configuration format file (`.vlt`) that is passed to the linter.",
|
|
107
|
+
),
|
|
87
108
|
]
|
|
88
109
|
|
|
89
110
|
def run(self, state_in: State, **kwargs) -> Tuple[ViewsUpdate, MetricsUpdate]:
|
|
@@ -149,11 +170,16 @@ class Lint(Step):
|
|
|
149
170
|
vlt_file = os.path.join(self.step_dir, "_deps.vlt")
|
|
150
171
|
with open(vlt_file, "w") as f:
|
|
151
172
|
f.write("`verilator_config\n")
|
|
152
|
-
|
|
153
|
-
|
|
173
|
+
if disable_warnings := self.config["LINTER_DISABLE_WARNINGS"]:
|
|
174
|
+
for warn in disable_warnings:
|
|
175
|
+
f.write(f"lint_off -rule {warn}\n")
|
|
176
|
+
|
|
154
177
|
for blackbox in blackboxes:
|
|
155
|
-
|
|
156
|
-
|
|
178
|
+
if disable_warnings_bb := self.config[
|
|
179
|
+
"LINTER_DISABLE_WARNINGS_BLACKBOX"
|
|
180
|
+
]:
|
|
181
|
+
for warn in disable_warnings_bb:
|
|
182
|
+
f.write(f'lint_off -rule {warn} -file "{blackbox}"\n')
|
|
157
183
|
|
|
158
184
|
extra_args.append("--Wno-fatal")
|
|
159
185
|
|
|
@@ -169,20 +195,23 @@ class Lint(Step):
|
|
|
169
195
|
for define in defines:
|
|
170
196
|
extra_args.append(f"+define+{define}")
|
|
171
197
|
|
|
198
|
+
if linter_vlt := self.config["LINTER_VLT"]:
|
|
199
|
+
extra_args.append(linter_vlt)
|
|
200
|
+
|
|
172
201
|
result = self.run_subprocess(
|
|
173
202
|
[
|
|
174
203
|
"verilator",
|
|
175
204
|
"--lint-only",
|
|
205
|
+
"--waiver-output",
|
|
206
|
+
os.path.join(self.step_dir, "_waivers_output.vlt"),
|
|
176
207
|
"--Wall",
|
|
177
|
-
"--Wno-DECLFILENAME",
|
|
178
|
-
"--Wno-EOFNEWLINE",
|
|
179
208
|
"--top-module",
|
|
180
209
|
self.config["DESIGN_NAME"],
|
|
181
210
|
vlt_file,
|
|
182
211
|
]
|
|
212
|
+
+ extra_args
|
|
183
213
|
+ blackboxes
|
|
184
|
-
+ self.config["VERILOG_FILES"]
|
|
185
|
-
+ extra_args,
|
|
214
|
+
+ self.config["VERILOG_FILES"],
|
|
186
215
|
env=env,
|
|
187
216
|
check=False,
|
|
188
217
|
)
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "librelane"
|
|
3
|
+
version = "3.0.0.dev40"
|
|
4
|
+
description = "An infrastructure for implementing chip design flows"
|
|
5
|
+
maintainers = [
|
|
6
|
+
{name = "Mohamed Gaber", email = "me@donn.website"}
|
|
7
|
+
]
|
|
8
|
+
readme = "Readme.md"
|
|
9
|
+
license = "Apache-2.0"
|
|
10
|
+
requires-python = ">=3.10"
|
|
11
|
+
dependencies = [
|
|
12
|
+
"click>=8,<8.2",
|
|
13
|
+
"cloup>=3.0.5,<4",
|
|
14
|
+
"pyyaml>=5,<7",
|
|
15
|
+
"rich>=12,<15",
|
|
16
|
+
"ciel>=2.3.1,<3",
|
|
17
|
+
"lxml>=4.9.0",
|
|
18
|
+
"deprecated>=1.2.10,<2",
|
|
19
|
+
"lln-libparse==0.56.*",
|
|
20
|
+
"psutil>=5.9.0",
|
|
21
|
+
"httpx>=0.22.0,<0.29",
|
|
22
|
+
"klayout>=0.29.0,<0.32.0",
|
|
23
|
+
"rapidfuzz>=3.9.0,<4",
|
|
24
|
+
"yamlcore>=0.0.2,<0.1.0",
|
|
25
|
+
"semver>=3.0.2,<4"
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
[project.urls]
|
|
29
|
+
homepage = "https://librelane.org/"
|
|
30
|
+
repository = "https://github.com/librelane/librelane"
|
|
31
|
+
documentation = "https://librelane.readthedocs.io"
|
|
32
|
+
"Bug Tracker" = "https://github.com/librelane/librelane/issues"
|
|
33
|
+
|
|
34
|
+
[dependency-groups]
|
|
35
|
+
|
|
36
|
+
lint = [
|
|
37
|
+
"black",
|
|
38
|
+
"flake8",
|
|
39
|
+
"flake8-pytest-style; python_version < '4'",
|
|
40
|
+
"mypy>=1.18.2",
|
|
41
|
+
"lxml-stubs",
|
|
42
|
+
"types-urllib3",
|
|
43
|
+
"types-typed-ast",
|
|
44
|
+
"types-six",
|
|
45
|
+
"types-setuptools",
|
|
46
|
+
"types-PyYAML",
|
|
47
|
+
"types-docutils",
|
|
48
|
+
"types-decorator",
|
|
49
|
+
"types-commonmark",
|
|
50
|
+
"types-colorama",
|
|
51
|
+
"types-Pygments",
|
|
52
|
+
"types-Deprecated",
|
|
53
|
+
"types-psutil",
|
|
54
|
+
]
|
|
55
|
+
test = [
|
|
56
|
+
"pytest",
|
|
57
|
+
"pytest-xdist",
|
|
58
|
+
"pytest-cov",
|
|
59
|
+
"pyfakefs",
|
|
60
|
+
"pillow"
|
|
61
|
+
]
|
|
62
|
+
|
|
63
|
+
[project.scripts]
|
|
64
|
+
librelane = "librelane.__main__:cli"
|
|
65
|
+
"librelane.steps" = "librelane.steps.__main__:cli"
|
|
66
|
+
"librelane.config" = "librelane.config.__main__:cli"
|
|
67
|
+
"librelane.state" = "librelane.state.__main__:cli"
|
|
68
|
+
"librelane.help" = "librelane.help.__main__:cli"
|
|
69
|
+
"librelane.env_info" = "librelane:env_info_cli"
|
|
70
|
+
|
|
71
|
+
[build-system]
|
|
72
|
+
requires = ["poetry-core>=2.0.0,<3"]
|
|
73
|
+
build-backend = "poetry.core.masonry.api"
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
[tool.poetry]
|
|
2
|
-
name = "librelane"
|
|
3
|
-
version = "3.0.0.dev39"
|
|
4
|
-
description = "An infrastructure for implementing chip design flows"
|
|
5
|
-
# Technically, maintainer. We cannot use the maintainers field until
|
|
6
|
-
# poetry-core>=2.0.0 which requires Python version 3.9+. This field does
|
|
7
|
-
# not imply primary authorship for the purposes of copyright.
|
|
8
|
-
authors = ["Mohamed Gaber <me@donn.website>"]
|
|
9
|
-
readme = "Readme.md"
|
|
10
|
-
license = "Apache-2.0"
|
|
11
|
-
repository = "https://github.com/librelane/librelane"
|
|
12
|
-
documentation = "https://librelane.readthedocs.io"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
[tool.poetry.dependencies]
|
|
16
|
-
python = ">=3.8.1,<4"
|
|
17
|
-
click = ">=8,<8.2"
|
|
18
|
-
cloup = ">=3.0.5,<4"
|
|
19
|
-
pyyaml = ">=5,<7"
|
|
20
|
-
rich = ">=12,<15"
|
|
21
|
-
ciel = ">=2.0.3,<3"
|
|
22
|
-
lxml = ">=4.9.0"
|
|
23
|
-
deprecated = ">=1.2.10,<2"
|
|
24
|
-
lln-libparse = "0.56.*"
|
|
25
|
-
psutil = ">=5.9.0"
|
|
26
|
-
httpx = ">=0.22.0,<0.29"
|
|
27
|
-
klayout = ">=0.29.0,<0.31.0"
|
|
28
|
-
rapidfuzz = ">=3.9.0,<4"
|
|
29
|
-
yamlcore = "^0.0.2"
|
|
30
|
-
semver = "^3.0.2"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
[tool.poetry.group.dev.dependencies]
|
|
34
|
-
wheel = "*"
|
|
35
|
-
black = ">=24.4.0,<25"
|
|
36
|
-
|
|
37
|
-
flake8 = ">=7"
|
|
38
|
-
flake8-pytest-style = "*"
|
|
39
|
-
|
|
40
|
-
mypy = ">=1.9.0,<1.10.0"
|
|
41
|
-
lxml-stubs = "*"
|
|
42
|
-
types-urllib3 = "*"
|
|
43
|
-
types-typed-ast = "*"
|
|
44
|
-
types-six = "*"
|
|
45
|
-
types-setuptools = "*"
|
|
46
|
-
types-PyYAML = "*"
|
|
47
|
-
types-docutils = "*"
|
|
48
|
-
types-decorator = "*"
|
|
49
|
-
types-commonmark = "*"
|
|
50
|
-
types-colorama = "*"
|
|
51
|
-
types-Pygments = "*"
|
|
52
|
-
types-Deprecated = "*"
|
|
53
|
-
types-psutil = "*"
|
|
54
|
-
|
|
55
|
-
pytest = "*"
|
|
56
|
-
pytest-xdist = "*"
|
|
57
|
-
pytest-cov = "*"
|
|
58
|
-
pyfakefs = ">=5.2.3,<6"
|
|
59
|
-
pillow = ">=10.0.1,<11"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
[tool.poetry.scripts]
|
|
63
|
-
openlane = "librelane.__main__:cli"
|
|
64
|
-
librelane = "librelane.__main__:cli"
|
|
65
|
-
"librelane.steps" = "librelane.steps.__main__:cli"
|
|
66
|
-
"librelane.config" = "librelane.config.__main__:cli"
|
|
67
|
-
"librelane.state" = "librelane.state.__main__:cli"
|
|
68
|
-
"librelane.help" = "librelane.help.__main__:cli"
|
|
69
|
-
"librelane.env_info" = "librelane:env_info_cli"
|
|
70
|
-
|
|
71
|
-
[build-system]
|
|
72
|
-
requires = ["poetry-core>=1.0.0"]
|
|
73
|
-
build-backend = "poetry.core.masonry.api"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|