chipsalliance / silicon-notebooks

Apache License 2.0
156 stars 28 forks source link

digital-inverter failed at "Conflicting values of RUN_CTS and CLOCK_TREE_SYNTH" #73

Open yjlou opened 1 year ago

yjlou commented 1 year ago

In the Run OpenLane Flow section, running the script failes:

%env PDK=gf180mcuC
!flow.tcl -design .

env: PDK=gf180mcuC
OpenLane 2023.07.25_2_g01e67230-conda
All rights reserved. (c) 2020-2022 Efabless Corporation and contributors.
Available under the Apache License, version 2.0. See the LICENSE file for more details.

[INFO]: Using configuration in 'config.json'...
[INFO]: PDK Root: /content/conda-env/share/pdk
[INFO]: Process Design Kit: gf180mcuC
[INFO]: Standard Cell Library: gf180mcu_fd_sc_mcu7t5v0
[INFO]: Optimization Standard Cell Library: gf180mcu_fd_sc_mcu7t5v0
[WARNING]: SYNTH_CAP_LOAD is now deprecated; use OUTPUT_CAP_LOAD instead.
[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 3. Setting GRT_REPAIR_ANTENNAS to 1
[WARNING]: CLOCK_TREE_SYNTH is now deprecated; use RUN_CTS instead.
[ERROR]: Conflicting values of RUN_CTS and CLOCK_TREE_SYNTH; please remove CLOCK_TREE_SYNTH from your design configurations

    while executing
"throw_error"
    (procedure "handle_deprecated_config" line 10)
    invoked from within
"handle_deprecated_config CLOCK_TREE_SYNTH RUN_CTS"
    (procedure "prep" line 223)
    invoked from within
"prep {*}$args"
    (procedure "run_non_interactive_mode" line 22)
    invoked from within
"run_non_interactive_mode {*}$argv"
    (file "/content/conda-env/share/openlane/flow.tcl" line 417)
    invoked from within
"source "$::env(CONDA_PREFIX)/share/openlane/flow.tcl""
    (file "/content/conda-env/bin/flow.tcl" line 2)

If I remove the CLOCK_TREE_SYNTH variable, it would cause another error (MAX_FANOUT_CONSTRAINT.. no such variable).