From 08f2bb7cda0438704334d07bf4c5a5349ee00194 Mon Sep 17 00:00:00 2001 From: Vitor Bandeira Date: Mon, 21 Sep 2026 13:47:41 -0300 Subject: [PATCH 1/7] feat(metadata): gate make metadata-check on the QoR dashboard The committed rules-.json files hold absolute limits. Someone must regenerate them by hand after each accepted QoR change. The QoR dashboard already holds one rule per metric and design and compares a run against the latest master build. Jenkins has gated on that check since 2026-09-14, so the rules files duplicate the work and drift. `make metadata-check` now runs checkQorMetrics.py on $(REPORTS_DIR)/metadata.json. The script gets a single-run mode (--metadata, --only-prefix, --strict) and ends its log with `QoR check: PASS|FAIL|INCONCLUSIVE`. Only a failed rule returns exit code 1. An unreachable dashboard or a design without a baseline does not fail the target unless --strict is set. `make metadata-synth` sends only the synth__ and constraints__ metrics. checkMetadata.py, update_rules, and the rules files stay for bazel-orfs and for `make metadata-check-rules`. Remove them after bazel-orfs stops reading them. Signed-off-by: Vitor Bandeira --- docs/contrib/Metrics.md | 135 ++++++++++++------------- flow/util/checkQorMetrics.py | 188 +++++++++++++++++++++++++++-------- flow/util/utils.mk | 42 +++++--- 3 files changed, 238 insertions(+), 127 deletions(-) diff --git a/docs/contrib/Metrics.md b/docs/contrib/Metrics.md index 477a4c209e..fc85f67f0f 100644 --- a/docs/contrib/Metrics.md +++ b/docs/contrib/Metrics.md @@ -5,57 +5,26 @@ repository contains source files (e.g., LEF/DEF, Verilog, SDC, Liberty, RC extraction) and configuration files (e.g. `config.mk`) that enable the user to run a small set of example designs through our complete RTL-to-GDS flow. -To keep track of the quality of the results, each design directory holds a -rules file that gates the flow: - -``` text -flow/designs///rules-base.json -``` - -The file name comes from `RULES_JSON`, defined in -[`flow/util/utils.mk`](https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/blob/master/flow/util/utils.mk): - -``` makefile -export RULES_JSON ?= $(DESIGN_DIR)/rules-$(FLOW_VARIANT).json -``` - -`FLOW_VARIANT` defaults to `base`, which is why the committed file is -`rules-base.json`. A run with a non-default `FLOW_VARIANT` looks for -`rules-.json`, or you can point `RULES_JSON` at any file explicitly. - -Each entry in the rules file is a metric name, a reference value, and a -comparison operator. For example: - -``` json -{ - "synth__design__instance__area__stdcell": { - "value": 43.1, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - } -} -``` - -An entry may also carry `"level": "warning"`, which reports a mismatch without -failing the build. +To keep track of the quality of the results, every CI run uploads its metrics +to the [QoR dashboard](https://dashboard.precisioninno.com). The dashboard +stores one rule per tracked metric and design (a comparison direction and a +tolerance), and judges a run against a real baseline build: the latest +`master` build by default. That check is the QoR gate in `make metadata`. The values a run is measured against are collected by `flow/util/genMetrics.py` into `$(REPORTS_DIR)/metadata.json` (`reports////metadata.json`). That file is generated -output — it is not committed. `flow/util/checkMetadata.py` compares it against -the rules file. +output — it is not committed. `flow/util/checkQorMetrics.py` sends its numeric +values to the dashboard and reports the verdict. -## Checking against the rules +## Checking against the dashboard The evaluation checks key metrics (e.g., worst slack, number of DRCs) to ensure that changes do not degrade the results. After you make a significant change — e.g., fixing a bug in a piece of code, or changing a configuration variable such as `PLACE_DENSITY` — review the results -and compare them against the rules. To perform the check, run: +and compare them against the baseline. To perform the check, run: ``` shell cd OpenROAD-flow-scripts/flow @@ -64,56 +33,75 @@ make [clean_metadata] metadata ``` `make metadata` runs three steps in order: `finish` (the full flow), -`metadata-generate` (write `metadata.json`), and `metadata-check` (compare it -against `RULES_JSON`). The check log is written to -`$(REPORTS_DIR)/metadata-check.log`. +`metadata-generate` (write `metadata.json`), and `metadata-check` (send it to +the dashboard). The check log is written to +`$(REPORTS_DIR)/metadata-check.log`. It lists every failed rule with the +baseline value, the current value, the limit, and the delta, and ends with a +`QoR check: PASS`, `FAIL`, or `INCONCLUSIVE` line. -If you only changed synthesis, you can gate a synthesis-only run against the -synthesis subset of the same rules file, without running the rest of the flow: +A `FAIL` verdict fails the target. An `INCONCLUSIVE` verdict does not: the +dashboard had no baseline for the design, evaluated nothing, or could not be +reached, so the check did not run. Read the `[WARN]` lines to see which. +Pass `--strict` to `checkQorMetrics.py` to get distinct exit codes instead +(2 inconclusive, 3 unreachable). -``` shell -make metadata-synth -``` +Two environment variables shape the comparison: -If the check reports any error, review it to make sure the change in metrics is -expected and justifiable. If so, proceed to the next section to update the -reference values. +- `DASHBOARD_API_KEY` grants access to private platforms. Without it, a + private design reports as inconclusive, not as an authentication error. +- `DASHBOARD_JOB_NAME` names the Jenkins pipeline whose `master` builds are the + baseline. The default is `OpenROAD-flow-scripts-Public`. -## Update process +If you only changed synthesis, you can gate a synthesis-only run, without +running the rest of the flow. Only the `synth__` and `constraints__` metrics +are sent, so only their rules are evaluated: -Updating the rules file is mandatory if a metric became worse than the value -allowed by `rules-base.json` (see the previous section on how to perform the -check). It is also a good idea to update it when your change improves a metric, -so that the improvement is not silently lost later. +``` shell +make metadata-synth +``` -To update the rules file for a design, from a tree that has just been measured -(so `metadata.json` exists): +To check every run under `reports/` at once, or to pin the baseline to a +specific commit, call the script directly: ``` shell cd OpenROAD-flow-scripts/flow -make update_ok +./util/checkQorMetrics.py # sweep, log in reports/inline-check.log +./util/checkQorMetrics.py --base-commit # pin the baseline build +./util/checkQorMetrics.py --verbose # show passing rules too ``` -`update_ok` is an alias for `update_rules`. It runs `flow/util/genRuleFile.py` -with `--failing --tighten`, which: +If the check reports a failed rule, review it to make sure the change in +metrics is expected and justifiable. If so, say so in the pull request: the +baseline moves with `master`, so a merged change becomes the new baseline +without a file update. Rule tolerances live in the dashboard, not in this +repository. -- relaxes rules the current run fails, using the measured value plus a margin, - so that small run-to-run variation does not break the flow; and -- tightens rules the current run passes by a wide margin, so improvements are - locked in. +## Legacy rules files (`rules-.json`) -The new file is written to `$(REPORTS_DIR)/rules.json` and then copied over -`$(RULES_JSON)` — that copy is the file you commit. +Before the dashboard check, each design directory held a rules file with +absolute limits, regenerated by hand: -If you need to overwrite every rule from the current run rather than only the -failing and improved ones, use: +``` text +flow/designs///rules-base.json +``` + +`flow/util/checkMetadata.py` compares `metadata.json` against that file. +These files still exist and are still read by +[bazel-orfs](https://github.com/The-OpenROAD-Project/bazel-orfs) test +targets, but nothing in `make metadata` reads them. To run the legacy check +or refresh a rules file: ``` shell -make update_rules_force +cd OpenROAD-flow-scripts/flow +make metadata-check-rules # compare against $(RULES_JSON), log in metadata-check-rules.log +make update_ok # rewrite $(RULES_JSON) from the current metadata.json +make update_rules_force # overwrite every rule, not only failing and improved ones ``` -This runs `genRuleFile.py --update`. Prefer `make update_ok`; use the forced -variant only when the metric set itself changed. +`RULES_JSON` defaults to `$(DESIGN_DIR)/rules-$(FLOW_VARIANT).json`. +`update_ok` is an alias for `update_rules`; it runs `flow/util/genRuleFile.py` +with `--failing --tighten`, which relaxes rules the current run fails and +tightens rules it passes by a wide margin. ## Reference metadata (`metadata--ok.json`) @@ -128,5 +116,4 @@ This copies the current `metadata.json` next to the design as `metadata-$(FLOW_VARIANT)-ok.json`. It is **not** what gates the flow — nothing in `make metadata` reads it. It is consumed only by `flow/util/genReportTable.py` when building the golden-vs-current report table, -and almost no design commits one. Update the rules file, not this one, unless -you are specifically working on that report. +and almost no design commits one. diff --git a/flow/util/checkQorMetrics.py b/flow/util/checkQorMetrics.py index 43dd7ad635..b76f0ca4ae 100755 --- a/flow/util/checkQorMetrics.py +++ b/flow/util/checkQorMetrics.py @@ -1,27 +1,34 @@ #!/usr/bin/env python3 """ -Checks every design under ./reports against the QoR dashboard's rules +Checks flow metrics against the QoR dashboard's rules (https://dashboard.precisioninno.com). -This is the CI inline check, run against a local flow: it sweeps -reports////metadata.json, POSTs each run's numeric -metrics to the dashboard, and reports which rules a local change would fail. +The check POSTs a run's numeric metrics from metadata.json to the dashboard, +which compares them against a real baseline build -- the latest master build +by default -- using the thresholds it stores in rule_configs. This is the QoR +gate behind `make metadata`. It replaced checkMetadata.py, which compared +against committed designs///rules-.json goldens: +absolute values a human regenerated at some point, so a metric moving with +master showed up as a failure against a stale golden. -It differs from checkMetadata.py in what it compares against. checkMetadata.py -uses the committed designs///rules-.json goldens, -which are absolute values a human regenerated at some point. This uses the -metric values of a real baseline build -- the latest master build by default -- -and the thresholds the dashboard stores in rule_configs. So a metric moving with -master does not show up here, while it does against a stale golden. +Two modes: -Run it via: + # One run, as `make metadata-check` calls it. --platform and --design name + # the run for the dashboard; --variant defaults to base. + ./util/checkQorMetrics.py --metadata reports/asap7/gcd/base/metadata.json \ + -p asap7 -d gcd + + # Sweep every reports////metadata.json. export DASHBOARD_API_KEY=plt_... # optional; needed for private platforms - make metadata # or make DESIGN_CONFIG=... metadata ./util/checkQorMetrics.py -Exit status is always 0. This reports, it does not gate: it talks to a network -service whose availability is not the developer's problem, and a QoR opinion -from a remote baseline should not be able to break a local build. +Exit status: 1 when the dashboard reports a failed rule for any checked run, +0 otherwise. A run the dashboard could not judge -- no baseline, nothing +evaluated, or the service unreachable -- is reported as a warning and does not +fail the check: the check did not run, which is not the same as failing it. +--strict turns those into exit 2 (inconclusive) and 3 (unreachable) for a CI +caller that wants to tell them apart. A missing or unreadable --metadata file +is a usage error and exits 1. """ import argparse @@ -133,8 +140,13 @@ def find_runs(reports_dir): return runs, missing -def load_metadata(path): - """Returns (metrics, commit_sha). Metrics is empty if the file is unusable.""" +def load_metadata(path, only_prefix=None): + """Returns (metrics, commit_sha). Metrics is empty if the file is unusable. + + only_prefix keeps just the metrics whose name starts with one of the given + prefixes. The dashboard evaluates only the metrics it receives, so sending + the synth__ subset gates a synthesis-only run without a separate rule set. + """ try: with open(path, encoding="utf-8") as metadata_file: raw = json.load(metadata_file) @@ -160,6 +172,13 @@ def load_metadata(path): # reported metric count honest. metrics = {key: value for key, value in metrics.items() if "__iter__" not in key} + if only_prefix: + metrics = { + key: value + for key, value in metrics.items() + if any(key.startswith(prefix) for prefix in only_prefix) + } + commit = str(raw.get(COMMIT_KEY, "")) return metrics, commit if SHA_RE.match(commit) else "" @@ -204,7 +223,7 @@ def post_check(endpoint, api_key, payload): return None, f"{error_message} (after {RETRY_ATTEMPTS} attempts)" -def check_run(run, endpoint, api_key, base_commit, job_name): +def check_run(run, endpoint, api_key, base_commit, job_name, only_prefix=None): """Checks one (platform, design, variant) and returns a result dict.""" platform, design, variant, metadata_path = run result = { @@ -219,10 +238,10 @@ def check_run(run, endpoint, api_key, base_commit, job_name): # One run's surprise must not take down the sweep: this is called from a # thread pool, so an escaping exception would surface out of pool.map and - # break the always-0 exit the module docstring promises. Report it as this - # run's error and let the other runs finish. + # skip the report for every other run. Report it as this run's error and let + # the other runs finish; exit_code() turns it into the documented status. try: - metrics, commit = load_metadata(metadata_path) + metrics, commit = load_metadata(metadata_path, only_prefix) if not metrics: result["error"] = f"no numeric metrics in {metadata_path}" return result @@ -378,9 +397,46 @@ def summarize(results): lines.append(f"[ERROR] Failing runs: {', '.join(sorted(failing))}") else: lines.append("[INFO] No run failed a QoR dashboard rule.") + + # Last line, fixed vocabulary: a log classifier (Jenkins reads + # metadata-check.log) matches this instead of the counts above. + lines.append(f"QoR check: {verdict(results)}") return lines +def verdict(results): + """Overall verdict for a set of runs: FAIL, PASS, or INCONCLUSIVE. + + FAIL wins over everything: one failed rule is a regression no matter how the + other runs did. PASS needs every run to have passed. Anything else -- no + baseline, nothing evaluated, a request that never got an answer -- is + INCONCLUSIVE: the check did not run for at least one run. + """ + statuses = {result["status"] for result in results} + if "fail" in statuses: + return "FAIL" + if statuses == {"pass"}: + return "PASS" + return "INCONCLUSIVE" + + +def exit_code(results, strict): + """Maps the results to the process exit status. + + 1 on FAIL. 0 on PASS. INCONCLUSIVE is 0 unless strict, where a run the + service never answered (status 'error') is 3 and any other inconclusive + outcome is 2, matching the contract the Jenkins inline check uses. + """ + overall = verdict(results) + if overall == "FAIL": + return 1 + if overall == "PASS" or not strict: + return 0 + if any(result["status"] == "error" for result in results): + return 3 + return 2 + + def write_log(lines): """Saves the report, replacing whatever an earlier sweep left behind. @@ -421,19 +477,40 @@ def parse_args(argv): "secure/private branch whose master-equivalent builds elsewhere, e.g. " "OpenROAD-flow-scripts-Private.", ) + parser.add_argument( + "--metadata", + "-m", + help="Check this one metadata.json instead of sweeping reports/. " + "Requires --platform and --design to name the run for the dashboard.", + ) + parser.add_argument( + "--only-prefix", + nargs="+", + default=None, + metavar="PREFIX", + help="Send only metrics whose name starts with one of these prefixes, " + "e.g. synth__ constraints__ to gate a synthesis-only run.", + ) + parser.add_argument( + "--strict", + action="store_true", + help="Exit 2 when a run is inconclusive and 3 when the dashboard was " + "unreachable, instead of 0 with a warning.", + ) parser.add_argument( "--platform", "-p", - help="Only check this platform.", + help="Only check this platform. With --metadata: the run's platform.", ) parser.add_argument( "--design", "-d", - help="Only check this design.", + help="Only check this design. With --metadata: the run's design.", ) parser.add_argument( "--variant", - help="Only check this flow variant.", + help="Only check this flow variant. With --metadata: the run's variant " + "(default: base).", ) parser.add_argument( "--jobs", @@ -447,19 +524,23 @@ def parse_args(argv): action="store_true", help="Report every rule-checked metric, not only the failing ones.", ) - return parser.parse_args(argv) - + args = parser.parse_args(argv) + if args.metadata and not (args.platform and args.design): + parser.error("--metadata requires --platform and --design") + return args -def run_check(argv=None): - args = parse_args(argv) - endpoint = (BETA_API_URL if args.beta else API_URL) + CHECK_PATH - api_key = os.environ.get("DASHBOARD_API_KEY", "") +def sweep_runs(args): + """Returns (runs, header) for sweep mode, or (None, header) with nothing to do. + The header carries the warnings for run directories without a metadata.json, + built after the --platform/--design/--variant filter so a scoped sweep does + not warn about designs it was never asked to check. + """ reports_dir = REPORTS_FOLDER if not os.path.isdir(reports_dir): print(f"[ERROR] No reports directory at {reports_dir}. Run the flow first.") - return 0 + return None, [] runs, missing = find_runs(reports_dir) @@ -475,9 +556,6 @@ def selected(entry): runs = [run for run in runs if selected(run)] missing = [entry for entry in missing if selected(entry)] - # Built after filtering, so a scoped run does not warn about designs it was - # never asked to check, and carried in the header rather than printed in the - # walk, so the saved report also shows what could not be checked. header = [ f"[WARN] No {METADATA_FILENAME} for {platform} {design} {variant}." for platform, design, variant in missing @@ -491,7 +569,31 @@ def selected(entry): for line in header: print(line) write_log(header) - return 0 + return None, header + + return runs, header + + +def run_check(argv=None): + args = parse_args(argv) + + endpoint = (BETA_API_URL if args.beta else API_URL) + CHECK_PATH + api_key = os.environ.get("DASHBOARD_API_KEY", "") + + if args.metadata: + # Single-run mode: the caller (make metadata-check) names the run and + # tees stdout into its own log, so no sweep log is written here. + if not os.path.isfile(args.metadata): + print(f"[ERROR] No {args.metadata}. Run `make metadata-generate` first.") + return 1 + runs = [(args.platform, args.design, args.variant or "base", args.metadata)] + header = [] + else: + runs, header = sweep_runs(args) + if runs is None: + # Nothing to check is not a failed check. Strict callers get the + # inconclusive code so CI can tell "no reports" from a pass. + return 2 if args.strict else 0 # Printed now so a long sweep is not silent, and kept for the log file: a # saved report is unreadable without knowing which deployment answered it and @@ -504,6 +606,9 @@ def selected(entry): ) if args.base_commit: header.append(f"[INFO] Baseline pinned to commit {args.base_commit}") + if args.only_prefix: + prefixes = " ".join(args.only_prefix) + header.append(f"[INFO] Sending only metrics prefixed {prefixes}") for line in header: print(line) @@ -514,7 +619,12 @@ def selected(entry): results = list( pool.map( lambda run: check_run( - run, endpoint, api_key, args.base_commit, args.job_name + run, + endpoint, + api_key, + args.base_commit, + args.job_name, + args.only_prefix, ), runs, ) @@ -528,10 +638,10 @@ def selected(entry): for line in body: print(line) - write_log(header + body) + if not args.metadata: + write_log(header + body) - # Always 0. See the module docstring. - return 0 + return exit_code(results, args.strict) if __name__ == "__main__": diff --git a/flow/util/utils.mk b/flow/util/utils.mk index c3b56a1e78..e5eec633b5 100644 --- a/flow/util/utils.mk +++ b/flow/util/utils.mk @@ -4,13 +4,11 @@ metadata: finish metadata-generate metadata-check # Synthesis-only metadata: generate and check QoR after just the synth -# stage, without running the full flow. The synthesis-stage subset of -# the design's regular rules file gates the run, so no per-variant -# rules file needs to be committed. Sequential sub-makes rather than -# prerequisites: each step consumes the previous one's outputs, which -# plain prerequisites would race under make -j. +# stage, without running the full flow. Only the synthesis-stage metrics +# are sent to the dashboard, which evaluates just those. Sequential +# sub-makes rather than prerequisites: each step consumes the previous +# one's outputs, which plain prerequisites would race under make -j. .PHONY: metadata-synth -metadata-synth: export RULES_JSON = $(DESIGN_DIR)/rules-base.json metadata-synth: $(MAKE) synth $(MAKE) metadata-generate @@ -29,25 +27,41 @@ metadata-generate: -o $(REPORTS_DIR)/metadata.json 2>&1 \ | tee $(abspath $(REPORTS_DIR)/metadata-generate.log) -export RULES_JSON ?= $(DESIGN_DIR)/rules-$(FLOW_VARIANT).json - +# The QoR gate: metadata.json against the latest master build on the QoR +# dashboard, using the dashboard's rule configs. Set DASHBOARD_API_KEY for +# a private platform and DASHBOARD_JOB_NAME when the baseline pipeline is +# not OpenROAD-flow-scripts-Public. A failed rule fails the target; an +# unreachable dashboard or a design without a baseline only warns. +# The legacy rules-file check is `make metadata-check-rules`. .PHONY: metadata-check metadata-check: - $(PYTHON_EXE) $(UTILS_DIR)/checkMetadata.py \ + $(PYTHON_EXE) $(UTILS_DIR)/checkQorMetrics.py \ -m $(REPORTS_DIR)/metadata.json \ - -r $(RULES_JSON) 2>&1 \ + -p $(PLATFORM) -d $(DESIGN_NICKNAME) --variant $(FLOW_VARIANT) 2>&1 \ | tee $(abspath $(REPORTS_DIR)/metadata-check.log) -# Check only the synthesis-stage subset of RULES_JSON, so a -# synthesis-only run can be gated by the design's full-flow rules file. +# Send only the synthesis-stage metrics, so a synthesis-only run is gated +# by the rules the dashboard holds for those metrics. .PHONY: metadata-check-synth metadata-check-synth: - $(PYTHON_EXE) $(UTILS_DIR)/checkMetadata.py \ + $(PYTHON_EXE) $(UTILS_DIR)/checkQorMetrics.py \ -m $(REPORTS_DIR)/metadata.json \ - -r $(RULES_JSON) \ + -p $(PLATFORM) -d $(DESIGN_NICKNAME) --variant $(FLOW_VARIANT) \ --only-prefix synth__ constraints__ 2>&1 \ | tee $(abspath $(REPORTS_DIR)/metadata-check.log) +# Legacy gate against the committed designs///rules- +# .json. Kept for bazel-orfs and for `update_rules`; not part of +# `make metadata`. +export RULES_JSON ?= $(DESIGN_DIR)/rules-$(FLOW_VARIANT).json + +.PHONY: metadata-check-rules +metadata-check-rules: + $(PYTHON_EXE) $(UTILS_DIR)/checkMetadata.py \ + -m $(REPORTS_DIR)/metadata.json \ + -r $(RULES_JSON) 2>&1 \ + | tee $(abspath $(REPORTS_DIR)/metadata-check-rules.log) + .PHONY: clean_metadata clean_metadata: rm -f $(REPORTS_DIR)/design-dir.txt From 76be2a8eb4bba4455d75c93d02e73c6fee19e163 Mon Sep 17 00:00:00 2001 From: Vitor Bandeira Date: Mon, 21 Sep 2026 14:06:48 -0300 Subject: [PATCH 2/7] feat(metadata)!: remove the rules-file QoR check The dashboard check in `make metadata` replaced the rules-file check. Nothing in this repository read the rules files, checkMetadata.py, genRuleFile.py, genAllRuleFiles.sh, or the RULES_JSON variable any more. synDashboard.py only parsed checkMetadata.py output. Two rule sets would drift apart again, so all of them are removed. The targets update_ok, update_rules, and update_rules_force stay as stubs. They print a deprecation warning and exit 0, so an old wrapper script keeps running. Setting RULES_JSON prints a make warning. BREAKING CHANGE: bazel-orfs marks a design as CI-tested when rules-base.json exists. Its test targets run checkMetadata.py and do-update_rules. It needs a new marker and the dashboard check before it bumps its ORFS pin. The Jenkins update-rules job imports genRuleFile.py from ORFS master and must be retired. Signed-off-by: Vitor Bandeira --- docs/contrib/Metrics.md | 37 +- docs/tutorials/FlowTutorial.md | 2 +- docs/user/FlowVariables.md | 5 - flow/README.md | 10 +- flow/designs/README.md | 29 +- flow/designs/asap7/aes-block/rules-base.json | 112 ---- flow/designs/asap7/aes-mbff/rules-base.json | 112 ---- flow/designs/asap7/aes/rules-base.json | 112 ---- flow/designs/asap7/aes_lvt/rules-base.json | 112 ---- flow/designs/asap7/coralnpu/rules-base.json | 112 ---- flow/designs/asap7/cva6/rules-base.json | 112 ---- flow/designs/asap7/ethmac/rules-base.json | 112 ---- flow/designs/asap7/ethmac_lvt/rules-base.json | 112 ---- flow/designs/asap7/gcd-ccs/rules-base.json | 112 ---- flow/designs/asap7/gcd/rules-base.json | 112 ---- flow/designs/asap7/ibex/rules-base.json | 112 ---- flow/designs/asap7/jpeg/rules-base.json | 112 ---- flow/designs/asap7/jpeg_lvt/rules-base.json | 112 ---- flow/designs/asap7/mock-alu/rules-base.json | 112 ---- flow/designs/asap7/mock-cpu/rules-base.json | 112 ---- .../fakeram7_256x32/rules-base.json | 58 -- .../asap7/riscv32i-mock-sram/rules-base.json | 112 ---- flow/designs/asap7/riscv32i/rules-base.json | 112 ---- .../asap7/swerv_wrapper/rules-base.json | 112 ---- flow/designs/asap7/uart/rules-base.json | 112 ---- flow/designs/gf12/aes/rules-base.json | 112 ---- flow/designs/gf12/ariane/rules-base.json | 112 ---- flow/designs/gf12/ariane133/rules-base.json | 112 ---- flow/designs/gf12/bp_dual/rules-base.json | 112 ---- flow/designs/gf12/bp_quad/rules-base.json | 112 ---- flow/designs/gf12/bp_single/rules-base.json | 112 ---- flow/designs/gf12/ca53/rules-base.json | 112 ---- flow/designs/gf12/coyote/rules-base.json | 102 ---- flow/designs/gf12/gcd/rules-base.json | 112 ---- flow/designs/gf12/ibex/rules-base.json | 112 ---- flow/designs/gf12/jpeg/rules-base.json | 102 ---- .../gf12/swerv_wrapper/rules-base.json | 112 ---- flow/designs/gf12/tinyRocket/rules-base.json | 112 ---- flow/designs/gf180/aes-hybrid/rules-base.json | 112 ---- flow/designs/gf180/aes/rules-base.json | 112 ---- flow/designs/gf180/ibex/rules-base.json | 112 ---- flow/designs/gf180/jpeg/rules-base.json | 112 ---- flow/designs/gf180/riscv32i/rules-base.json | 112 ---- .../designs/gf180/uart-blocks/rules-base.json | 112 ---- flow/designs/gf55/aes/rules-base.json | 58 -- flow/designs/gt2n/aes/rules-base.json | 112 ---- flow/designs/gt2n/gcd/rules-base.json | 112 ---- flow/designs/gt2n/jpeg/rules-base.json | 112 ---- flow/designs/ihp-sg13g2/aes/rules-base.json | 112 ---- flow/designs/ihp-sg13g2/gcd/rules-base.json | 112 ---- .../i2c-gpio-expander/rules-base.json | 112 ---- flow/designs/ihp-sg13g2/ibex/rules-base.json | 112 ---- flow/designs/ihp-sg13g2/jpeg/rules-base.json | 112 ---- .../ihp-sg13g2/riscv32i/rules-base.json | 112 ---- flow/designs/ihp-sg13g2/spi/rules-base.json | 112 ---- flow/designs/nangate45/aes/rules-base.json | 112 ---- .../nangate45/ariane133/rules-base.json | 112 ---- .../nangate45/ariane136/rules-base.json | 112 ---- .../nangate45/black_parrot/rules-base.json | 112 ---- .../nangate45/bp_be_top/rules-base.json | 112 ---- .../nangate45/bp_fe_top/rules-base.json | 112 ---- .../nangate45/bp_multi_top/rules-base.json | 112 ---- .../designs/nangate45/bp_quad/rules-base.json | 202 ------- flow/designs/nangate45/cva6/rules-base.json | 112 ---- .../nangate45/dynamic_node/rules-base.json | 112 ---- flow/designs/nangate45/gcd/rules-base.json | 112 ---- flow/designs/nangate45/ibex/rules-base.json | 112 ---- flow/designs/nangate45/jpeg/rules-base.json | 112 ---- .../nangate45/mempool_group/rules-base.json | 112 ---- flow/designs/nangate45/swerv/rules-base.json | 112 ---- .../nangate45/swerv_wrapper/rules-base.json | 112 ---- .../nangate45/tinyRocket/rules-base.json | 112 ---- flow/designs/sky130hd/aes/rules-base.json | 112 ---- .../sky130hd/chameleon/rules-base.json | 112 ---- flow/designs/sky130hd/gcd/rules-base.json | 112 ---- flow/designs/sky130hd/ibex/rules-base.json | 112 ---- flow/designs/sky130hd/jpeg/rules-base.json | 112 ---- .../sky130hd/microwatt/rules-base.json | 112 ---- .../designs/sky130hd/riscv32i/rules-base.json | 112 ---- flow/designs/sky130hs/aes/rules-base.json | 112 ---- flow/designs/sky130hs/gcd/rules-base.json | 112 ---- flow/designs/sky130hs/ibex/rules-base.json | 112 ---- flow/designs/sky130hs/jpeg/rules-base.json | 112 ---- .../designs/sky130hs/riscv32i/rules-base.json | 112 ---- flow/scripts/variables.json | 6 - flow/scripts/variables.yaml | 9 - flow/util/checkMetadata.py | 152 ------ flow/util/checkQorMetrics.py | 7 +- flow/util/genAllRuleFiles.sh | 20 - flow/util/genMetrics.py | 5 +- flow/util/genRuleFile.py | 516 ------------------ flow/util/synDashboard.py | 175 ------ flow/util/utils.mk | 67 +-- 93 files changed, 52 insertions(+), 9798 deletions(-) delete mode 100644 flow/designs/asap7/aes-block/rules-base.json delete mode 100644 flow/designs/asap7/aes-mbff/rules-base.json delete mode 100644 flow/designs/asap7/aes/rules-base.json delete mode 100644 flow/designs/asap7/aes_lvt/rules-base.json delete mode 100644 flow/designs/asap7/coralnpu/rules-base.json delete mode 100644 flow/designs/asap7/cva6/rules-base.json delete mode 100644 flow/designs/asap7/ethmac/rules-base.json delete mode 100644 flow/designs/asap7/ethmac_lvt/rules-base.json delete mode 100644 flow/designs/asap7/gcd-ccs/rules-base.json delete mode 100644 flow/designs/asap7/gcd/rules-base.json delete mode 100644 flow/designs/asap7/ibex/rules-base.json delete mode 100644 flow/designs/asap7/jpeg/rules-base.json delete mode 100644 flow/designs/asap7/jpeg_lvt/rules-base.json delete mode 100644 flow/designs/asap7/mock-alu/rules-base.json delete mode 100644 flow/designs/asap7/mock-cpu/rules-base.json delete mode 100644 flow/designs/asap7/riscv32i-mock-sram/fakeram7_256x32/rules-base.json delete mode 100644 flow/designs/asap7/riscv32i-mock-sram/rules-base.json delete mode 100644 flow/designs/asap7/riscv32i/rules-base.json delete mode 100644 flow/designs/asap7/swerv_wrapper/rules-base.json delete mode 100644 flow/designs/asap7/uart/rules-base.json delete mode 100644 flow/designs/gf12/aes/rules-base.json delete mode 100644 flow/designs/gf12/ariane/rules-base.json delete mode 100644 flow/designs/gf12/ariane133/rules-base.json delete mode 100644 flow/designs/gf12/bp_dual/rules-base.json delete mode 100644 flow/designs/gf12/bp_quad/rules-base.json delete mode 100644 flow/designs/gf12/bp_single/rules-base.json delete mode 100644 flow/designs/gf12/ca53/rules-base.json delete mode 100644 flow/designs/gf12/coyote/rules-base.json delete mode 100644 flow/designs/gf12/gcd/rules-base.json delete mode 100644 flow/designs/gf12/ibex/rules-base.json delete mode 100644 flow/designs/gf12/jpeg/rules-base.json delete mode 100644 flow/designs/gf12/swerv_wrapper/rules-base.json delete mode 100644 flow/designs/gf12/tinyRocket/rules-base.json delete mode 100644 flow/designs/gf180/aes-hybrid/rules-base.json delete mode 100644 flow/designs/gf180/aes/rules-base.json delete mode 100644 flow/designs/gf180/ibex/rules-base.json delete mode 100644 flow/designs/gf180/jpeg/rules-base.json delete mode 100644 flow/designs/gf180/riscv32i/rules-base.json delete mode 100644 flow/designs/gf180/uart-blocks/rules-base.json delete mode 100644 flow/designs/gf55/aes/rules-base.json delete mode 100644 flow/designs/gt2n/aes/rules-base.json delete mode 100644 flow/designs/gt2n/gcd/rules-base.json delete mode 100644 flow/designs/gt2n/jpeg/rules-base.json delete mode 100644 flow/designs/ihp-sg13g2/aes/rules-base.json delete mode 100644 flow/designs/ihp-sg13g2/gcd/rules-base.json delete mode 100644 flow/designs/ihp-sg13g2/i2c-gpio-expander/rules-base.json delete mode 100644 flow/designs/ihp-sg13g2/ibex/rules-base.json delete mode 100644 flow/designs/ihp-sg13g2/jpeg/rules-base.json delete mode 100644 flow/designs/ihp-sg13g2/riscv32i/rules-base.json delete mode 100644 flow/designs/ihp-sg13g2/spi/rules-base.json delete mode 100644 flow/designs/nangate45/aes/rules-base.json delete mode 100644 flow/designs/nangate45/ariane133/rules-base.json delete mode 100644 flow/designs/nangate45/ariane136/rules-base.json delete mode 100644 flow/designs/nangate45/black_parrot/rules-base.json delete mode 100644 flow/designs/nangate45/bp_be_top/rules-base.json delete mode 100644 flow/designs/nangate45/bp_fe_top/rules-base.json delete mode 100644 flow/designs/nangate45/bp_multi_top/rules-base.json delete mode 100644 flow/designs/nangate45/bp_quad/rules-base.json delete mode 100644 flow/designs/nangate45/cva6/rules-base.json delete mode 100644 flow/designs/nangate45/dynamic_node/rules-base.json delete mode 100644 flow/designs/nangate45/gcd/rules-base.json delete mode 100644 flow/designs/nangate45/ibex/rules-base.json delete mode 100644 flow/designs/nangate45/jpeg/rules-base.json delete mode 100644 flow/designs/nangate45/mempool_group/rules-base.json delete mode 100644 flow/designs/nangate45/swerv/rules-base.json delete mode 100644 flow/designs/nangate45/swerv_wrapper/rules-base.json delete mode 100644 flow/designs/nangate45/tinyRocket/rules-base.json delete mode 100644 flow/designs/sky130hd/aes/rules-base.json delete mode 100644 flow/designs/sky130hd/chameleon/rules-base.json delete mode 100644 flow/designs/sky130hd/gcd/rules-base.json delete mode 100644 flow/designs/sky130hd/ibex/rules-base.json delete mode 100644 flow/designs/sky130hd/jpeg/rules-base.json delete mode 100644 flow/designs/sky130hd/microwatt/rules-base.json delete mode 100644 flow/designs/sky130hd/riscv32i/rules-base.json delete mode 100644 flow/designs/sky130hs/aes/rules-base.json delete mode 100644 flow/designs/sky130hs/gcd/rules-base.json delete mode 100644 flow/designs/sky130hs/ibex/rules-base.json delete mode 100644 flow/designs/sky130hs/jpeg/rules-base.json delete mode 100644 flow/designs/sky130hs/riscv32i/rules-base.json delete mode 100755 flow/util/checkMetadata.py delete mode 100755 flow/util/genAllRuleFiles.sh delete mode 100755 flow/util/genRuleFile.py delete mode 100644 flow/util/synDashboard.py diff --git a/docs/contrib/Metrics.md b/docs/contrib/Metrics.md index fc85f67f0f..531d86128d 100644 --- a/docs/contrib/Metrics.md +++ b/docs/contrib/Metrics.md @@ -76,32 +76,17 @@ baseline moves with `master`, so a merged change becomes the new baseline without a file update. Rule tolerances live in the dashboard, not in this repository. -## Legacy rules files (`rules-.json`) - -Before the dashboard check, each design directory held a rules file with -absolute limits, regenerated by hand: - -``` text -flow/designs///rules-base.json -``` - -`flow/util/checkMetadata.py` compares `metadata.json` against that file. -These files still exist and are still read by -[bazel-orfs](https://github.com/The-OpenROAD-Project/bazel-orfs) test -targets, but nothing in `make metadata` reads them. To run the legacy check -or refresh a rules file: - -``` shell -cd OpenROAD-flow-scripts/flow -make metadata-check-rules # compare against $(RULES_JSON), log in metadata-check-rules.log -make update_ok # rewrite $(RULES_JSON) from the current metadata.json -make update_rules_force # overwrite every rule, not only failing and improved ones -``` - -`RULES_JSON` defaults to `$(DESIGN_DIR)/rules-$(FLOW_VARIANT).json`. -`update_ok` is an alias for `update_rules`; it runs `flow/util/genRuleFile.py` -with `--failing --tighten`, which relaxes rules the current run fails and -tightens rules it passes by a wide margin. +## Removed: rules files (`rules-.json`) + +Before the dashboard check, each design directory held a +`rules-.json` file with absolute limits, and +`flow/util/checkMetadata.py` compared `metadata.json` against it. Those +files, that script, `flow/util/genRuleFile.py`, and the `RULES_JSON` +variable were removed. The make targets `update_ok`, `update_rules`, and +`update_rules_force` still exist as stubs that print a deprecation warning +and do nothing, so an old wrapper script does not break. Rule tolerances +live in the dashboard, so there is nothing to regenerate locally after an +accepted QoR change. ## Reference metadata (`metadata--ok.json`) diff --git a/docs/tutorials/FlowTutorial.md b/docs/tutorials/FlowTutorial.md index d7f1f9e011..c3021957c8 100644 --- a/docs/tutorials/FlowTutorial.md +++ b/docs/tutorials/FlowTutorial.md @@ -251,7 +251,7 @@ underlying files are organized. platform and other files for autotuner and metrics. ``` -autotuner.json config.mk constraint_doe.sdc constraint.sdc metadata-base-ok.json rules.json +autotuner.json config.mk constraint_doe.sdc constraint.sdc metadata-base-ok.json ``` - `platforms` diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index b9404e06b0..c29ba41645 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -271,7 +271,6 @@ configuration file. | RTLMP_OUTLINE_WT| Weight for violating the fixed outline constraint, meaning that all clusters should be placed within the shape of their parent cluster.| 100.0| | RTLMP_RPT_DIR| Path to the directory where reports are saved.| | | RTLMP_WIRELENGTH_WT| Weight for half-perimiter wirelength.| 100.0| -| RULES_JSON| json files with the metrics baseline regression rules. In the ORFS Makefile, this defaults to $DESIGN_DIR/rules-base.json, but ORFS does not mandate the users source directory layout and this can be placed elsewhere when the user sets up an ORFS config.mk or from bazel-orfs.| | | RUN_LOG_NAME_STEM| Stem of the log file name, the log file will be named `$(LOG_DIR)/$(RUN_LOG_NAME_STEM).log`.| run| | RUN_SCRIPT| Path to script to run from `make run`, python or tcl script detected by .py or .tcl extension.| | | SC_LEF| Path to technology standard cell LEF file.| | @@ -636,10 +635,6 @@ configuration file. - [ABSTRACT_SOURCE](#ABSTRACT_SOURCE) -## test variables - -- [RULES_JSON](#RULES_JSON) - ## Uncategorized variables - [ADDITIONAL_FILES](#ADDITIONAL_FILES) diff --git a/flow/README.md b/flow/README.md index 9c4f2ff678..d2d6e75e31 100644 --- a/flow/README.md +++ b/flow/README.md @@ -19,8 +19,7 @@ For a design at `flow/designs///` with `DESIGN_NAME = | `_route` | Detailed routing | | `_final` | Final + fill | | `_generate_abstract` | LEF/LIB abstract | -| `_test` | Full flow + QoR check against `rules-base.json` | -| `_update` | Rebuild and write thresholds back to `rules-base.json` | +| `_test` | Full flow + QoR check | Stages depend on the previous, so `_final` runs the whole flow. @@ -48,8 +47,11 @@ load("//flow/designs:design.bzl", "files") files("verilog") ``` -A design counts as CI-tested iff `rules-base.json` exists; without it -the generated targets get `tags = ["manual"]`. +The QoR check is the dashboard check described in +`docs/contrib/Metrics.md`. The committed `rules-base.json` files it used +to read were removed, so bazel-orfs no longer has that file to mark a +design as CI-tested. Until bazel-orfs picks another marker, its generated +test targets carry `tags = ["manual"]` for every design. ## Parallelism diff --git a/flow/designs/README.md b/flow/designs/README.md index 84cde748d3..0e2c510d2a 100644 --- a/flow/designs/README.md +++ b/flow/designs/README.md @@ -2,9 +2,9 @@ The maintainers' QoR signal comes from Jenkins runs published at . The targets described here are -its local counterpart: the same designs, gated by the same -`rules-base.json` files with the same `checkMetadata.py`, but built -locally through Bazel so the loop can be sharpened onto exactly the +its local counterpart: the same designs, judged by the same dashboard +rules through `make metadata-check` (see `docs/contrib/Metrics.md`), but +built locally through Bazel so the loop can be sharpened onto exactly the design, engine, and stage being worked on — fast enough for an agent (e.g. Claude) to iterate against. @@ -16,10 +16,11 @@ Every design gets manual forced-engine flow variants (see - `_yosys_*` pins the yosys engine, so the baseline stays reproducible after a design switches (asap7/gcd today). -Designs with a `rules-base.json` get two QoR tiers per variant: +CI-tested designs get two QoR tiers per variant: - `__synth_test` — the fast tier: synthesis only, - checked against the `synth__`/`constraints__` subset of the rules. + checked against the `synth__`/`constraints__` subset of the rules + (`make metadata-synth`). Minutes. QoR-only — without LEC it cannot prove correctness, so use it to iterate, not to conclude. - `__test` — the full flow against all rules: the real, @@ -49,20 +50,10 @@ bazelisk test --keep_going //flow/designs/asap7:syn_synth_test bazelisk test --keep_going //flow/designs/asap7:syn_test ``` -Then display what you have — deliberately a separate concern from -deciding what to test or build: - -```sh -bazelisk run //flow/designs:syn-dashboard -``` - -It prints a GitHub-markdown TL;DR table of every forced-engine test -result already in `bazel-testlogs` — pass/fail per tier and engine, -failing rule fields, result age — without building anything. Paste it -into a PR or issue as-is. Because the display reads whatever exists, -the loop stays fast: iterate on the one target you care about, and the -dashboard aggregates across everything you (or earlier sessions) have -built so far. +The `syn-dashboard` target that summarised these results as a markdown +table read the output of the removed rules-file check, so it was removed +with it. Read the `QoR check:` line in each test's `metadata-check.log` +instead. The suites include designs that fail OpenROAD-SYN today on purpose — they are a status signal, not a green-only gate. A build failure (e.g. diff --git a/flow/designs/asap7/aes-block/rules-base.json b/flow/designs/asap7/aes-block/rules-base.json deleted file mode 100644 index 81aa92c849..0000000000 --- a/flow/designs/asap7/aes-block/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "ebaa691cab308fe6bb4b8b1d587926ac20ea4f68", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "b5063e0b38182a5f3b57b11f8a9d020af76af163", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 631.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 1, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 6704, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 10164, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 884, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 884, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -83.2, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -3080.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -22.5, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -90.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -25.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -331.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -22.5, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -90.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 48329, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -54.3, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -694.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -22.5, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -90.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 6746, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/asap7/aes-mbff/rules-base.json b/flow/designs/asap7/aes-mbff/rules-base.json deleted file mode 100644 index 22a8495d5f..0000000000 --- a/flow/designs/asap7/aes-mbff/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "119ffddb972472b0b76f56d0b9cf4799fdcf4239", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "7c5a826cefc6856b13a2e8bb31c3bcc9b3982fdb", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 1780.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 1861, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 17759, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1544, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1544, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -19.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -76.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -19.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -76.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -19.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -76.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -19.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -76.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 68143, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -26.7, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -277.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -19.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -76.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 1897, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/asap7/aes/rules-base.json b/flow/designs/asap7/aes/rules-base.json deleted file mode 100644 index 7894a40bb4..0000000000 --- a/flow/designs/asap7/aes/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 1610.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 1597, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 14321, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1245, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1245, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -20.8, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -79.3, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -19.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -76.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -27.8, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -467.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -19.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -76.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 57175, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -24.2, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -191.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -19.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -76.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 1663, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/asap7/aes_lvt/rules-base.json b/flow/designs/asap7/aes_lvt/rules-base.json deleted file mode 100644 index 45b55ab0f4..0000000000 --- a/flow/designs/asap7/aes_lvt/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 1610.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 1, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 1478, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 13303, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1157, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1157, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -18.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -72.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -18.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -72.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -18.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -72.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -18.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -72.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 60074, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -18.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -72.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -18.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -72.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 1499, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/asap7/coralnpu/rules-base.json b/flow/designs/asap7/coralnpu/rules-base.json deleted file mode 100644 index f3b66ed60e..0000000000 --- a/flow/designs/asap7/coralnpu/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "5b7726241a901a54348af6b0ce1c968587bb8a7e", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "6df65a45ac029ad537f0d8e4702bad13af94c54e", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 17800.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 1, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 37543, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 198708, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 17279, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 17279, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -1980.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -10200000.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.5, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -2.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 174, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -2030.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -10500000.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.5, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -2.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 1540518, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 174, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -2070.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -10800000.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.5, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -2.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 37931, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/asap7/cva6/rules-base.json b/flow/designs/asap7/cva6/rules-base.json deleted file mode 100644 index b8945cc8c9..0000000000 --- a/flow/designs/asap7/cva6/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "8546daa9fab20173e2a1873f0268f52214d41e78", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "1f542e5a81cd52225b1d7480385ff67bb3c00b40", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 14000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 1, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 19875, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 134139, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 11664, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 11664, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -50.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -620.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -45.5, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -182.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 118, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -50.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -1080.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -45.5, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -182.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 676543, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 118, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -50.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -851.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -45.5, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -182.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 20198, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/asap7/ethmac/rules-base.json b/flow/designs/asap7/ethmac/rules-base.json deleted file mode 100644 index a2ac022845..0000000000 --- a/flow/designs/asap7/ethmac/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "937951547e8bf97a463260bdd570bbf85cc17ac3", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "26ad4c750463c5a689d1cbcac023d8277dcc9520", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 8420.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 6, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 8699, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 68653, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 5970, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 5970, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -94.1, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -1700.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -15.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -60.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -103.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -1950.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -15.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -60.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 240731, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -93.3, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -1500.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -15.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -60.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 9358, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/asap7/ethmac_lvt/rules-base.json b/flow/designs/asap7/ethmac_lvt/rules-base.json deleted file mode 100644 index bd072ab1cd..0000000000 --- a/flow/designs/asap7/ethmac_lvt/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "1ff86ebe07863773f97e80c28ddfc6fa48a03ede", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "787c2eec737d2bbdaae4525009262d43be1e2901", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 8460.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 6, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 8308, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 64816, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 5636, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 5636, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -35.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -348.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -15.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -60.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -45.5, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -531.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -15.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -60.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 252888, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -31.8, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -422.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -15.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -60.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 8670, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/asap7/gcd-ccs/rules-base.json b/flow/designs/asap7/gcd-ccs/rules-base.json deleted file mode 100644 index 856e60b92e..0000000000 --- a/flow/designs/asap7/gcd-ccs/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 43.1, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 51, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 481, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 42, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 42, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -62.8, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -194.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -15.5, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -62.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -70.5, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -253.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -15.5, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -62.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 920, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -59.6, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -186.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -15.5, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -62.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 52, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/asap7/gcd/rules-base.json b/flow/designs/asap7/gcd/rules-base.json deleted file mode 100644 index 9a312caf0a..0000000000 --- a/flow/designs/asap7/gcd/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 43.1, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 51, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 473, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 41, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 41, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -57.3, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -173.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -15.5, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -62.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -62.8, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -282.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -15.5, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -62.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 908, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -53.7, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -157.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -15.5, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -62.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 53, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/asap7/ibex/rules-base.json b/flow/designs/asap7/ibex/rules-base.json deleted file mode 100644 index f0954f36ae..0000000000 --- a/flow/designs/asap7/ibex/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "36f3c36cd459164f6da315e618d393acea91e7e2", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "f63e9e36bbd116adf58e1a8fd7de74c0f2064bea", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 2430.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 2673, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 22941, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1995, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1995, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -50.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -200.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -50.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -200.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -51.1, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -208.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -50.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -200.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 98982, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -50.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -436.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -50.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -200.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 2761, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/asap7/jpeg/rules-base.json b/flow/designs/asap7/jpeg/rules-base.json deleted file mode 100644 index f5b0028ac6..0000000000 --- a/flow/designs/asap7/jpeg/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 7690.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 1, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 8104, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 67209, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 5844, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 5844, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -123.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -24400.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -27.2, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -109.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -129.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -30200.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -27.2, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -109.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 209390, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -117.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -22800.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -27.2, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -109.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 8497, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/asap7/jpeg_lvt/rules-base.json b/flow/designs/asap7/jpeg_lvt/rules-base.json deleted file mode 100644 index 0201444448..0000000000 --- a/flow/designs/asap7/jpeg_lvt/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 7047.572508, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 1, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 7019, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 56601, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 4922, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 4922, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -30.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -120.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -30.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -120.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -30.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -120.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -30.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -120.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 176948, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -58.5, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -219.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -30.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -120.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 7124, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/asap7/mock-alu/rules-base.json b/flow/designs/asap7/mock-alu/rules-base.json deleted file mode 100644 index 99cdfb0d46..0000000000 --- a/flow/designs/asap7/mock-alu/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "05d14f3d17afebfce7c84288baecfc1c649a3cf1", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "201f22fab9bf2437a609a449dc17db13c22c0545", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 1640.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 1, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 1789, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 14790, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1286, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1286, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -289.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -21800.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -15.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -60.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -300.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -24200.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -15.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -60.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 50078, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -291.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -18500.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -15.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -60.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 1858, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/asap7/mock-cpu/rules-base.json b/flow/designs/asap7/mock-cpu/rules-base.json deleted file mode 100644 index 97088f76f4..0000000000 --- a/flow/designs/asap7/mock-cpu/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "7ea8b2cecb490a111d582bdb6f546f1395302615", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "d8887b5c222ea5a8be8b16a1ac67dbd3ace934b9", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 7400.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 7471, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 47168, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 4102, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 4102, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -16.6, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -66.6, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -16.6, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -66.6, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -16.6, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -66.6, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -16.6, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -66.6, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 55190, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -16.6, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -66.6, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -17.4, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -67.3, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 8045, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/asap7/riscv32i-mock-sram/fakeram7_256x32/rules-base.json b/flow/designs/asap7/riscv32i-mock-sram/fakeram7_256x32/rules-base.json deleted file mode 100644 index 04a6e8f38c..0000000000 --- a/flow/designs/asap7/riscv32i-mock-sram/fakeram7_256x32/rules-base.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "synth__design__instance__area__stdcell": { - "value": 66.2, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 1, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 79, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 802, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 70, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 70, - "compare": "<=" - }, - "detailedroute__route__wirelength": { - "value": 1811, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -86.86, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 84, - "compare": "<=" - }, - "finish__timing__drv__setup_violation_count": { - "value": 101, - "compare": "<=" - }, - "finish__timing__drv__hold_violation_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__wns_percent_delay": { - "value": -30.71, - "compare": ">=" - } -} \ No newline at end of file diff --git a/flow/designs/asap7/riscv32i-mock-sram/rules-base.json b/flow/designs/asap7/riscv32i-mock-sram/rules-base.json deleted file mode 100644 index 15f0f7ba95..0000000000 --- a/flow/designs/asap7/riscv32i-mock-sram/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "6dcb657c1a1a6cbc2c4407abb9b4437f9558d4e2", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "54302337d79f88e98c07147abd1986c0187b7d91", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 1320.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 2284, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 11589, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1008, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1008, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -47.5, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -190.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -47.5, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -190.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -51.4, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -214.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -47.5, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -190.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 61587, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -81.3, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -13300.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -47.5, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -190.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 2358, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/asap7/riscv32i/rules-base.json b/flow/designs/asap7/riscv32i/rules-base.json deleted file mode 100644 index 16ffec9490..0000000000 --- a/flow/designs/asap7/riscv32i/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "9e2e2c9cc4e968ec295970a0f7541d3308d688be", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "5532a110b870b6fb999c2ea9431d524eebd96cea", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 1230.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 2972, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 11671, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1015, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1015, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -47.5, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -234.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -47.5, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -190.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -49.4, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -3800.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -47.5, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -190.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 61001, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -79.5, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -27600.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -47.5, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -190.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 3050, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/asap7/swerv_wrapper/rules-base.json b/flow/designs/asap7/swerv_wrapper/rules-base.json deleted file mode 100644 index 6d67653d46..0000000000 --- a/flow/designs/asap7/swerv_wrapper/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 16800.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 1, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 54556, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 130947, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 11387, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 11387, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -189.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -2700.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -55.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -220.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -190.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -2770.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -55.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -220.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 1012875, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -166.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -2280.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -55.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -220.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 55045, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/asap7/uart/rules-base.json b/flow/designs/asap7/uart/rules-base.json deleted file mode 100644 index 15d8caa6b4..0000000000 --- a/flow/designs/asap7/uart/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "82d913c12517c1ffc431d14e4a638cdd7e66b9b9", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "36e41f9deea1b16b9d3e3179917aae68f550c66a", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 86.3, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 108, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 984, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 86, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 86, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -41.4, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -1010.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -13.5, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -54.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -48.4, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -1560.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -13.5, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -54.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 1873, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -40.3, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -977.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -13.5, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -54.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 118, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/gf12/aes/rules-base.json b/flow/designs/gf12/aes/rules-base.json deleted file mode 100644 index 3ee85f0e28..0000000000 --- a/flow/designs/gf12/aes/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "fb4e74a7b96e9dfc06ab9698f42b0a295610fab0", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "8749d894ed2fa7c6ed866a51b10c8b6e7918c96e", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 3710.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 4810, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 15634, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1360, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1360, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -21.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -84.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -18.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -72.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -21.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -368.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -18.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -72.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 125219, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -21.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -171.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -18.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -72.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 4886, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/gf12/ariane/rules-base.json b/flow/designs/gf12/ariane/rules-base.json deleted file mode 100644 index a1346aa679..0000000000 --- a/flow/designs/gf12/ariane/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "77f1fdb64f18708bc3220e348db41e9cc4f527b5", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "69f0884c178a3ff96476f6d0cc96c626744d26c9", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 63700.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 208888, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 216134, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 18794, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 18794, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -213.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -236000.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -150.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -600.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 175, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -210.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -719.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -150.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -600.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 3473208, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 175, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -206.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -711.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -150.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -600.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 211208, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/gf12/ariane133/rules-base.json b/flow/designs/gf12/ariane133/rules-base.json deleted file mode 100644 index a7d7caa216..0000000000 --- a/flow/designs/gf12/ariane133/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "0d94248554a617f1de65e548e92910b2c42db295", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "7d87cbeba32a4c818451bd1d98a37af8ed03b493", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 46500.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 1, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 279506, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 156228, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 13585, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 13585, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -162.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -4840.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": 0.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": 0.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 0, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": 0.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": 0.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": 0.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": 0.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 4262653, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 5, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": 0.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": 0.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": 0.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": 0.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 282150, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/gf12/bp_dual/rules-base.json b/flow/designs/gf12/bp_dual/rules-base.json deleted file mode 100644 index 184b935e4a..0000000000 --- a/flow/designs/gf12/bp_dual/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "032eefdd8bbba36268d041958693a96a27ceca1c", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 282000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 8, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 810758, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 847537, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 73699, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 73699, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -134.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -483.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -100.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -400.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 0, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -100.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -400.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -100.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -400.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 12193528, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 5, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -165.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -1080.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -119.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -400.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 836961, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/gf12/bp_quad/rules-base.json b/flow/designs/gf12/bp_quad/rules-base.json deleted file mode 100644 index deab3b1780..0000000000 --- a/flow/designs/gf12/bp_quad/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "711a9dffb814f041cb5e7523b9c962d40f2cb834", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 466000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 8, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 1474875, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 1399513, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 121697, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 121697, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -437.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -201000.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -100.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -400.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 1080, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -133.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -709.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -100.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -400.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 25154318, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 1082, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -157.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -643.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -100.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -416.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 1505960, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/gf12/bp_single/rules-base.json b/flow/designs/gf12/bp_single/rules-base.json deleted file mode 100644 index f40c270118..0000000000 --- a/flow/designs/gf12/bp_single/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "bfc211d00bb28acd6453f9592649615b34feb86d", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "4ba14e2588113fb31574d9911988d58547847f8f", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 156000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 8, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 465672, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 523297, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 45504, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 45504, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -100.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -400.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -468.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -2390.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 325, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -100.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -400.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -459.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -2010.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 5475411, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 325, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -187.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -877.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -242.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -400.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 475297, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/gf12/ca53/rules-base.json b/flow/designs/gf12/ca53/rules-base.json deleted file mode 100644 index b4d2a219f6..0000000000 --- a/flow/designs/gf12/ca53/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "b6f8ea66f3c6e3acaa00d44dd0b50c5f80dbaaef", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 174000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 1, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 368225, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 610540, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 53090, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 53090, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -820.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -3310.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -100.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -400.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 516, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -227.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -768.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -100.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -415.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 16935687, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 516, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -100.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -400.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -100.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -3070.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 403433, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/gf12/coyote/rules-base.json b/flow/designs/gf12/coyote/rules-base.json deleted file mode 100644 index 97e26689b1..0000000000 --- a/flow/designs/gf12/coyote/rules-base.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "synth__design__instance__area__stdcell": { - "value": 168000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 196510, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 316293, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 27504, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 27504, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -200.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -800.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -200.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -800.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 261, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -200.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -800.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -200.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -800.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 4125688, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 261, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -200.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -800.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -200.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -800.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 200742, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/gf12/gcd/rules-base.json b/flow/designs/gf12/gcd/rules-base.json deleted file mode 100644 index 4f5bca88c5..0000000000 --- a/flow/designs/gf12/gcd/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "6704e6c94c7144cc0173c4ee28141e43844b76a3", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "620c41fd90203df1a4892ebc403705d51dbbd1fd", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 107.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 228, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 607, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 53, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 53, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -21.3, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -235.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -12.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -14.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -26.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -435.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -12.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -14.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 2026, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -14.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -113.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -12.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -14.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 240, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/gf12/ibex/rules-base.json b/flow/designs/gf12/ibex/rules-base.json deleted file mode 100644 index f14da3db78..0000000000 --- a/flow/designs/gf12/ibex/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "19205756e596aefe4e3bce501eb12b920034e997", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "deb1d07547fde83dfe991734ceec471317ae9e40", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 6241.99, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 6874, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 17680, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1445, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1664, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -51.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -204.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -51.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -204.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -51.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -204.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -51.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -204.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 160478, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -51.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -204.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -51.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -204.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 7871, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/gf12/jpeg/rules-base.json b/flow/designs/gf12/jpeg/rules-base.json deleted file mode 100644 index 3dcc7f5809..0000000000 --- a/flow/designs/gf12/jpeg/rules-base.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "synth__design__instance__area__stdcell": { - "value": 19900.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 21478, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 95595, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 7563, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 7563, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -96.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -33000.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -25.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -100.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -53.2, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -18000.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -25.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -100.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 409584, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -25.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -650.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -25.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -100.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 21992, - "compare": "<=" - } -} diff --git a/flow/designs/gf12/swerv_wrapper/rules-base.json b/flow/designs/gf12/swerv_wrapper/rules-base.json deleted file mode 100644 index 414a33324b..0000000000 --- a/flow/designs/gf12/swerv_wrapper/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "3a6b36cb373f44ed20a03f155fabfa9462db6385", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "e26a9a3ae1ffa1e8e44de7f44e29cb6479199257", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 38200.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 4, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 172730, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 121831, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 10594, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 11294, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -75.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -300.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -236.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -376.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 106, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -75.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -300.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -75.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -300.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 2275794, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 106, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -75.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -300.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -83.4, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -508.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 177466, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/gf12/tinyRocket/rules-base.json b/flow/designs/gf12/tinyRocket/rules-base.json deleted file mode 100644 index 7f1fcf9940..0000000000 --- a/flow/designs/gf12/tinyRocket/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "17c595f38b1323a017b98f896031666c88db25f7", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "fe809a7c44fbc967701c1faa1fd11ca9ecd2a361", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 10800.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 14729, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 34042, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 2960, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 2960, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -149.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -84400.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -26.2, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -105.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -147.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -66000.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -26.2, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -105.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 267338, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -118.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -35800.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -26.2, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -105.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 15244, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/gf180/aes-hybrid/rules-base.json b/flow/designs/gf180/aes-hybrid/rules-base.json deleted file mode 100644 index d5194f2285..0000000000 --- a/flow/designs/gf180/aes-hybrid/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "b19a2f6fe6691467e4e98788c4214b99694d1922", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "02898b723a06f7081efa50766c5a35fdc44975b1", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 459000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 606205, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 20707, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1801, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1801, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -1.02, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -170.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.15, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.6, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -1.06, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -186.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.15, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.6, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 1436375, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -1.06, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -176.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.15, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.6, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 716226, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/gf180/aes/rules-base.json b/flow/designs/gf180/aes/rules-base.json deleted file mode 100644 index 0a8ab83753..0000000000 --- a/flow/designs/gf180/aes/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "a8bcc14ffb83d0843245c197c47d50ae10d1915e", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "8b595d961adc281da8e17bec64b8f1c21f9b33bf", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 575000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 745269, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 22187, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1929, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1929, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.789, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -110.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.15, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.6, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.876, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -135.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.15, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.6, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 1295453, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.902, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -129.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.15, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.6, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 804777, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/gf180/ibex/rules-base.json b/flow/designs/gf180/ibex/rules-base.json deleted file mode 100644 index a2ef06384f..0000000000 --- a/flow/designs/gf180/ibex/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "8a0bf3f54eefa1056787ab96dbbf7ed3e981399a", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "8189996a5444e85e4f8c27d736f4b4450f86ee1e", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 666000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 724846, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 15301, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1330, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1330, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -1.76, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -1540.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -1.29, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -2.49, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -1.92, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -1790.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -1.27, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -2.47, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 1290525, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -1.89, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -1480.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -1.26, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -2.46, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 748372, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/gf180/jpeg/rules-base.json b/flow/designs/gf180/jpeg/rules-base.json deleted file mode 100644 index f2bcbbf6c0..0000000000 --- a/flow/designs/gf180/jpeg/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "846f45c95e7e3ac4a05a84740e47ee07e3664aa6", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "173427f7d7c99a60367576f0f5ddb15423a88353", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 2280000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 2338306, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 48768, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 4241, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 4241, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.863, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -43.6, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.3, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -1.2, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.302, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -1.2, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.3, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -1.2, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 2834291, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.33, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -1.33, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.3, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -1.2, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 2394070, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/gf180/riscv32i/rules-base.json b/flow/designs/gf180/riscv32i/rules-base.json deleted file mode 100644 index ff1178f268..0000000000 --- a/flow/designs/gf180/riscv32i/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "6090498a432465dfa8b7fbad6c2e410a6d25776a", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "614c61d3e46facd80c4ec20d4bc3b9589717752a", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 337000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 401501, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 8628, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 750, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 750, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.586, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -3.85, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.45, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -1.8, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.659, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -83.9, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.45, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -1.8, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 646977, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.63, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -81.7, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.45, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -1.8, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 422004, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/gf180/uart-blocks/rules-base.json b/flow/designs/gf180/uart-blocks/rules-base.json deleted file mode 100644 index 5e7f7f47da..0000000000 --- a/flow/designs/gf180/uart-blocks/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "72aad99d53d7eb351e70cac84f939d536d0e02bf", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "05b315af2f0fc7e0b156a04b1d0431824290b25a", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 13000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 71098, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 752, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 65, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 65, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.3, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -1.2, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.3, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -1.2, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.3, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -1.2, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.3, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -1.2, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 20402, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.3, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -1.2, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.3, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -1.2, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 71942, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/gf55/aes/rules-base.json b/flow/designs/gf55/aes/rules-base.json deleted file mode 100644 index 8f1b6bfb1b..0000000000 --- a/flow/designs/gf55/aes/rules-base.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "synth__design__instance__area__stdcell": { - "value": 95860.46, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 1, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 153798, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 22734, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1977, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1977, - "compare": "<=" - }, - "detailedroute__route__wirelength": { - "value": 685047, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": 0.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 178042, - "compare": "<=" - }, - "finish__timing__drv__setup_violation_count": { - "value": 988, - "compare": "<=" - }, - "finish__timing__drv__hold_violation_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__wns_percent_delay": { - "value": -10.0, - "compare": ">=" - } -} \ No newline at end of file diff --git a/flow/designs/gt2n/aes/rules-base.json b/flow/designs/gt2n/aes/rules-base.json deleted file mode 100644 index 8048fd38e7..0000000000 --- a/flow/designs/gt2n/aes/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "e9426c391e35d86c9f9023e814fd4826714b89b5", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "93f9e9316090c4b4b44bf35599036a9c5cdfe109", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 492.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 1, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 564, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 20700, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1800, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1800, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -25.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -100.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -25.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -100.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -75.2, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -585.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -41.2, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -1220.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 42394, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -75.2, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -585.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -41.2, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -1220.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 1636, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/gt2n/gcd/rules-base.json b/flow/designs/gt2n/gcd/rules-base.json deleted file mode 100644 index 8f74aa3411..0000000000 --- a/flow/designs/gt2n/gcd/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "94435b2c79066c9133b4aed43b6f5abf1ec21003", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "102bf37d6da7bc1aa234e916ebbf91984197836d", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 18.8, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 1, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 22, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 877, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 76, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 76, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -25.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -100.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -25.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -100.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -25.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -100.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -25.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -100.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 848, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -25.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -100.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -25.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -100.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 73, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/gt2n/jpeg/rules-base.json b/flow/designs/gt2n/jpeg/rules-base.json deleted file mode 100644 index 4e6b25d1bf..0000000000 --- a/flow/designs/gt2n/jpeg/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "39cc69c759997747b607f7a6d205bc6b27432dce", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "eda4f7adafcd818f9ad0d4da7c8f3dd4089ea87b", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 2970.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 1, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 3145, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 119485, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 10390, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 10390, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -50.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -200.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -50.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -200.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -50.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -200.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -50.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -200.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 156062, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -50.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -200.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -50.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -200.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 7407, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/ihp-sg13g2/aes/rules-base.json b/flow/designs/ihp-sg13g2/aes/rules-base.json deleted file mode 100644 index 157c639e2d..0000000000 --- a/flow/designs/ihp-sg13g2/aes/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 169000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 209010, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 19633, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1264, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1264, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.603, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -62.5, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.1, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.4, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.769, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -93.2, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.1, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.4, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 660678, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.718, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -71.7, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.1, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.4, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 237093, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/ihp-sg13g2/gcd/rules-base.json b/flow/designs/ihp-sg13g2/gcd/rules-base.json deleted file mode 100644 index 16d906c42e..0000000000 --- a/flow/designs/ihp-sg13g2/gcd/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 5260.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 6153, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 443, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 20, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 20, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.13, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -0.52, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.13, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.52, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.13, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -0.52, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.13, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.52, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 11061, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.13, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -0.52, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.13, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.52, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 6429, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/ihp-sg13g2/i2c-gpio-expander/rules-base.json b/flow/designs/ihp-sg13g2/i2c-gpio-expander/rules-base.json deleted file mode 100644 index a9f1c28507..0000000000 --- a/flow/designs/ihp-sg13g2/i2c-gpio-expander/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "09722ed7e143ceda685bf0922818e0ebf020a2aa", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "1623b878eac2dbf9fb6c6b3ddc6965bd030ccfed", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 13000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 39332, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 979, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 85, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 85, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -2.56, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -7.76, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.5, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -2.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -2.56, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -7.72, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.5, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -2.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 41793, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -2.55, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -7.53, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.5, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -2.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 42094, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/ihp-sg13g2/ibex/rules-base.json b/flow/designs/ihp-sg13g2/ibex/rules-base.json deleted file mode 100644 index 13f2ca7161..0000000000 --- a/flow/designs/ihp-sg13g2/ibex/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "9b3c875f099ed1c12270dc8c027f09e29e088934", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "abc014e4a60bb1dcb21a4ea33d2b2526fdcdd198", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 273000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 298992, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 20217, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1758, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1758, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.4, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -1.6, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.4, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -1.6, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.4, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -2.75, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.4, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -1.6, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 1000508, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.4, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -6.45, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.4, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -1.6, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 320206, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/ihp-sg13g2/jpeg/rules-base.json b/flow/designs/ihp-sg13g2/jpeg/rules-base.json deleted file mode 100644 index 79c7025411..0000000000 --- a/flow/designs/ihp-sg13g2/jpeg/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "7e08fc1759d3005b690a1ab0136ddfd3e31f5b6f", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "a10f7bb4ec3f096ec91e640668a5f0166a8c6ae0", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 1660000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 1024073, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 87386, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 7599, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 7599, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.4, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -1.6, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.4, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -1.6, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.4, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -1.6, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.4, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -1.6, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 3409783, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 203, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.4, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -1.6, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.4, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -1.6, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 1066902, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/ihp-sg13g2/riscv32i/rules-base.json b/flow/designs/ihp-sg13g2/riscv32i/rules-base.json deleted file mode 100644 index 1f5e30fb7f..0000000000 --- a/flow/designs/ihp-sg13g2/riscv32i/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "b4f565db0b086bcd3270591d0ea98964d283ffbe", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "d205df448c899c50ed3e5941017cc66da4ec14e8", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 139000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 156855, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 12927, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 925, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 925, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -2.44, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -2510.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.1, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.4, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -2.55, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -2250.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.1, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.4, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 429994, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -2.34, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -2430.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.1, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.4, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 167407, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/ihp-sg13g2/spi/rules-base.json b/flow/designs/ihp-sg13g2/spi/rules-base.json deleted file mode 100644 index 67ac223ff1..0000000000 --- a/flow/designs/ihp-sg13g2/spi/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "932c3068d46acd0c052faec6ef5b4d27a4a6cca4", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "3cc489cede7cd5ec5ace3dc04045cbd21f476225", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 2180.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 2635, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 178, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 13, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 13, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": 0.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -0.18, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.045, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.18, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.0426, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -0.2, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.045, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.18, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 4630, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.045, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -0.18, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.045, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.18, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 2756, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/nangate45/aes/rules-base.json b/flow/designs/nangate45/aes/rules-base.json deleted file mode 100644 index 94608e9563..0000000000 --- a/flow/designs/nangate45/aes/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "bae2653c3faec3cc7e22ac634586a2054361f147", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "37ae92e9b5d25faa1b8ae24bbfcf402e3c994748", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 17700.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 21358, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 16773, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1458, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1458, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.041, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -0.164, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.041, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.164, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.0659, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -0.963, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.041, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.164, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 256046, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.0667, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -0.364, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.041, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.164, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 21614, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/nangate45/ariane133/rules-base.json b/flow/designs/nangate45/ariane133/rules-base.json deleted file mode 100644 index d717e8aa34..0000000000 --- a/flow/designs/nangate45/ariane133/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "81693edfe843ad9b4d0765b95c0d77eb51fec26a", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "4b8f93623a14a5d246be274d2048383beb812b49", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 337000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 821946, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 187936, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 16342, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 16342, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.574, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -798.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.15, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.6, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 183, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.557, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -807.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.15, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.6, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 7951750, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 184, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.589, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -781.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.15, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.6, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 830957, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/nangate45/ariane136/rules-base.json b/flow/designs/nangate45/ariane136/rules-base.json deleted file mode 100644 index ccfdd30a79..0000000000 --- a/flow/designs/nangate45/ariane136/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "e9d0ce1a5ce75e4747093398d6de741aacd68997", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "355f28ea3d296567052f7ba386147f9850ef5e46", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 346000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 848859, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 204479, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 17781, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 17781, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.3, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -1.2, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.3, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -1.2, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 196, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.3, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -1.2, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.3, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -1.2, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 8580824, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 196, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.3, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -1.2, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.3, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -1.2, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 857385, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/nangate45/black_parrot/rules-base.json b/flow/designs/nangate45/black_parrot/rules-base.json deleted file mode 100644 index 55a22ba64d..0000000000 --- a/flow/designs/nangate45/black_parrot/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "cefc549d4e1bc55cbb57f9ace0f56cb5c0234b96", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "67df5599699f49af7f6e1c0ee3e409be910408e0", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 776000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 724309, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 242399, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 21078, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 21078, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -3.31, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -3.12, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": 0.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": 0.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 0, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -3.45, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -4.35, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": 0.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": 0.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 6759084, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 5, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -3.26, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -3.05, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": 0.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": 0.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 737075, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/nangate45/bp_be_top/rules-base.json b/flow/designs/nangate45/bp_be_top/rules-base.json deleted file mode 100644 index ac9ed1cb9c..0000000000 --- a/flow/designs/nangate45/bp_be_top/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "f99e27e57773757e59154ca39333f7f4b0578e5e", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "619fc9151eeeb062a7b47a91fea0fd48563df364", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 268204.56, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 273548, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 62588, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 5442, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 5442, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.331, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -23.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": 0.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": 0.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 0, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.315, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -22.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": 0.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": 0.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 2504235, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 5, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.318, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -23.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": 0.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": 0.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 275387, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/nangate45/bp_fe_top/rules-base.json b/flow/designs/nangate45/bp_fe_top/rules-base.json deleted file mode 100644 index af98db6383..0000000000 --- a/flow/designs/nangate45/bp_fe_top/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "282cefc5a68cd367daee839a554276fd42914ae4", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "9eaaba1fabff70a46490a76689ec642d3112ab3c", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 60900.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 244991, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 38771, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 3371, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 3371, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.199, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -9.73, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": 0.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": 0.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 0, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.215, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -3.06, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": 0.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": 0.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 1845063, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 5, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.224, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -3.9, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.002, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.003, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 247483, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/nangate45/bp_multi_top/rules-base.json b/flow/designs/nangate45/bp_multi_top/rules-base.json deleted file mode 100644 index 2ef11cd346..0000000000 --- a/flow/designs/nangate45/bp_multi_top/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "05dd376ac4f924e7272c418de710361e65e336c7", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "c97c7f2b4cdb8bf8a9c05268ca52302047fcb33c", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 182000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 572379, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 99445, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 8647, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 8647, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.35, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -0.86, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.17, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.68, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 103, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.434, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -0.944, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.17, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.68, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 3889222, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 103, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.362, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -0.872, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.17, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.68, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 579401, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/nangate45/bp_quad/rules-base.json b/flow/designs/nangate45/bp_quad/rules-base.json deleted file mode 100644 index 5a2576b859..0000000000 --- a/flow/designs/nangate45/bp_quad/rules-base.json +++ /dev/null @@ -1,202 +0,0 @@ -{ - "cts__flow__warnings__count:CTS-0041": { - "value": 38, - "compare": "<=", - "level": "warning" - }, - "cts__flow__warnings__count:RSZ-0062": { - "value": 1, - "compare": "<=", - "level": "warning" - }, - "cts__flow__warnings__count:RSZ-0066": { - "value": 1, - "compare": "<=", - "level": "warning" - }, - "detailedroute__flow__warnings__count:DRT-0120": { - "value": 81, - "compare": "<=", - "level": "warning" - }, - "detailedroute__flow__warnings__count:GRT-0246": { - "value": 1, - "compare": "<=", - "level": "warning" - }, - "floorplan__flow__warnings__count:EST-0027": { - "value": 1, - "compare": "<=", - "level": "warning" - }, - "floorplan__flow__warnings__count:IFP-0028": { - "value": 1, - "compare": "<=", - "level": "warning" - }, - "floorplan__flow__warnings__count:RSZ-0062": { - "value": 1, - "compare": "<=", - "level": "warning" - }, - "floorplan__flow__warnings__count:RSZ-0075": { - "value": 1001, - "compare": "<=", - "level": "warning" - }, - "floorplan__flow__warnings__count:STA-0345": { - "value": 3, - "compare": "<=", - "level": "warning" - }, - "floorplan__flow__warnings__count:STA-0349": { - "value": 1, - "compare": "<=", - "level": "warning" - }, - "floorplan__flow__warnings__count:STA-0441": { - "value": 8, - "compare": "<=", - "level": "warning" - }, - "flow__warnings__count:PDN-0195": { - "value": 18, - "compare": "<=", - "level": "warning" - }, - "globalplace__flow__warnings__count:GRT-0281": { - "value": 4, - "compare": "<=", - "level": "warning" - }, - "globalroute__flow__warnings__count:DRT-0120": { - "value": 81, - "compare": "<=", - "level": "warning" - }, - "globalroute__flow__warnings__count:FLW-0010": { - "value": 1, - "compare": "<=", - "level": "warning" - }, - "globalroute__flow__warnings__count:GRT-0246": { - "value": 1, - "compare": "<=", - "level": "warning" - }, - "globalroute__flow__warnings__count:RSZ-0062": { - "value": 1, - "compare": "<=", - "level": "warning" - }, - "globalroute__flow__warnings__count:RSZ-0066": { - "value": 1, - "compare": "<=", - "level": "warning" - }, - "placeopt__flow__warnings__count:RSZ-0095": { - "value": 1, - "compare": "<=", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 5620000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 11, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 6079647, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 1704487, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 148216, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 148216, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -150.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -38900000.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -151.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -39300000.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 1713, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -150.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -38900000.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -151.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -39300000.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 55217711, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 1713, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -150.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -38900000.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -151.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -39300000.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 6176926, - "compare": "<=" - } -} diff --git a/flow/designs/nangate45/cva6/rules-base.json b/flow/designs/nangate45/cva6/rules-base.json deleted file mode 100644 index e6bffb1e9e..0000000000 --- a/flow/designs/nangate45/cva6/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "a6e7399ec64d71ce8fec5c22f41a539dd3c51090", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "b71fbf82e3881b7cbe01957220b1b9b8ec605e5c", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 178000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 1, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 286611, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 117185, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 10190, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 10190, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -50.0, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -200.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -50.0, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -200.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 115, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -50.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -200.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -50.0, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -200.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 2496218, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 115, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -50.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -200.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -50.0, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -200.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 289845, - "compare": "<=" - } -} diff --git a/flow/designs/nangate45/dynamic_node/rules-base.json b/flow/designs/nangate45/dynamic_node/rules-base.json deleted file mode 100644 index 0066e8179a..0000000000 --- a/flow/designs/nangate45/dynamic_node/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "N/A", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 24900.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 27915, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 14957, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1301, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1301, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -1.11, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -795.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.1, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.4, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -1.13, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -797.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.1, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.4, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 246867, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -1.1, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -824.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.1, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.4, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 30558, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/nangate45/gcd/rules-base.json b/flow/designs/nangate45/gcd/rules-base.json deleted file mode 100644 index 589dd1efdf..0000000000 --- a/flow/designs/nangate45/gcd/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "6eab9bf1a5bd88a4f570c5a4fa7e0a72f6cd0e38", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "d0ed08e4f1392b96375711f43f15c146df735c44", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 721.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 952, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 818, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 71, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 71, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.169, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -7.07, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.0125, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.05, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.199, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -8.29, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.0125, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.05, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 7219, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.193, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -7.99, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.0125, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.05, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 1115, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/nangate45/ibex/rules-base.json b/flow/designs/nangate45/ibex/rules-base.json deleted file mode 100644 index 36f8eeeeb0..0000000000 --- a/flow/designs/nangate45/ibex/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "251a7e9db6994dab810d1a2174266d0ba009f754", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "b88eba9e324f199dd67b27ee2758a2425733d41d", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 32400.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 32972, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 16921, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1471, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1471, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.11, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -0.44, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.11, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.44, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.11, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -0.44, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.11, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.44, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 299943, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.11, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -12.1, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.11, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.44, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 33657, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/nangate45/jpeg/rules-base.json b/flow/designs/nangate45/jpeg/rules-base.json deleted file mode 100644 index 024c8674ab..0000000000 --- a/flow/designs/nangate45/jpeg/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "68889e6414356306c59a08370682ad4dd5f39bdd", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "c407a9ffbc28d864e70a8c48286ca822f87838d0", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 99800.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 102921, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 68062, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 5918, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 5918, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.215, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -65.6, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.05, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.2, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.228, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -80.5, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.05, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.2, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 757284, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.223, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -71.8, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.05, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.2, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 105092, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/nangate45/mempool_group/rules-base.json b/flow/designs/nangate45/mempool_group/rules-base.json deleted file mode 100644 index 010ce09b53..0000000000 --- a/flow/designs/nangate45/mempool_group/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "854f10be5d4851e5aad6e004fb399bc8b997767a", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "d61b02f43136f5333fb549c6c38f5dd4b902cedb", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 304000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 444176, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 188286, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 11373, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 11373, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -2.31, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -12400.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.15, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.6, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 169, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -2.31, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -14700.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.15, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.6, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 5256342, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 169, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -2.31, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -14400.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.15, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -1.7, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 453619, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/nangate45/swerv/rules-base.json b/flow/designs/nangate45/swerv/rules-base.json deleted file mode 100644 index 984de41ab7..0000000000 --- a/flow/designs/nangate45/swerv/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "436c34d23c63bf2b3404d7d2f1564e8c7db8d052", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "58d78ca9ec7bbe1022dbc0cac0de7197c27a1b00", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 166000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 177308, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 97710, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 8496, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 8496, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.772, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -519.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.0875, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.35, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 101, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.825, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -566.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.0875, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.35, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 2354992, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 101, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.713, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -600.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.0875, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.35, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 182894, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/nangate45/swerv_wrapper/rules-base.json b/flow/designs/nangate45/swerv_wrapper/rules-base.json deleted file mode 100644 index faea09c6ef..0000000000 --- a/flow/designs/nangate45/swerv_wrapper/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "2e4c779f3c305253be8170237d6d53f346f09dea", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "6f6a04a100dfca381063f6108693bec4c4deb8ed", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 170000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 727527, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 106084, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 9225, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 9225, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.429, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -467.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.1, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.4, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 105, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.431, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -545.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.1, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.4, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 4834629, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 105, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.408, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -515.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.1, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.4, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 733977, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/nangate45/tinyRocket/rules-base.json b/flow/designs/nangate45/tinyRocket/rules-base.json deleted file mode 100644 index f061089d95..0000000000 --- a/flow/designs/nangate45/tinyRocket/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "ad4afc4105509c55f767580e0419e3f7af695898", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "cd592143e54b8e419e2d890bfb1404df9c6d0e29", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 58300.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 1, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 60308, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 31653, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 2752, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 2752, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.185, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -35.8, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.06, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.24, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.168, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -54.2, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.06, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.24, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 538070, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.154, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -46.7, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.06, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.24, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 62067, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/sky130hd/aes/rules-base.json b/flow/designs/sky130hd/aes/rules-base.json deleted file mode 100644 index d076c7d0a2..0000000000 --- a/flow/designs/sky130hd/aes/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "317a77d3b228abf830a8c0807a2d8ef4267d4b8c", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "d3aa75b0545735776f5639f1180f56d90fcd59c1", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 89400.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 133287, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 20353, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1770, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1770, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.18, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -0.72, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.18, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.72, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.554, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -9.45, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.18, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.72, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 663060, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.425, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -6.09, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.18, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.72, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 142679, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/sky130hd/chameleon/rules-base.json b/flow/designs/sky130hd/chameleon/rules-base.json deleted file mode 100644 index c7510abc0d..0000000000 --- a/flow/designs/sky130hd/chameleon/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "95da73a25e9cd04ecac4d295fdb60c2fee120741", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "20346e2bb71b3bceb5ddfd86c17ebd78f52a7810", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 27800.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 6516233, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 59466, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 5171, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 5171, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.573, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -19.5, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.15, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.6, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.377, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -10.4, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.15, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.6, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 815739, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.287, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -5.01, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.15, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.6, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 6519902, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/sky130hd/gcd/rules-base.json b/flow/designs/sky130hd/gcd/rules-base.json deleted file mode 100644 index 6974bada45..0000000000 --- a/flow/designs/sky130hd/gcd/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "f71ed75a728f1b09f265949d818d4ab321b6d3c2", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "9aee1444e62e2785dc2ef50d4e278a326853fe68", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 2660.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 4663, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 550, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 54, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 48, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -1.49, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -63.9, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.055, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.22, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -1.61, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -69.7, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.055, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.22, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 13554, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -1.52, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -65.3, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.055, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.22, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 5812, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/sky130hd/ibex/rules-base.json b/flow/designs/sky130hd/ibex/rules-base.json deleted file mode 100644 index 5213c7f7b3..0000000000 --- a/flow/designs/sky130hd/ibex/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "8e8204dbf1773617f61b9f3c05634f6aacea8fc5", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "91b29a381155acaa2e4e43e760cd3e7bc0eb4a3b", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 147000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 166353, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 20977, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1824, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1824, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.505, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -2.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.5, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -2.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.576, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -2.82, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.5, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -2.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 703854, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.5, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -2.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.5, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -2.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 177762, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/sky130hd/jpeg/rules-base.json b/flow/designs/sky130hd/jpeg/rules-base.json deleted file mode 100644 index 391ca73742..0000000000 --- a/flow/designs/sky130hd/jpeg/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "90aa222b67c3cd240cba46f158f573e7cc521795", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "e541ab4a08cd728e85d21caea1b8ff125ef66772", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 440000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 487201, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 51614, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 4488, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 4488, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.941, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -113.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.25, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -1.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.853, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -142.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.25, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -1.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 1317179, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.931, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -82.3, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.25, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -1.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 518717, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/sky130hd/microwatt/rules-base.json b/flow/designs/sky130hd/microwatt/rules-base.json deleted file mode 100644 index f356673a39..0000000000 --- a/flow/designs/sky130hd/microwatt/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "ac96d25af26f4c444d6d33c37bcbe873ae3330f7", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "ef0ae6eee3a802961bdd11bae631bb23692b1abe", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 676000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 4, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 5359506, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 142482, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 12390, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 12390, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -2.08, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -274.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.75, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -3.0, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 3103, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -2.03, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -262.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.75, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -3.0, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 7753254, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 81, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 1463, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -1.91, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -225.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.75, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -3.0, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 5511421, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/sky130hd/riscv32i/rules-base.json b/flow/designs/sky130hd/riscv32i/rules-base.json deleted file mode 100644 index a8bc0fb318..0000000000 --- a/flow/designs/sky130hd/riscv32i/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "f20452093c3efb98c453fc32c7f521ba156f4983", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "18e04d1152a8c9d3cec59a06c9862f4a7f23b359", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 72800.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 81619, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 8365, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 727, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 727, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -1.41, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -143.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.3, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -1.2, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -1.45, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -338.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.3, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -1.2, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 312952, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -1.21, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -186.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.3, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -1.2, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 86893, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/sky130hs/aes/rules-base.json b/flow/designs/sky130hs/aes/rules-base.json deleted file mode 100644 index 61292780a3..0000000000 --- a/flow/designs/sky130hs/aes/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "3d12dee87cf323020b8fba0b2ac49475596d2020", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "2e9fdd494a435ed2ebe9f80341696566828bb181", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 121000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 161804, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 19420, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1689, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1689, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.14, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -0.56, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.14, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.56, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.351, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -4.37, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.14, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.56, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 686268, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.313, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -1.19, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.14, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.56, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 176005, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/sky130hs/gcd/rules-base.json b/flow/designs/sky130hs/gcd/rules-base.json deleted file mode 100644 index f2e2a76831..0000000000 --- a/flow/designs/sky130hs/gcd/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "0d441c6dac63d1d618655898f232573a121554ab", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "e598d077042e416747a790b1a77de09f8600deb2", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 4470.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 6112, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 715, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 62, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 54, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.358, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -12.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.07, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.28, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -1.0, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -25.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.07, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.28, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 18000, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -1.0, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -23.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.07, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.28, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 7136, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/sky130hs/ibex/rules-base.json b/flow/designs/sky130hs/ibex/rules-base.json deleted file mode 100644 index 4ca4781934..0000000000 --- a/flow/designs/sky130hs/ibex/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "e5ef95c5efd53db99bd0bb01e361b83db28b9b35", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "b1c4a967436ab05e2a4d233839b7d6650d5952e3", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 213000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 230821, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 19436, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 1690, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 1690, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.825, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -98.8, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.325, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -1.3, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -1.48, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -994.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.325, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -1.3, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 783228, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -1.28, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -761.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.325, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -1.3, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 243893, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/sky130hs/jpeg/rules-base.json b/flow/designs/sky130hs/jpeg/rules-base.json deleted file mode 100644 index d955b9280c..0000000000 --- a/flow/designs/sky130hs/jpeg/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "17ce8750964fb8436a41017b022516bccfdd8f7a", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "b371b17cfe3008ecb19b852bfd2edeee7558a563", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 701000.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 744037, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 55946, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 4865, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 4865, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.38, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -38.2, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.175, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.7, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.593, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -148.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.175, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.7, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 1632304, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.482, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -57.4, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.175, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.7, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 785962, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/designs/sky130hs/riscv32i/rules-base.json b/flow/designs/sky130hs/riscv32i/rules-base.json deleted file mode 100644 index 1d5a354907..0000000000 --- a/flow/designs/sky130hs/riscv32i/rules-base.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "synth__canonical_netlist__hash": { - "value": "8d40d4e314a1b923916d7140a5a7c7f96d879e39", - "compare": "==", - "level": "warning" - }, - "synth__netlist__hash": { - "value": "fafb6b1f9c8958dfcada11fcc29c4baec4c6960e", - "compare": "==", - "level": "warning" - }, - "synth__design__instance__area__stdcell": { - "value": 98900.0, - "compare": "<=" - }, - "constraints__clocks__count": { - "value": 2, - "compare": "==" - }, - "placeopt__design__instance__area": { - "value": 112440, - "compare": "<=" - }, - "placeopt__design__instance__count__stdcell": { - "value": 8187, - "compare": "<=" - }, - "detailedplace__design__violations": { - "value": 0, - "compare": "==" - }, - "cts__design__instance__count__setup_buffer": { - "value": 712, - "compare": "<=" - }, - "cts__design__instance__count__hold_buffer": { - "value": 712, - "compare": "<=" - }, - "cts__timing__setup__ws": { - "value": -0.516, - "compare": ">=" - }, - "cts__timing__setup__tns": { - "value": -227.0, - "compare": ">=" - }, - "cts__timing__hold__ws": { - "value": -0.2, - "compare": ">=" - }, - "cts__timing__hold__tns": { - "value": -0.8, - "compare": ">=" - }, - "globalroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "globalroute__timing__setup__ws": { - "value": -0.676, - "compare": ">=" - }, - "globalroute__timing__setup__tns": { - "value": -533.0, - "compare": ">=" - }, - "globalroute__timing__hold__ws": { - "value": -0.2, - "compare": ">=" - }, - "globalroute__timing__hold__tns": { - "value": -0.8, - "compare": ">=" - }, - "detailedroute__route__wirelength": { - "value": 343056, - "compare": "<=" - }, - "detailedroute__route__drc_errors": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna__violating__nets": { - "value": 0, - "compare": "<=" - }, - "detailedroute__antenna_diodes_count": { - "value": 100, - "compare": "<=" - }, - "finish__timing__setup__ws": { - "value": -0.567, - "compare": ">=" - }, - "finish__timing__setup__tns": { - "value": -364.0, - "compare": ">=" - }, - "finish__timing__hold__ws": { - "value": -0.2, - "compare": ">=" - }, - "finish__timing__hold__tns": { - "value": -0.8, - "compare": ">=" - }, - "finish__design__instance__area": { - "value": 120021, - "compare": "<=" - } -} \ No newline at end of file diff --git a/flow/scripts/variables.json b/flow/scripts/variables.json index 9327988582..c15355d693 100644 --- a/flow/scripts/variables.json +++ b/flow/scripts/variables.json @@ -1104,12 +1104,6 @@ "floorplan" ] }, - "RULES_JSON": { - "description": "json files with the metrics baseline regression rules. In the ORFS Makefile, this defaults to $DESIGN_DIR/rules-base.json, but ORFS does not mandate the users source directory layout and this can be placed elsewhere when the user sets up an ORFS config.mk or from bazel-orfs.\n", - "stages": [ - "test" - ] - }, "RUN_LOG_NAME_STEM": { "default": "run", "description": "Stem of the log file name, the log file will be named `$(LOG_DIR)/$(RUN_LOG_NAME_STEM).log`.\n" diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index 7b6a3e1c4a..4234d00bd6 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -1544,15 +1544,6 @@ FLOW_VARIANT: description: > Flow variant to use, used in the flow variant directory name. default: base -RULES_JSON: - description: > - json files with the metrics baseline regression rules. - In the ORFS Makefile, this defaults to $DESIGN_DIR/rules-base.json, - but ORFS does not mandate the users source directory layout and - this can be placed elsewhere when the user sets up an ORFS - config.mk or from bazel-orfs. - stages: - - test SKIP_ANTENNA_REPAIR_PRE_GRT: default: 0 description: > diff --git a/flow/util/checkMetadata.py b/flow/util/checkMetadata.py deleted file mode 100755 index 71c25425df..0000000000 --- a/flow/util/checkMetadata.py +++ /dev/null @@ -1,152 +0,0 @@ -#!/usr/bin/env python3 - -""" -This scripts checks the metadata.json against a set of rules for allowed -values. This allows degradation in results to be flagged as an error -in the build. - -The rules file has the form -{ - "rules": [ - { - "field" : "", - "value" : , - "compare": "" - }, ... - ] -} - -field is the name of a field in the metadata file -value is the reference value to compare to -operator can be one of "<", ">", "<=", ">=", "==", "!=". -The value is converted to a float for comparison if possible -""" - -from os.path import isfile -import argparse -import json -import operator -import sys - -parser = argparse.ArgumentParser( - description="Checks metadata from OpenROAD flow against a set of rules" -) -parser.add_argument("--metadata", "-m", required=True, help="The metadata file") -parser.add_argument("--rules", "-r", required=True, nargs="+", help="The rules file") -parser.add_argument( - "--only-prefix", - nargs="+", - default=None, - help="Check only rules whose field starts with one of these prefixes. " - "Lets a partial run (e.g. synthesis-only) be gated by a full-flow " - "rules file without tripping the missing-field error.", -) -args = parser.parse_args() - -with open(args.metadata) as metadataFile: - metadata = json.load(metadataFile) - -rules = dict() -for filePath in args.rules: - if isfile(filePath): - with open(filePath) as rulesFile: - rules.update(json.load(rulesFile)) - else: - print(f"[WARN] File {filePath} not found") - -if args.only_prefix: - rules = { - field: rule - for field, rule in rules.items() - if any(field.startswith(prefix) for prefix in args.only_prefix) - } - -if len(rules) == 0: - print("No rules") - sys.exit(1) - - -def try_number(string): - """ - Convert to a float if possible - """ - try: - return float(string) - except ValueError: - return string - - -ops = { - "<": operator.lt, - ">": operator.gt, - "<=": operator.le, - ">=": operator.ge, - "==": operator.eq, - "!=": operator.ne, -} - -ERRORS = 0 -WARNS = 0 - -# Check for new warnings -for field, build_value in metadata.items(): - if field not in rules.keys() and "__warnings__count:" in field: - print(f"[WARN] {field} fail test: {build_value} (New warning)") - WARNS += 1 - -# Check for rules -for field, rule in rules.items(): - compare = rule["compare"] - op = ops[compare] - rule_value = try_number(rule["value"]) - - if field in metadata.keys(): - build_value = try_number(metadata[field]) - elif "__warnings__count:" in field: - # Metric is a warning count. If the value is missing, - # there were zero warnings - build_value = 0.0 - else: - print(f"[ERROR] Value not found for {field}.") - sys.exit(1) - - # Convert to integer if possible - if isinstance(rule_value, float) and rule_value.is_integer(): - rule_value = int(rule_value) - if isinstance(build_value, float) and build_value.is_integer(): - build_value = int(build_value) - - try: - if op(build_value, rule_value): - PRE = "[INFO]" - CHECK = "pass" - elif rule.get("level") == "warning": - # Warning-level rules never fail the build, but the prior - # message ("[WARN] field pass test: a == b") was misleading - # when a != b -- the build_value clearly differed from the - # rule_value yet "pass" implied a match. Say "differs" - # instead so the diagnostic reads naturally for fields like - # the netlist hash where the user wants visibility without - # an error. - PRE = "[WARN]" - CHECK = "differs" - WARNS += 1 - else: - PRE = "[ERROR]" - CHECK = "fail" - ERRORS += 1 - except TypeError: - # Handle cases where types are not comparable (e.g., string vs. number) - PRE = "[ERROR]" - CHECK = "fail" - ERRORS += 1 - print(PRE, field, CHECK, "test:", build_value, compare, rule_value) - -print(f"Metadata check warnings: {WARNS}") - -if ERRORS == 0: - print(f"All metadata rules passed ({len(rules)} rules)") -else: - print(f"Failed metadata checks: {ERRORS} out of {len(rules)}") - -sys.exit(1 if ERRORS else 0) diff --git a/flow/util/checkQorMetrics.py b/flow/util/checkQorMetrics.py index b76f0ca4ae..9868b2eb8b 100755 --- a/flow/util/checkQorMetrics.py +++ b/flow/util/checkQorMetrics.py @@ -6,10 +6,9 @@ The check POSTs a run's numeric metrics from metadata.json to the dashboard, which compares them against a real baseline build -- the latest master build by default -- using the thresholds it stores in rule_configs. This is the QoR -gate behind `make metadata`. It replaced checkMetadata.py, which compared -against committed designs///rules-.json goldens: -absolute values a human regenerated at some point, so a metric moving with -master showed up as a failure against a stale golden. +gate behind `make metadata`. Rule tolerances live in the dashboard, not in +this repository, and the baseline moves with master, so a merged change +becomes the new baseline without a file update. Two modes: diff --git a/flow/util/genAllRuleFiles.sh b/flow/util/genAllRuleFiles.sh deleted file mode 100755 index c08b12f92c..0000000000 --- a/flow/util/genAllRuleFiles.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -if [[ $# -eq 0 ]]; then - echo "usage: $0 " - echo " will be given to genRuleFile.py" - exit 1 -fi - -cd "$(dirname $(readlink -f $0))/../" - -for variant in base hier_rtlmp -do - for f in $(find . -name "rules-${variant}.json") - do - dir="$(dirname $f)" - echo "${dir/.\/designs\//} $variant" - ./util/genRuleFile.py "$dir" --variant "$variant" "$@" - echo - done -done diff --git a/flow/util/genMetrics.py b/flow/util/genMetrics.py index 9f20e89b16..0c2b94f9a3 100755 --- a/flow/util/genMetrics.py +++ b/flow/util/genMetrics.py @@ -251,9 +251,8 @@ def extract_metrics( merge_jsons(logPath, metrics_dict, "1_*.json") # Netlist hashes: fingerprints of the canonical RTLIL (pre-ABC) and - # the final post-synthesis Verilog so the rules-base.json check - # (level=warning) flags when bazel-built vs make-built yosys - # disagree for the same RTL. + # the final post-synthesis Verilog, so a QoR check can flag when + # bazel-built vs make-built yosys disagree for the same RTL. metrics_dict["synth__canonical_netlist__hash"] = file_sha1( resultPath + "/1_1_yosys_canonicalize.rtlil" ) diff --git a/flow/util/genRuleFile.py b/flow/util/genRuleFile.py deleted file mode 100755 index 358d59231e..0000000000 --- a/flow/util/genRuleFile.py +++ /dev/null @@ -1,516 +0,0 @@ -#!/usr/bin/env python3 - -from math import ceil, isinf -from os import chdir, getcwd -from os.path import isfile -from re import sub -import argparse -import fnmatch -import json -import operator -import os -import sys - - -def gen_rule_file( - rules_file, - new_rules_file, - update, - tighten, - failing, - variant, - metrics_file=None, - metrics_to_consider=[], -): - with open(metrics_file, "r") as f: - metrics = json.load(f) - if not isinstance(metrics, dict): - print(f"[ERROR] Invalid format for reference metrics {metrics_file}") - sys.exit(1) - - rules = dict() - if isfile(rules_file): - with open(rules_file, "r") as f: - OLD_RULES = json.load(f) - else: - print(f"[WARNING] No old rules file found {rules_file}") - OLD_RULES = None - - # Notes - # - Apply tighter margin on timing__setup__ws than timing__setup__tns - # because WNS is more important than TNS. - # - Apply the consistent margins on timing__setup__* and timing__hold__* - # - 'period_padding' mode is used for timing__setup__* and timing__hold__* - # to give small margin based on clock period to avoid failures by small - # violations. - - # dict format - # 'metric_name': { - # 'mode': , one of ['direct', 'literal', 'sum_fixed', 'period', - # 'padding', 'period_padding', 'abs_padding', - # 'metric']. 'literal' propagates the metric - # value verbatim (e.g. a hash string) and - # skips all numeric padding/rounding. - # 'padding': , percentage of padding to use - # 'fixed': , sum this number instead of using % padding - # 'round_value': , use the rounded value for the rule - # 'compare': , one of ['<', '>', '<=', '>=', '==', '!='] - # 'metric': , when mode is 'metric', use this metric to compute - # the rule value - # 'min_max': , one of [min, max], optional - # 'min_max_direct': , optional - # 'min_max_sum': , optional - # 'min_max_period': , optional - # 'level': , severity level. ['warning' or - # others (means ERROR, default) ] - # } - - rules_dict = { - # all stages - "*flow__warnings__count:*": { - "mode": "direct", - "round_value": True, - "compare": "<=", - "level": "warning", - }, - # synth - # Yosys netlist hash fingerprints. `mode: literal` propagates - # the string value verbatim; `level: warning` means a mismatch - # surfaces as a [WARN] diagnostic in checkMetadata.py without - # failing the build, matching how rules-base.json already - # treats warning counts. - "synth__canonical_netlist__hash": { - "mode": "literal", - "compare": "==", - "level": "warning", - }, - "synth__netlist__hash": { - "mode": "literal", - "compare": "==", - "level": "warning", - }, - "synth__design__instance__area__stdcell": { - "mode": "padding", - "padding": 15, - "round_value": False, - "compare": "<=", - }, - # clock - "constraints__clocks__count": { - "mode": "direct", - "round_value": True, - "compare": "==", - }, - # place - "placeopt__design__instance__area": { - "mode": "padding", - "padding": 15, - "round_value": True, - "compare": "<=", - }, - "placeopt__design__instance__count__stdcell": { - "mode": "padding", - "padding": 15, - "round_value": True, - "compare": "<=", - }, - "detailedplace__design__violations": { - "mode": "direct", - "round_value": True, - "compare": "==", - }, - # cts - "cts__design__instance__count__setup_buffer": { - "mode": "metric", - "padding": 10, - "metric": "placeopt__design__instance__count__stdcell", - "round_value": True, - "compare": "<=", - }, - "cts__design__instance__count__hold_buffer": { - "mode": "metric", - "padding": 10, - "metric": "placeopt__design__instance__count__stdcell", - "round_value": True, - "compare": "<=", - }, - "cts__timing__setup__ws": { - "mode": "period_padding", - "padding": 5, - "round_value": False, - "compare": ">=", - }, - "cts__timing__setup__tns": { - "mode": "period_padding", - "padding": 20, - "round_value": False, - "compare": ">=", - }, - "cts__timing__hold__ws": { - "mode": "period_padding", - "padding": 5, - "round_value": False, - "compare": ">=", - }, - "cts__timing__hold__tns": { - "mode": "period_padding", - "padding": 20, - "round_value": False, - "compare": ">=", - }, - # route - "globalroute__antenna_diodes_count": { - "mode": "metric", - "padding": 0.1, - "metric": "globalroute__route__net", - "min_max": max, - "min_max_direct": 100, - "round_value": True, - "compare": "<=", - }, - "globalroute__timing__setup__ws": { - "mode": "period_padding", - "padding": 5, - "round_value": False, - "compare": ">=", - }, - "globalroute__timing__setup__tns": { - "mode": "period_padding", - "padding": 20, - "round_value": False, - "compare": ">=", - }, - "globalroute__timing__hold__ws": { - "mode": "period_padding", - "padding": 5, - "round_value": False, - "compare": ">=", - }, - "globalroute__timing__hold__tns": { - "mode": "period_padding", - "padding": 20, - "round_value": False, - "compare": ">=", - }, - "detailedroute__route__wirelength": { - "mode": "padding", - "padding": 15, - "round_value": True, - "compare": "<=", - }, - "detailedroute__route__drc_errors": { - "mode": "direct", - "round_value": True, - "compare": "<=", - }, - "detailedroute__antenna__violating__nets": { - "mode": "padding", - "padding": 30, - "round_value": True, - "compare": "<=", - }, - "detailedroute__antenna_diodes_count": { - "mode": "metric", - "padding": 0.1, - "metric": "detailedroute__route__net", - "min_max": max, - "min_max_direct": 100, - "round_value": True, - "compare": "<=", - }, - # finish - "finish__timing__setup__ws": { - "mode": "period_padding", - "padding": 5, - "round_value": False, - "compare": ">=", - }, - "finish__timing__setup__tns": { - "mode": "period_padding", - "padding": 20, - "round_value": False, - "compare": ">=", - }, - "finish__timing__hold__ws": { - "mode": "period_padding", - "padding": 5, - "round_value": False, - "compare": ">=", - }, - "finish__timing__hold__tns": { - "mode": "period_padding", - "padding": 20, - "round_value": False, - "compare": ">=", - }, - "finish__design__instance__area": { - "mode": "padding", - "padding": 15, - "round_value": True, - "compare": "<=", - }, - } - - ops = { - "<": operator.lt, - ">": operator.gt, - "<=": operator.le, - ">=": operator.ge, - "==": operator.eq, - "!=": operator.ne, - } - - period_list = metrics.get("constraints__clocks__details") - - period = 0.0 - if period_list: - period = float(sub(r"^.*: ", "", period_list[0])) - if len(period_list) != 1: - print( - f"[WARNING] Multiple clocks not supported. Will use first clock: {period_list[0]}." - ) - else: - print( - "[WARNING] 'constraints__clocks__details' not found or is empty in metrics. Clock-related rules might be affected." - ) - - format_str = "| {:45} | {:10} | {:10} | {:8} |\n" - change_str = "" - - processed_fields = set() - for pattern, option in rules_dict.items(): - matching_fields = [] - # Find all metric fields that match this pattern. - if "*" in pattern: - for metric_field in sorted(metrics.keys()): - if ( - fnmatch.fnmatch(metric_field, pattern) - and metric_field not in processed_fields - ): - matching_fields.append(metric_field) - elif pattern in metrics and pattern not in processed_fields: - matching_fields.append(pattern) - - for field in matching_fields: - # Replace ':' with '__' as the dashboard DB does not accept - # ':' in # field names. - if ":" in field: - field = field.replace(":", "__") - processed_fields.add(field) - if isinstance(metrics[field], str) and option["mode"] != "literal": - print(f"[WARNING] Skipping string field {field} = {metrics[field]}") - continue - - if len(period_list) != 1 and field == "globalroute__timing__clock__slack": - print("[WARNING] Skipping clock slack until multiple clocks support.") - continue - - rule_value = None - if option["mode"] == "direct": - rule_value = metrics[field] - - elif option["mode"] == "literal": - rule_value = metrics[field] - - elif option["mode"] == "sum_fixed": - rule_value = metrics[field] + option["padding"] - - elif option["mode"] == "period": - rule_value = metrics[field] - period * option["padding"] / 100 - rule_value = min(rule_value, 0) - - elif option["mode"] == "padding": - rule_value = metrics[field] * (1 + option["padding"] / 100) - - elif option["mode"] == "period_padding": - negative_slack = min(metrics[field], 0) - rule_value = negative_slack - max( - negative_slack * option["padding"] / 100, - period * option["padding"] / 100, - ) - - elif option["mode"] == "abs_padding": - rule_value = abs(metrics[field]) * (1 + option["padding"] / 100) - - elif option["mode"] == "metric": - rule_value = metrics[option["metric"]] * option["padding"] / 100 - - if ( - field == "cts__design__instance__count__setup_buffer" - or field == "cts__design__instance__count__hold_buffer" - ): - rule_value = max(rule_value, metrics[field] * 1.1) - - if "min_max" in option.keys(): - if "min_max_direct" in option.keys(): - rule_value = option["min_max"](rule_value, option["min_max_direct"]) - elif "min_max_sum" in option.keys(): - rule_value = option["min_max"]( - rule_value + option["min_max_sum"], option["min_max_sum"] - ) - elif "min_max_period" in option.keys(): - rule_value = option["min_max"]( - rule_value, -period * option["min_max_period"] / 100.0 - ) - else: - print( - f"[ERROR] Metric {field} has 'min_max' field but no " - "'min_max_direct', 'min_max_sum', or 'min_max_period' field." - ) - sys.exit(1) - - if rule_value is None: - print(f"[ERROR] Metric {field} has invalid mode {option['mode']}.") - sys.exit(1) - - if option["mode"] != "literal": - if option["round_value"] and not isinf(rule_value): - rule_value = int(round(rule_value)) - else: - rule_value = float(f"{rule_value:.3g}") - - preserve_old_rule = ( - True - if len(metrics_to_consider) > 0 and field not in metrics_to_consider - else False - ) - has_old_rule = OLD_RULES is not None and field in OLD_RULES.keys() - - if has_old_rule and preserve_old_rule: - rule_value = OLD_RULES[field]["value"] - - if has_old_rule and not preserve_old_rule: - old_rule = OLD_RULES[field] - if old_rule["compare"] != option["compare"]: - print("[WARNING] Compare operator changed since last update.") - - compare = ops[option["compare"]] - - if compare(rule_value, metrics[field]) and "padding" in option.keys(): - rule_value = metrics[field] * (1 + option["padding"] / 100) - if option["round_value"] and not isinf(rule_value): - rule_value = int(round(rule_value)) - else: - rule_value = float(f"{rule_value:.3g}") - - need_to_update = False - if ( - tighten - and rule_value != old_rule["value"] - and compare(rule_value, old_rule["value"]) - ): - need_to_update = True - change_str += format_str.format( - field, old_rule["value"], rule_value, "Tighten" - ) - - if failing and not compare(metrics[field], old_rule["value"]): - need_to_update = True - change_str += format_str.format( - field, old_rule["value"], rule_value, "Failing" - ) - - if update and old_rule["value"] != rule_value: - need_to_update = True - change_str += format_str.format( - field, old_rule["value"], rule_value, "Updating" - ) - - if not need_to_update: - rule_value = old_rule["value"] - - rule_entry = {"value": rule_value, "compare": option["compare"]} - if "level" in option: - rule_entry["level"] = option["level"] - rules[field] = rule_entry - - if len(change_str) > 0: - print(f"{os.path.normpath(rules_file)} updates:") - print(format_str.format("Metric", "Old", "New", "Type"), end="") - print(format_str.format("------", "---", "---", "----"), end="") - print(change_str) - - with open(new_rules_file, "w") as f: - json.dump(rules, f, indent=4) - - -def comma_separated_list(value): - if value is None or value == "all": - return [] - return [item.strip() for item in value.split(",")] - - -if __name__ == "__main__": - parser = argparse.ArgumentParser( - description="Generates or updates rules file for CI." - ) - parser.add_argument( - "-v", "--variant", default="base", help='Flow variant [default="base"].' - ) - parser.add_argument( - "-u", - "--update", - action="store_true", - default=False, - help="Update all rules independent of previous values.", - ) - parser.add_argument( - "-t", - "--tighten", - action="store_true", - default=False, - help="Update passing rules if they became tighter", - ) - parser.add_argument( - "-f", - "--failing", - action="store_true", - default=False, - help="Update failing rules.", - ) - parser.add_argument( - "-r", - "--reference", - type=str, - default=None, - help="Reference metadata file.", - ) - parser.add_argument( - "--rules", - type=str, - default=None, - help="Rules input file.", - ) - parser.add_argument( - "--new-rules", - type=str, - default=None, - help="Rules output file.", - ) - parser.add_argument( - "-m", - "--metrics", - type=comma_separated_list, - default="all", - help="Only consider the following metrics to change. [default=all]", - ) - args = parser.parse_args() - - if not args.update and not args.tighten and not args.failing: - print( - "[ERROR] Please select at least one of " - "-u/--update, -t/--tighten, -f/--failing." - ) - parser.print_help() - sys.exit(1) - - gen_rule_file( - args.rules, - args.new_rules, - args.update, - args.tighten, - args.failing, - args.variant, - args.reference, - args.metrics, - ) diff --git a/flow/util/synDashboard.py b/flow/util/synDashboard.py deleted file mode 100644 index 6204e8f4cb..0000000000 --- a/flow/util/synDashboard.py +++ /dev/null @@ -1,175 +0,0 @@ -#!/usr/bin/env python3 - -"""TL;DR dashboard over locally built OpenROAD-SYN QoR test results. - -The local counterpart of https://dashboard.precisioninno.com/: scans -bazel-testlogs for the forced-engine QoR tests emitted by -flow/designs/design.bzl (_{syn,yosys}[_synth]_test) and prints a -GitHub-flavored markdown status table, so the output can be pasted -into a PR or issue as-is. Reads only what previous `bazelisk test` -runs left behind — it never builds anything, so it is instant. - -Run it via: - bazelisk run //flow/designs:syn-dashboard -""" - -import os -import re -import sys -import time -import xml.etree.ElementTree as ET -from pathlib import Path - -# _{syn,yosys}[_synth]_test, as emitted by design.bzl's -# forced-engine variants. "_synth" marks the fast synthesis-only tier. -TARGET_RE = re.compile(r"^(?P.+)_(?Psyn|yosys)(?P_synth)?_test$") - -FAIL_RULE_RE = re.compile(r"^\[ERROR\] (\S+) fail test: (.*)$") -MISSING_RULE_RE = re.compile(r"^\[ERROR\] Value not found for (\S+)\.$") - -# (engine, fast) -> table column, in display order. -COLUMNS = [ - ("syn", True, "SYN synth"), - ("syn", False, "SYN flow"), - ("yosys", True, "yosys synth"), - ("yosys", False, "yosys flow"), -] - - -def workspace_root(): - """The bazel workspace root: BUILD_WORKSPACE_DIRECTORY under - `bazel run`, else the nearest ancestor holding MODULE.bazel.""" - env = os.environ.get("BUILD_WORKSPACE_DIRECTORY") - if env: - return Path(env) - for path in [Path.cwd()] + list(Path.cwd().parents): - if (path / "MODULE.bazel").is_file(): - return path - sys.exit("error: not inside a bazel workspace (no MODULE.bazel found)") - - -def test_status(test_dir): - """(passed, mtime) for one bazel-testlogs test dir, or None if the - test never produced a result. The test.xml duration is just the - metadata-check action, not the flow build, so it is not reported.""" - xml_file = test_dir / "test.xml" - if not xml_file.is_file(): - return None - try: - root = ET.parse(xml_file).getroot() - failures = 0 - for suite in root.iter("testsuite"): - failures += int(suite.get("failures") or 0) + int(suite.get("errors") or 0) - except (ET.ParseError, ValueError, TypeError): - # A corrupt test.xml is "no result", not a pass — swallowing the - # error inside the sum would render a green cell for it. - return None - return failures == 0, xml_file.stat().st_mtime - - -def failing_rules(test_dir): - """Failed rule fields harvested from checkMetadata.py output in - test.log.""" - log_file = test_dir / "test.log" - if not log_file.is_file(): - return [] - fields = [] - for line in log_file.read_text(encoding="utf-8", errors="replace").splitlines(): - match = FAIL_RULE_RE.match(line) - if match: - fields.append(match.group(1)) - continue - match = MISSING_RULE_RE.match(line) - if match: - fields.append(match.group(1) + " (missing)") - return fields - - -def age(mtime): - seconds = max(0, time.time() - mtime) - if seconds >= 86400: - return f"{seconds / 86400:.0f}d ago" - if seconds >= 3600: - return f"{seconds / 3600:.0f}h ago" - if seconds >= 60: - return f"{seconds / 60:.0f}m ago" - return "just now" - - -def collect(root): - """{(platform, design_pkg): {(engine, fast): result}} from - bazel-testlogs, where result adds the failed-rule fields.""" - designs = {} - testlogs = root / "bazel-testlogs" / "flow" / "designs" - if not testlogs.is_dir(): - return designs - for xml_file in testlogs.glob("*/*/*/test.xml"): - target_dir = xml_file.parent - match = TARGET_RE.match(target_dir.name) - if not match: - continue - status = test_status(target_dir) - if status is None: - continue - passed, mtime = status - key = (target_dir.parent.parent.name, target_dir.parent.name) - designs.setdefault(key, {})[ - (match.group("engine"), bool(match.group("fast"))) - ] = { - "passed": passed, - "mtime": mtime, - "failing": [] if passed else failing_rules(target_dir), - } - return designs - - -def format_rules(fields, limit=3): - if len(fields) > limit: - fields = fields[:limit] + [f"+{len(fields) - limit} more"] - return ", ".join(fields) - - -def main(): - designs = collect(workspace_root()) - print("# OpenROAD-SYN local status") - print() - if not designs: - print("No forced-engine test results under bazel-testlogs yet. Build some:") - print() - print(" bazelisk test --keep_going //flow/designs/asap7:syn_synth_test") - print(" bazelisk test --keep_going //flow/designs/asap7:syn_test") - return - header = ( - ["design"] + [title for _, _, title in COLUMNS] + ["failing rules", "last run"] - ) - print("| " + " | ".join(header) + " |") - print("|" + "|".join(["---"] * len(header)) + "|") - for (platform, pkg), results in sorted(designs.items()): - cells = [] - for engine, fast, _ in COLUMNS: - result = results.get((engine, fast)) - if result is None: - cells.append("—") - else: - cells.append("✅" if result["passed"] else "❌") - # The most meaningful failure detail: the full SYN flow if it - # failed, else the fast SYN tier, else any failing variant. - failing = [] - for key in [("syn", False), ("syn", True), ("yosys", False), ("yosys", True)]: - result = results.get(key) - if result and not result["passed"] and result["failing"]: - failing = result["failing"] - break - newest = max(r["mtime"] for r in results.values()) - row = [f"{platform}/{pkg}"] + cells + [format_rules(failing), age(newest)] - print("| " + " | ".join(row) + " |") - print() - print("Each cell reflects its own last `bazelisk test` run; `last run` is the") - print("newest across the row. `—` = no local result: never run, or its build") - print("failed outright (e.g. synthesis died) — bazel records no test result") - print("for build failures, so run the suites with `--keep_going` and check") - print("their output for `FAILED TO BUILD`.") - - -if __name__ == "__main__": - main() diff --git a/flow/util/utils.mk b/flow/util/utils.mk index e5eec633b5..2c0d3f98c0 100644 --- a/flow/util/utils.mk +++ b/flow/util/utils.mk @@ -32,7 +32,6 @@ metadata-generate: # a private platform and DASHBOARD_JOB_NAME when the baseline pipeline is # not OpenROAD-flow-scripts-Public. A failed rule fails the target; an # unreachable dashboard or a design without a baseline only warns. -# The legacy rules-file check is `make metadata-check-rules`. .PHONY: metadata-check metadata-check: $(PYTHON_EXE) $(UTILS_DIR)/checkQorMetrics.py \ @@ -50,65 +49,37 @@ metadata-check-synth: --only-prefix synth__ constraints__ 2>&1 \ | tee $(abspath $(REPORTS_DIR)/metadata-check.log) -# Legacy gate against the committed designs///rules- -# .json. Kept for bazel-orfs and for `update_rules`; not part of -# `make metadata`. -export RULES_JSON ?= $(DESIGN_DIR)/rules-$(FLOW_VARIANT).json +# The rules-file check (checkMetadata.py against a committed +# designs///rules-.json) was removed. The QoR +# dashboard holds the rules now. These stubs warn callers that still use +# the old targets or RULES_JSON, and exit 0 so a wrapper script keeps +# running; drop them once bazel-orfs and the CI scripts have moved. +ifdef RULES_JSON +$(warning [WARN] RULES_JSON is deprecated and ignored. The QoR gate is the \ + dashboard check in `make metadata`; rules files are no longer read.) +endif -.PHONY: metadata-check-rules -metadata-check-rules: - $(PYTHON_EXE) $(UTILS_DIR)/checkMetadata.py \ - -m $(REPORTS_DIR)/metadata.json \ - -r $(RULES_JSON) 2>&1 \ - | tee $(abspath $(REPORTS_DIR)/metadata-check-rules.log) +LEGACY_RULES_TARGETS := metadata-check-rules update_ok update_rules \ + update_rules_force do-update_rules \ + do-update_rules_force do-copy_update_rules +.PHONY: $(LEGACY_RULES_TARGETS) +$(LEGACY_RULES_TARGETS): + @echo "[WARN] make $@ is deprecated and does nothing. The rules files" \ + "(rules-.json), checkMetadata.py, and genRuleFile.py" \ + "were removed. The QoR gate is now the dashboard check in" \ + "\`make metadata\` (see docs/contrib/Metrics.md). Rule tolerances" \ + "live in the dashboard, so there is nothing to update locally." .PHONY: clean_metadata clean_metadata: rm -f $(REPORTS_DIR)/design-dir.txt rm -f $(REPORTS_DIR)/metadata*.* -.PHONY: update_ok -update_ok: update_rules - .PHONY: update_metadata update_metadata: cp -f $(REPORTS_DIR)/metadata.json \ $(DESIGN_DIR)/metadata-$(FLOW_VARIANT)-ok.json -.PHONY: do-update_rules -do-update_rules: - mkdir -p $(REPORTS_DIR) - $(PYTHON_EXE) $(UTILS_DIR)/genRuleFile.py \ - --rules $(RULES_JSON) \ - --new-rules $(REPORTS_DIR)/rules.json \ - --reference $(REPORTS_DIR)/metadata.json \ - --variant $(FLOW_VARIANT) \ - --failing \ - --tighten - -.PHONY: do-copy_update_rules -do-copy_update_rules: - cp -f $(REPORTS_DIR)/rules.json \ - $(RULES_JSON) - -.PHONY: update_rules -update_rules: do-update_rules do-copy_update_rules - -.PHONY: do-update_rules_force -do-update_rules_force: - mkdir -p $(REPORTS_DIR) - $(PYTHON_EXE) $(UTILS_DIR)/genRuleFile.py \ - --rules $(RULES_JSON) \ - --new-rules $(REPORTS_DIR)/rules.json \ - --reference $(REPORTS_DIR)/metadata.json \ - --variant $(FLOW_VARIANT) \ - --update - -.PHONY: update_rules_force -update_rules_force: do-update_rules_force - cp -f $(REPORTS_DIR)/rules.json \ - $(RULES_JSON) - .PHONY: update_metadata_autotuner update_metadata_autotuner: $(PYTHON_EXE) $(UTILS_DIR)/genMetrics.py -d $(DESIGN_NICKNAME) \ From 73ae8aa607a5e7ee62d37ee2b819f28624e307ac Mon Sep 17 00:00:00 2001 From: Vitor Bandeira Date: Mon, 21 Sep 2026 14:27:27 -0300 Subject: [PATCH 3/7] fix(metadata): resolve paths, reject bad metadata, warn on outages Three review findings on the dashboard check. The script changes to flow/ before it reads anything. The relative path from $(REPORTS_DIR) did not resolve for an out-of-tree WORK_HOME, so an existing metadata.json was reported as missing. The make targets now pass an absolute path. The script resolves --metadata against the caller's directory. A malformed metadata.json, or one without a numeric metric, passed as INCONCLUSIVE with exit 0. It is a local input error. It now has its own status, prints an [ERROR] line, ends with `QoR check: ERROR`, and exits 1. An unreachable dashboard printed an [ERROR] line. genReport.py counts [ERROR] lines in metadata-check.log as a failed design, although the check exits 0. That line is now a [WARN]. Signed-off-by: Vitor Bandeira --- docs/contrib/Metrics.md | 16 ++++---- flow/util/checkQorMetrics.py | 76 +++++++++++++++++++++++++----------- flow/util/utils.mk | 4 +- 3 files changed, 64 insertions(+), 32 deletions(-) diff --git a/docs/contrib/Metrics.md b/docs/contrib/Metrics.md index 531d86128d..09687e33ca 100644 --- a/docs/contrib/Metrics.md +++ b/docs/contrib/Metrics.md @@ -37,13 +37,15 @@ make [clean_metadata] metadata the dashboard). The check log is written to `$(REPORTS_DIR)/metadata-check.log`. It lists every failed rule with the baseline value, the current value, the limit, and the delta, and ends with a -`QoR check: PASS`, `FAIL`, or `INCONCLUSIVE` line. - -A `FAIL` verdict fails the target. An `INCONCLUSIVE` verdict does not: the -dashboard had no baseline for the design, evaluated nothing, or could not be -reached, so the check did not run. Read the `[WARN]` lines to see which. -Pass `--strict` to `checkQorMetrics.py` to get distinct exit codes instead -(2 inconclusive, 3 unreachable). +`QoR check: PASS`, `FAIL`, `INCONCLUSIVE`, or `ERROR` line. + +A `FAIL` verdict fails the target. So does `ERROR`, which means +`metadata.json` was missing, malformed, or held no numeric metric. An +`INCONCLUSIVE` verdict does not fail the target: the dashboard had no +baseline for the design, evaluated nothing, or could not be reached, so the +check did not run. Read the `[WARN]` lines to see which. Pass `--strict` to +`checkQorMetrics.py` to get distinct exit codes instead (2 inconclusive, +3 unreachable). Two environment variables shape the comparison: diff --git a/flow/util/checkQorMetrics.py b/flow/util/checkQorMetrics.py index 9868b2eb8b..c871483f5d 100755 --- a/flow/util/checkQorMetrics.py +++ b/flow/util/checkQorMetrics.py @@ -22,12 +22,13 @@ ./util/checkQorMetrics.py Exit status: 1 when the dashboard reports a failed rule for any checked run, +or when a metadata.json is missing, malformed, or holds no numeric metric. 0 otherwise. A run the dashboard could not judge -- no baseline, nothing evaluated, or the service unreachable -- is reported as a warning and does not fail the check: the check did not run, which is not the same as failing it. --strict turns those into exit 2 (inconclusive) and 3 (unreachable) for a CI -caller that wants to tell them apart. A missing or unreadable --metadata file -is a usage error and exits 1. +caller that wants to tell them apart. The last line of the report is +`QoR check: PASS`, `FAIL`, `INCONCLUSIVE`, or `ERROR`. """ import argparse @@ -42,6 +43,9 @@ # Run from flow/ the way the other report scripts do (genReport.py, # genReportTable.py, uploadMetadata.py), so the walk root below is theirs. +# A path the caller passed on the command line is relative to where the +# caller was, not to flow/, so keep that directory to resolve it. +INVOCATION_DIR = os.getcwd() os.chdir(os.path.join(os.path.dirname(os.path.abspath(__file__)), "..")) REPORTS_FOLDER = "reports" @@ -139,8 +143,12 @@ def find_runs(reports_dir): return runs, missing +class MetadataError(Exception): + """metadata.json is missing, unreadable, or holds no numeric metric.""" + + def load_metadata(path, only_prefix=None): - """Returns (metrics, commit_sha). Metrics is empty if the file is unusable. + """Returns (metrics, commit_sha). Raises MetadataError if the file is unusable. only_prefix keeps just the metrics whose name starts with one of the given prefixes. The dashboard evaluates only the metrics it receives, so sending @@ -150,8 +158,9 @@ def load_metadata(path, only_prefix=None): with open(path, encoding="utf-8") as metadata_file: raw = json.load(metadata_file) except (OSError, json.JSONDecodeError) as error: - print(f"[WARN] Could not read {path}: {error}") - return {}, "" + raise MetadataError(f"could not read {path}: {error}") from error + if not isinstance(raw, dict): + raise MetadataError(f"{path} is not a JSON object") # The API takes a name -> number map, so every string value is dropped. That # includes constraints__clocks__details, which is a list and is the clock @@ -178,6 +187,9 @@ def load_metadata(path, only_prefix=None): if any(key.startswith(prefix) for prefix in only_prefix) } + if not metrics: + raise MetadataError(f"no numeric metrics in {path}") + commit = str(raw.get(COMMIT_KEY, "")) return metrics, commit if SHA_RE.match(commit) else "" @@ -240,9 +252,13 @@ def check_run(run, endpoint, api_key, base_commit, job_name, only_prefix=None): # skip the report for every other run. Report it as this run's error and let # the other runs finish; exit_code() turns it into the documented status. try: - metrics, commit = load_metadata(metadata_path, only_prefix) - if not metrics: - result["error"] = f"no numeric metrics in {metadata_path}" + # A bad local file is the caller's problem, not the service's: it gets + # its own status so it exits 1 instead of passing as inconclusive. + try: + metrics, commit = load_metadata(metadata_path, only_prefix) + except MetadataError as error: + result["status"] = "invalid" + result["error"] = str(error) return result result["metric_count"] = len(metrics) @@ -286,10 +302,17 @@ def render_run(result, verbose): identity = f"{result['platform']}/{result['design']}/{result['variant']}" lines = [BANNER] - if result["status"] == "error": + if result["status"] == "invalid": lines.append(f"[ERROR] {identity}: {result['error']}") return lines + if result["status"] == "error": + # genReport.py counts [ERROR] lines in metadata-check.log as a failed + # design. An unreachable service does not fail the check, so it must + # not read as one. + lines.append(f"[WARN] {identity}: dashboard not reached: {result['error']}") + return lines + response = result["response"] strategy = response.get("baselineStrategy") or "none" @@ -390,7 +413,8 @@ def summarize(results): f"{counts.get('fail', 0)} failed, " f"{counts.get('inconclusive', 0)} inconclusive, " f"{counts.get('no_baseline', 0)} without a baseline, " - f"{counts.get('error', 0)} not reached" + f"{counts.get('error', 0)} not reached, " + f"{counts.get('invalid', 0)} with unusable metadata" ) if failing: lines.append(f"[ERROR] Failing runs: {', '.join(sorted(failing))}") @@ -404,14 +428,18 @@ def summarize(results): def verdict(results): - """Overall verdict for a set of runs: FAIL, PASS, or INCONCLUSIVE. - - FAIL wins over everything: one failed rule is a regression no matter how the - other runs did. PASS needs every run to have passed. Anything else -- no - baseline, nothing evaluated, a request that never got an answer -- is - INCONCLUSIVE: the check did not run for at least one run. + """Overall verdict for a set of runs: ERROR, FAIL, PASS, or INCONCLUSIVE. + + ERROR means a metadata.json could not be used, so the check could not even + be attempted for that run. FAIL wins over the rest: one failed rule is a + regression no matter how the other runs did. PASS needs every run to have + passed. Anything else -- no baseline, nothing evaluated, a request that + never got an answer -- is INCONCLUSIVE: the check did not run for at least + one run. """ statuses = {result["status"] for result in results} + if "invalid" in statuses: + return "ERROR" if "fail" in statuses: return "FAIL" if statuses == {"pass"}: @@ -422,12 +450,13 @@ def verdict(results): def exit_code(results, strict): """Maps the results to the process exit status. - 1 on FAIL. 0 on PASS. INCONCLUSIVE is 0 unless strict, where a run the - service never answered (status 'error') is 3 and any other inconclusive - outcome is 2, matching the contract the Jenkins inline check uses. + 1 on FAIL and on ERROR. 0 on PASS. INCONCLUSIVE is 0 unless strict, where + a run the service never answered (status 'error') is 3 and any other + inconclusive outcome is 2, matching the contract the Jenkins inline check + uses. """ overall = verdict(results) - if overall == "FAIL": + if overall in ("FAIL", "ERROR"): return 1 if overall == "PASS" or not strict: return 0 @@ -582,10 +611,11 @@ def run_check(argv=None): if args.metadata: # Single-run mode: the caller (make metadata-check) names the run and # tees stdout into its own log, so no sweep log is written here. - if not os.path.isfile(args.metadata): - print(f"[ERROR] No {args.metadata}. Run `make metadata-generate` first.") + metadata_path = os.path.join(INVOCATION_DIR, args.metadata) + if not os.path.isfile(metadata_path): + print(f"[ERROR] No {metadata_path}. Run `make metadata-generate` first.") return 1 - runs = [(args.platform, args.design, args.variant or "base", args.metadata)] + runs = [(args.platform, args.design, args.variant or "base", metadata_path)] header = [] else: runs, header = sweep_runs(args) diff --git a/flow/util/utils.mk b/flow/util/utils.mk index 2c0d3f98c0..2858cfef06 100644 --- a/flow/util/utils.mk +++ b/flow/util/utils.mk @@ -35,7 +35,7 @@ metadata-generate: .PHONY: metadata-check metadata-check: $(PYTHON_EXE) $(UTILS_DIR)/checkQorMetrics.py \ - -m $(REPORTS_DIR)/metadata.json \ + -m $(abspath $(REPORTS_DIR)/metadata.json) \ -p $(PLATFORM) -d $(DESIGN_NICKNAME) --variant $(FLOW_VARIANT) 2>&1 \ | tee $(abspath $(REPORTS_DIR)/metadata-check.log) @@ -44,7 +44,7 @@ metadata-check: .PHONY: metadata-check-synth metadata-check-synth: $(PYTHON_EXE) $(UTILS_DIR)/checkQorMetrics.py \ - -m $(REPORTS_DIR)/metadata.json \ + -m $(abspath $(REPORTS_DIR)/metadata.json) \ -p $(PLATFORM) -d $(DESIGN_NICKNAME) --variant $(FLOW_VARIANT) \ --only-prefix synth__ constraints__ 2>&1 \ | tee $(abspath $(REPORTS_DIR)/metadata-check.log) From 869d29fb441e0b259f727e3313252bef2335d520 Mon Sep 17 00:00:00 2001 From: Vitor Bandeira Date: Mon, 21 Sep 2026 14:42:39 -0300 Subject: [PATCH 4/7] fix(metadata): treat a non-UTF-8 metadata.json as invalid input A file that is not valid UTF-8 raised UnicodeDecodeError past the metadata handler. The check reported it as a dashboard error and passed as INCONCLUSIVE with exit 0. It is a local input error, like malformed JSON. It now ends with `QoR check: ERROR` and exits 1. Signed-off-by: Vitor Bandeira --- flow/util/checkQorMetrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow/util/checkQorMetrics.py b/flow/util/checkQorMetrics.py index c871483f5d..19debe1f22 100755 --- a/flow/util/checkQorMetrics.py +++ b/flow/util/checkQorMetrics.py @@ -157,7 +157,7 @@ def load_metadata(path, only_prefix=None): try: with open(path, encoding="utf-8") as metadata_file: raw = json.load(metadata_file) - except (OSError, json.JSONDecodeError) as error: + except (OSError, UnicodeError, json.JSONDecodeError) as error: raise MetadataError(f"could not read {path}: {error}") from error if not isinstance(raw, dict): raise MetadataError(f"{path} is not a JSON object") From 0b1087a8b9f288ef723cfb7844151b32df85425c Mon Sep 17 00:00:00 2001 From: Vitor Bandeira Date: Tue, 22 Sep 2026 16:11:10 -0300 Subject: [PATCH 5/7] feat(metadata): remove the golden metadata report table flow/util/genReportTable.py compared each run's metadata.json against a committed metadata--ok.json to color a QoR table. The QoR dashboard check in `make metadata` is now the gate, and the golden files are stale, so drop the table, the golden json files, and `update_metadata` (now a deprecation stub), and update the docs. Signed-off-by: Vitor Bandeira --- docs/contrib/Metrics.md | 23 +- docs/tutorials/FlowTutorial.md | 4 +- .../i2c-gpio-expander/metadata-base-ok.json | 399 --------------- flow/util/genReportTable.py | 474 ++---------------- flow/util/utils.mk | 8 +- 5 files changed, 46 insertions(+), 862 deletions(-) delete mode 100644 flow/designs/ihp-sg13g2/i2c-gpio-expander/metadata-base-ok.json diff --git a/docs/contrib/Metrics.md b/docs/contrib/Metrics.md index 09687e33ca..c0f526b7cd 100644 --- a/docs/contrib/Metrics.md +++ b/docs/contrib/Metrics.md @@ -90,17 +90,12 @@ and do nothing, so an old wrapper script does not break. Rule tolerances live in the dashboard, so there is nothing to regenerate locally after an accepted QoR change. -## Reference metadata (`metadata--ok.json`) - -There is a second, optional file per design: - -``` shell -# writes flow/designs///metadata-base-ok.json -make update_metadata -``` - -This copies the current `metadata.json` next to the design as -`metadata-$(FLOW_VARIANT)-ok.json`. It is **not** what gates the flow — nothing -in `make metadata` reads it. It is consumed only by -`flow/util/genReportTable.py` when building the golden-vs-current report table, -and almost no design commits one. +## Removed: golden metadata (`metadata--ok.json`) + +A design directory could also hold a `metadata--ok.json` copy of a +known-good `metadata.json`, written by `make update_metadata`. Only +`flow/util/genReportTable.py` read it, to color a golden-versus-current +metrics table in the CI report. That table and the golden files were +removed; the script now writes only the per-design image galleries. +`make update_metadata` is a stub that prints a deprecation warning. The +baseline for a run is the `master` build on the dashboard. diff --git a/docs/tutorials/FlowTutorial.md b/docs/tutorials/FlowTutorial.md index c3021957c8..b212df6f94 100644 --- a/docs/tutorials/FlowTutorial.md +++ b/docs/tutorials/FlowTutorial.md @@ -248,10 +248,10 @@ underlying files are organized. - `designs/sky130hd/ibex` Files include: designs make file and SDC file for the `sky130hd` - platform and other files for autotuner and metrics. + platform and other files for autotuner and routing. ``` -autotuner.json config.mk constraint_doe.sdc constraint.sdc metadata-base-ok.json +autotuner.json config.mk constraint_doe.sdc constraint.sdc fastroute.tcl ``` - `platforms` diff --git a/flow/designs/ihp-sg13g2/i2c-gpio-expander/metadata-base-ok.json b/flow/designs/ihp-sg13g2/i2c-gpio-expander/metadata-base-ok.json deleted file mode 100644 index 0cfab656d7..0000000000 --- a/flow/designs/ihp-sg13g2/i2c-gpio-expander/metadata-base-ok.json +++ /dev/null @@ -1,399 +0,0 @@ -{ - "constraints__clocks__count": 1, - "constraints__clocks__details": [ - "clk_core: 20.0000" - ], - "cts__clock__skew__hold": 0.416925, - "cts__clock__skew__setup": 0.416925, - "cts__cpu__total": 1.74, - "cts__design__core__area": 121187, - "cts__design__die__area": 1102500.0, - "cts__design__instance__area": 36578.3, - "cts__design__instance__area__cover": 98000, - "cts__design__instance__area__macros": 21794.6, - "cts__design__instance__area__padcells": 424800, - "cts__design__instance__area__stdcell": 14783.7, - "cts__design__instance__count": 985, - "cts__design__instance__count__cover": 20, - "cts__design__instance__count__hold_buffer": 0, - "cts__design__instance__count__macros": 1, - "cts__design__instance__count__padcells": 48, - "cts__design__instance__count__setup_buffer": 0, - "cts__design__instance__count__stdcell": 916, - "cts__design__instance__displacement__max": 0, - "cts__design__instance__displacement__mean": 0, - "cts__design__instance__displacement__total": 0, - "cts__design__instance__utilization": 0.301833, - "cts__design__instance__utilization__stdcell": 0.14874, - "cts__design__io": 20, - "cts__design__rows": 133, - "cts__design__rows:CoreSite": 133, - "cts__design__sites": 53754, - "cts__design__sites:CoreSite": 53754, - "cts__design__violations": 0, - "cts__flow__errors__count": 0, - "cts__flow__warnings__count": 1, - "cts__mem__peak": 223804.0, - "cts__power__internal__total": 6.36515e-05, - "cts__power__leakage__total": 6.15849e-07, - "cts__power__switching__total": 1.14976e-05, - "cts__power__total": 7.5765e-05, - "cts__route__wirelength__estimated": 32399.4, - "cts__runtime__total": "0:01.36", - "cts__timing__drv__hold_violation_count": 0, - "cts__timing__drv__max_cap": 27, - "cts__timing__drv__max_cap_limit": -9.58431, - "cts__timing__drv__max_fanout": 0, - "cts__timing__drv__max_fanout_limit": 8, - "cts__timing__drv__max_slew": 25, - "cts__timing__drv__max_slew_limit": -5.32153, - "cts__timing__drv__setup_violation_count": 0, - "cts__timing__hold__tns": 0, - "cts__timing__hold__ws": 0.0665765, - "cts__timing__setup__tns": 0, - "cts__timing__setup__ws": 3.44505, - "design__violations": 0, - "detailedplace__cpu__total": 0.94, - "detailedplace__design__core__area": 121187, - "detailedplace__design__die__area": 1102500.0, - "detailedplace__design__instance__area": 34050.8, - "detailedplace__design__instance__area__cover": 98000, - "detailedplace__design__instance__area__macros": 21794.6, - "detailedplace__design__instance__area__padcells": 424800, - "detailedplace__design__instance__area__stdcell": 12256.3, - "detailedplace__design__instance__count": 924, - "detailedplace__design__instance__count__cover": 20, - "detailedplace__design__instance__count__macros": 1, - "detailedplace__design__instance__count__padcells": 48, - "detailedplace__design__instance__count__stdcell": 855, - "detailedplace__design__instance__displacement__max": 13.101, - "detailedplace__design__instance__displacement__mean": 3.157, - "detailedplace__design__instance__displacement__total": 2702.6, - "detailedplace__design__instance__utilization": 0.280977, - "detailedplace__design__instance__utilization__stdcell": 0.123311, - "detailedplace__design__io": 20, - "detailedplace__design__rows": 133, - "detailedplace__design__rows:CoreSite": 133, - "detailedplace__design__sites": 53754, - "detailedplace__design__sites:CoreSite": 53754, - "detailedplace__design__violations": 0, - "detailedplace__flow__errors__count": 0, - "detailedplace__flow__warnings__count": 1, - "detailedplace__mem__peak": 126980.0, - "detailedplace__power__internal__total": 3.34988e-05, - "detailedplace__power__leakage__total": 3.57528e-07, - "detailedplace__power__switching__total": 6.76419e-06, - "detailedplace__power__total": 4.06205e-05, - "detailedplace__route__wirelength__estimated": 27769.5, - "detailedplace__runtime__total": "0:00.70", - "detailedplace__timing__drv__hold_violation_count": 0, - "detailedplace__timing__drv__max_cap": 27, - "detailedplace__timing__drv__max_cap_limit": -9.58431, - "detailedplace__timing__drv__max_fanout": 0, - "detailedplace__timing__drv__max_fanout_limit": 8, - "detailedplace__timing__drv__max_slew": 25, - "detailedplace__timing__drv__max_slew_limit": -5.32153, - "detailedplace__timing__drv__setup_violation_count": 0, - "detailedplace__timing__hold__tns": 0, - "detailedplace__timing__hold__ws": 0.0614673, - "detailedplace__timing__setup__tns": 0, - "detailedplace__timing__setup__ws": 3.44505, - "detailedroute__antenna__violating__nets": 0, - "detailedroute__antenna__violating__pins": 0, - "detailedroute__antenna_diodes_count": 2, - "detailedroute__flow__errors__count": 0, - "detailedroute__flow__warnings__count": 11, - "detailedroute__route__drc_errors": 0, - "detailedroute__route__drc_errors__iter:0": 6, - "detailedroute__route__drc_errors__iter:1": 1, - "detailedroute__route__drc_errors__iter:2": 0, - "detailedroute__route__drc_errors__iter:3": 27, - "detailedroute__route__drc_errors__iter:4": 3, - "detailedroute__route__drc_errors__iter:5": 0, - "detailedroute__route__net": 1062, - "detailedroute__route__net__special": 24, - "detailedroute__route__vias": 6330, - "detailedroute__route__vias__multicut": 0, - "detailedroute__route__vias__singlecut": 6330, - "detailedroute__route__wirelength": 37033, - "detailedroute__route__wirelength__iter:0": 37038, - "detailedroute__route__wirelength__iter:1": 37035, - "detailedroute__route__wirelength__iter:2": 37033, - "detailedroute__route__wirelength__iter:3": 37018, - "detailedroute__route__wirelength__iter:4": 37007, - "detailedroute__route__wirelength__iter:5": 37012, - "finish__clock__skew__hold": 0.48647, - "finish__clock__skew__setup": 0.462837, - "finish__cpu__total": 4.47, - "finish__design__core__area": 121187, - "finish__design__die__area": 1102500.0, - "finish__design__instance__area": 118272, - "finish__design__instance__area__class:antenna_cell": 576.979, - "finish__design__instance__area__class:clock_buffer": 2494.8, - "finish__design__instance__area__class:clock_inverter": 32.6592, - "finish__design__instance__area__class:cover": 98000, - "finish__design__instance__area__class:input_output_pad": 144000, - "finish__design__instance__area__class:input_pad": 72000, - "finish__design__instance__area__class:inverter": 154.224, - "finish__design__instance__area__class:macro": 21794.6, - "finish__design__instance__area__class:multi_input_combinational_cell": 5889.54, - "finish__design__instance__area__class:output_pad": 14400, - "finish__design__instance__area__class:pad_spacer": 136800, - "finish__design__instance__area__class:power_pad": 57600, - "finish__design__instance__area__class:sequential_cell": 5755.28, - "finish__design__instance__area__class:timing_repair_buffer": 457.229, - "finish__design__instance__area__cover": 98000, - "finish__design__instance__area__macros": 21794.6, - "finish__design__instance__area__padcells": 424800, - "finish__design__instance__area__stdcell": 96477.1, - "finish__design__instance__count": 7518, - "finish__design__instance__count__class:antenna_cell": 106, - "finish__design__instance__count__class:clock_buffer": 55, - "finish__design__instance__count__class:clock_inverter": 6, - "finish__design__instance__count__class:cover": 20, - "finish__design__instance__count__class:input_output_pad": 10, - "finish__design__instance__count__class:input_pad": 5, - "finish__design__instance__count__class:inverter": 28, - "finish__design__instance__count__class:macro": 1, - "finish__design__instance__count__class:multi_input_combinational_cell": 642, - "finish__design__instance__count__class:output_pad": 1, - "finish__design__instance__count__class:pad_spacer": 28, - "finish__design__instance__count__class:power_pad": 4, - "finish__design__instance__count__class:sequential_cell": 122, - "finish__design__instance__count__class:timing_repair_buffer": 63, - "finish__design__instance__count__cover": 20, - "finish__design__instance__count__macros": 1, - "finish__design__instance__count__padcells": 48, - "finish__design__instance__count__stdcell": 7449, - "finish__design__instance__utilization": 0.97594, - "finish__design__instance__utilization__stdcell": 0.970664, - "finish__design__io": 20, - "finish__design__rows": 133, - "finish__design__rows:CoreSite": 133, - "finish__design__sites": 53754, - "finish__design__sites:CoreSite": 53754, - "finish__design_powergrid__drop__average__net:VDD__corner:fast": 1.19999, - "finish__design_powergrid__drop__average__net:VSS__corner:fast": 5.72021e-06, - "finish__design_powergrid__drop__worst__net:VDD__corner:fast": 3.33034e-05, - "finish__design_powergrid__drop__worst__net:VSS__corner:fast": 2.81877e-05, - "finish__design_powergrid__voltage__worst__net:VDD__corner:fast": 1.19997, - "finish__design_powergrid__voltage__worst__net:VSS__corner:fast": 2.81877e-05, - "finish__flow__errors__count": 0, - "finish__flow__warnings__count": 2, - "finish__mem__peak": 266520.0, - "finish__power__internal__total": 5.79117e-05, - "finish__power__leakage__total": 1.87494e-06, - "finish__power__switching__total": 1.32977e-05, - "finish__power__total": 7.30843e-05, - "finish__runtime__total": "0:04.06", - "finish__timing__drv__hold_violation_count": 0, - "finish__timing__drv__max_cap": 27, - "finish__timing__drv__max_cap_limit": -9.58431, - "finish__timing__drv__max_fanout": 3, - "finish__timing__drv__max_fanout_limit": 8, - "finish__timing__drv__max_slew": 25, - "finish__timing__drv__max_slew_limit": -5.32041, - "finish__timing__drv__setup_violation_count": 0, - "finish__timing__hold__tns": 0, - "finish__timing__hold__ws": 0.033864, - "finish__timing__setup__tns": 0, - "finish__timing__setup__ws": 3.88761, - "finish__timing__wns_percent_delay": 48.824475, - "finish_merge__cpu__total": 1.38, - "finish_merge__mem__peak": 473592.0, - "finish_merge__runtime__total": "0:01.53", - "floorplan__cpu__total": 0.63, - "floorplan__design__core__area": 121187, - "floorplan__design__die__area": 1102500.0, - "floorplan__design__instance__area": 33045.7, - "floorplan__design__instance__area__cover": 98000, - "floorplan__design__instance__area__macros": 21794.6, - "floorplan__design__instance__area__padcells": 424800, - "floorplan__design__instance__area__stdcell": 11251.1, - "floorplan__design__instance__count": 754, - "floorplan__design__instance__count__cover": 20, - "floorplan__design__instance__count__hold_buffer": 0, - "floorplan__design__instance__count__macros": 1, - "floorplan__design__instance__count__padcells": 48, - "floorplan__design__instance__count__setup_buffer": 0, - "floorplan__design__instance__count__stdcell": 685, - "floorplan__design__instance__utilization": 0.272682, - "floorplan__design__instance__utilization__stdcell": 0.113198, - "floorplan__design__io": 20, - "floorplan__design__rows": 92, - "floorplan__design__rows:CoreSite": 92, - "floorplan__design__sites": 66792, - "floorplan__design__sites:CoreSite": 66792, - "floorplan__flow__errors__count": 0, - "floorplan__flow__warnings__count": 7, - "floorplan__mem__peak": 116856.0, - "floorplan__power__internal__total": 3.26237e-05, - "floorplan__power__leakage__total": 3.66049e-07, - "floorplan__power__switching__total": 4.05039e-06, - "floorplan__power__total": 3.70401e-05, - "floorplan__runtime__total": "0:00.45", - "floorplan__timing__hold__tns": 0, - "floorplan__timing__hold__ws": 0.0483089, - "floorplan__timing__setup__tns": 0, - "floorplan__timing__setup__ws": 3.57371, - "flow__errors__count": 0, - "flow__warnings__count": 1, - "globalplace__cpu__total": 14.31, - "globalplace__design__core__area": 121187, - "globalplace__design__die__area": 1102500.0, - "globalplace__design__instance__area": 32911.4, - "globalplace__design__instance__area__cover": 98000, - "globalplace__design__instance__area__macros": 21794.6, - "globalplace__design__instance__area__padcells": 424800, - "globalplace__design__instance__area__stdcell": 11116.8, - "globalplace__design__instance__count": 767, - "globalplace__design__instance__count__cover": 20, - "globalplace__design__instance__count__macros": 1, - "globalplace__design__instance__count__padcells": 48, - "globalplace__design__instance__count__stdcell": 698, - "globalplace__design__instance__utilization": 0.271574, - "globalplace__design__instance__utilization__stdcell": 0.111847, - "globalplace__design__io": 20, - "globalplace__design__rows": 133, - "globalplace__design__rows:CoreSite": 133, - "globalplace__design__sites": 53754, - "globalplace__design__sites:CoreSite": 53754, - "globalplace__flow__errors__count": 0, - "globalplace__flow__warnings__count": 1, - "globalplace__mem__peak": 701500.0, - "globalplace__power__internal__total": 3.35075e-05, - "globalplace__power__leakage__total": 3.55326e-07, - "globalplace__power__switching__total": 6.72037e-06, - "globalplace__power__total": 4.05832e-05, - "globalplace__runtime__total": "0:02.59", - "globalplace__timing__hold__tns": 0, - "globalplace__timing__hold__ws": 0.0627901, - "globalplace__timing__setup__tns": 0, - "globalplace__timing__setup__ws": 3.44505, - "globalplace_io__cpu__total": 0.09, - "globalplace_io__mem__peak": 98292.0, - "globalplace_io__runtime__total": "0:00.12", - "globalplace_skip_io__cpu__total": 8.01, - "globalplace_skip_io__mem__peak": 114176.0, - "globalplace_skip_io__runtime__total": "0:00.70", - "globalroute__antenna__violating__nets": 2, - "globalroute__antenna__violating__pins": 4, - "globalroute__antenna_diodes_count": 104, - "globalroute__clock__skew__hold": 0.507695, - "globalroute__clock__skew__setup": 0.471571, - "globalroute__cpu__total": 40.2, - "globalroute__design__core__area": 121187, - "globalroute__design__die__area": 1102500.0, - "globalroute__design__instance__area": 37144.4, - "globalroute__design__instance__area__cover": 98000, - "globalroute__design__instance__area__macros": 21794.6, - "globalroute__design__instance__area__padcells": 424800, - "globalroute__design__instance__area__stdcell": 15349.8, - "globalroute__design__instance__count": 1089, - "globalroute__design__instance__count__cover": 20, - "globalroute__design__instance__count__hold_buffer": 0, - "globalroute__design__instance__count__macros": 1, - "globalroute__design__instance__count__padcells": 48, - "globalroute__design__instance__count__setup_buffer": 0, - "globalroute__design__instance__count__stdcell": 1020, - "globalroute__design__instance__displacement__max": 0, - "globalroute__design__instance__displacement__mean": 0, - "globalroute__design__instance__displacement__total": 0, - "globalroute__design__instance__utilization": 0.306504, - "globalroute__design__instance__utilization__stdcell": 0.154436, - "globalroute__design__io": 20, - "globalroute__design__rows": 133, - "globalroute__design__rows:CoreSite": 133, - "globalroute__design__sites": 53754, - "globalroute__design__sites:CoreSite": 53754, - "globalroute__design__violations": 0, - "globalroute__flow__errors__count": 0, - "globalroute__flow__warnings__count": 11, - "globalroute__mem__peak": 751424.0, - "globalroute__power__internal__total": 5.83437e-05, - "globalroute__power__leakage__total": 6.16393e-07, - "globalroute__power__switching__total": 1.5735e-05, - "globalroute__power__total": 7.46951e-05, - "globalroute__route__net": 1062, - "globalroute__route__net__special": 24, - "globalroute__route__wirelength__estimated": 32399.4, - "globalroute__runtime__total": "0:05.61", - "globalroute__timing__clock__slack": 3.812, - "globalroute__timing__drv__hold_violation_count": 0, - "globalroute__timing__drv__max_cap": 27, - "globalroute__timing__drv__max_cap_limit": -9.58431, - "globalroute__timing__drv__max_fanout": 3, - "globalroute__timing__drv__max_fanout_limit": 8, - "globalroute__timing__drv__max_slew": 25, - "globalroute__timing__drv__max_slew_limit": -5.32154, - "globalroute__timing__drv__setup_violation_count": 0, - "globalroute__timing__hold__tns": 0, - "globalroute__timing__hold__ws": 0.0494376, - "globalroute__timing__setup__tns": 0, - "globalroute__timing__setup__ws": 3.81203, - "placeopt__cpu__total": 1.15, - "placeopt__design__core__area": 121187, - "placeopt__design__die__area": 1102500.0, - "placeopt__design__instance__area": 34050.8, - "placeopt__design__instance__area__cover": 98000, - "placeopt__design__instance__area__macros": 21794.6, - "placeopt__design__instance__area__padcells": 424800, - "placeopt__design__instance__area__stdcell": 12256.3, - "placeopt__design__instance__count": 924, - "placeopt__design__instance__count__cover": 20, - "placeopt__design__instance__count__macros": 1, - "placeopt__design__instance__count__padcells": 48, - "placeopt__design__instance__count__stdcell": 855, - "placeopt__design__instance__utilization": 0.280977, - "placeopt__design__instance__utilization__stdcell": 0.123311, - "placeopt__design__io": 20, - "placeopt__design__rows": 133, - "placeopt__design__rows:CoreSite": 133, - "placeopt__design__sites": 53754, - "placeopt__design__sites:CoreSite": 53754, - "placeopt__flow__errors__count": 0, - "placeopt__flow__warnings__count": 2, - "placeopt__mem__peak": 641056.0, - "placeopt__power__internal__total": 3.35075e-05, - "placeopt__power__leakage__total": 3.57528e-07, - "placeopt__power__switching__total": 1.18703e-05, - "placeopt__power__total": 4.57353e-05, - "placeopt__runtime__total": "0:00.88", - "placeopt__timing__drv__floating__nets": 4, - "placeopt__timing__drv__floating__pins": 0, - "placeopt__timing__drv__hold_violation_count": 0, - "placeopt__timing__drv__max_cap": 27, - "placeopt__timing__drv__max_cap_limit": -9.58431, - "placeopt__timing__drv__max_fanout": 0, - "placeopt__timing__drv__max_fanout_limit": 8, - "placeopt__timing__drv__max_slew": 25, - "placeopt__timing__drv__max_slew_limit": -5.32153, - "placeopt__timing__drv__setup_violation_count": 0, - "placeopt__timing__hold__tns": 0, - "placeopt__timing__hold__ws": 0.0627901, - "placeopt__timing__setup__tns": 0, - "placeopt__timing__setup__ws": 3.44505, - "run__flow__design": "i2c-gpio-expander", - "run__flow__generate_date": "2025-06-27 17:15", - "run__flow__metrics_version": "Metrics_2.1.2", - "run__flow__openroad_commit": "N/A", - "run__flow__openroad_version": "v2.0-18663-g4a7c6dd8f", - "run__flow__platform": "ihp-sg13g2", - "run__flow__platform__capacitance_units": "1pF", - "run__flow__platform__current_units": "1uA", - "run__flow__platform__distance_units": "1um", - "run__flow__platform__power_units": "1pW", - "run__flow__platform__resistance_units": "1kohm", - "run__flow__platform__time_units": "1ns", - "run__flow__platform__voltage_units": "1v", - "run__flow__platform_commit": "2b92477257a655e1c3d56c83372e3ea6262fc7e1", - "run__flow__scripts_commit": "2b92477257a655e1c3d56c83372e3ea6262fc7e1", - "run__flow__uuid": "a55e4f22-7f3b-48eb-84a6-b10f6fde9a2a", - "run__flow__variant": "base", - "synth__cpu__total": 0.88, - "synth__design__instance__area__stdcell": 253699.051, - "synth__design__instance__count__stdcell": 702.0, - "synth__mem__peak": 26056.0, - "synth__runtime__total": "0:00.90", - "total_time": "0:00:18.900000" -} \ No newline at end of file diff --git a/flow/util/genReportTable.py b/flow/util/genReportTable.py index 277b78f738..f5f8b0b801 100755 --- a/flow/util/genReportTable.py +++ b/flow/util/genReportTable.py @@ -1,205 +1,21 @@ #!/usr/bin/env python3 -import re -import argparse +# Writes one HTML image gallery per design under reports/, one column per +# platform and one row per view, from the images the flow saved under +# reports////. The metrics comparison table this +# script used to write next to the galleries was removed: the QoR gate is the +# dashboard check in `make metadata`, and the table judged runs against +# committed golden files that are gone. + import os -import json -import operator from collections import defaultdict # make sure the working dir is flow/ os.chdir(os.path.join(os.path.dirname(os.path.abspath(__file__)), "..")) -htmlOutput = "reports/report-table.html" cssOutput = "reports/table.css" -designPathFile = "design-dir.txt" - -dontUse = re.compile( - r""" -clocks__details | -commit | -cpu__total | -mem__peak | -runtime__total | -total_time | -uuid | -version -""", - re.VERBOSE | re.IGNORECASE, -) - -# list of metrics that should be considered green if they increase -# all other metrics are considered better if they decrease in value -higherIsBetter = re.compile( - r""" -__ws | -__wns | -__drv__max.*_limit | -__clock__slack | -__tns -""", - re.VERBOSE | re.IGNORECASE, -) - - -helpText = """ -Creates a HTML table with metric comparison between golden and current run -for each design. -""" -parser = argparse.ArgumentParser(description=helpText) -parser.add_argument("--variant", default="base") -args = parser.parse_args() - -goldFilename = f"metadata-{args.variant}-ok.json" -runFilename = f"metadata.json" - - -def readMetrics(fname, justLoad=False): - global tableDict - try: - with open(fname, "r") as f: - tempDict = json.loads(f.read()) - except BaseException: - print("Failed to open {}.".format(fname)) - return None - if justLoad: - return tempDict - metrics = dict() - for metric, value in tempDict.items(): - if not re.search(dontUse, metric): - metrics[metric] = value - else: - continue - if metric not in tableDict.keys(): - tableDict[metric] = list() - return metrics - - -ops = { - "<": operator.lt, - ">": operator.gt, - "<=": operator.le, - ">=": operator.ge, - "==": operator.eq, - "!=": operator.ne, -} - - -def getDiff(metric, gold, run, rules): - diff = "-" - style = "no_change" - if isNumber: - diff = run - gold - if gold != 0: - percentage = "{:.2f}%".format(abs(diff / gold) * 100) - else: - percentage = "#DIV/0!" - if run > gold: - style = "green" if re.search(higherIsBetter, metric) else "orange" - elif gold > run: - style = "orange" if re.search(higherIsBetter, metric) else "green" - for field, rule in rules.items(): - if metric != field: - continue - op = ops[rule["compare"]] - value = rule["value"] - if not op(run, value): - style = "red" - if diff != 0: - if abs(diff) < 0.01: - diff = "{:+.2} ({})".format(diff, percentage) - else: - diff = "{:+.2f} ({})".format(diff, percentage) - return diff, style - - -tableDict = dict() -testList = list() -status = dict() - -for logDir, dirs, files in sorted(os.walk("logs", topdown=False)): - dirList = logDir.split(os.sep) - if len(dirList) != 4: - continue - # basic info about test design - platform = dirList[1] - design = dirList[2] - variant = dirList[3] - test = "{} {} {}".format(platform, design, variant) - reportDir = logDir.replace("logs", "reports") - errors = 0 - - print("-" * 79) - print(test) - print("-" * 79) - - try: - with open(os.path.join(reportDir, designPathFile), "r") as f: - designDir = f.read().strip() - except BaseException: - print("Failed to open {}.".format(designPathFile)) - designDir = os.path.join("designs", platform, design) - errors += 1 - - gold = readMetrics(os.path.join(designDir, goldFilename)) - if gold is None: - errors += 1 - goldKeys = None - else: - goldKeys = gold.keys() - - run = readMetrics(os.path.join(reportDir, runFilename)) - if run is None: - errors += 1 - runKeys = None - else: - runKeys = run.keys() - - rulesFilename = f"rules-{variant}.json" - rules = readMetrics(os.path.join(designDir, rulesFilename), justLoad=True) - if rules is None: - errors += 1 - - testList.append(test) - if test not in status.keys(): - status[test] = dict() - status[test]["error"] = errors - status[test]["red"] = 0 - status[test]["orange"] = 0 - status[test]["no_change"] = 0 - status[test]["green"] = 0 - - for metric in tableDict.keys(): - try: - if metric in goldKeys: - goldValue = gold[metric] - else: - goldValue = "N/A" - except BaseException: - goldValue = "ERR" - try: - if metric in runKeys: - runValue = run[metric] - else: - runValue = "N/A" - except BaseException: - runValue = "ERR" - try: - goldValue = float(goldValue) - runValue = float(runValue) - isNumber = True - except BaseException: - isNumber = False - tableDict[metric].append(goldValue) - tableDict[metric].append(runValue) - diff, style = getDiff(metric, goldValue, runValue, rules) - tableDict[metric].append([diff, style]) - status[test][style] += 1 - - print() - -cssStyle = """/* table styles */ +cssStyle = """/* gallery styles */ table { border-collapse: collapse; margin: 25px 0; @@ -229,54 +45,15 @@ def getDiff(metric, gold, run, rules): table tbody tr:last-of-type { border-bottom: 2px solid #009879; } -table tbody tr.active-row { - font-weight: bold; - color: #009879; -} table th, table td:nth-child(1), -.image-table td, -.summary-table td { +.image-table td { border-right: solid 2px; border-left: solid 2px; } table th { border-top: solid 2px; } -.main-table th { - position: sticky; - top: 0; - background-color: #727272; - color: #e0e0e0; -} -.main-table tr:nth-of-type(even) td:nth-child(1) { - background-color: #f3f3f3; -} -.main-table tr:nth-of-type(odd) td:nth-child(1) { - background-color: #ffffff; -} -.main-table tr:nth-child(2), -.main-table tr:nth-child(2) td:nth-child(1) { - position: sticky; - top: 44px; - background-color: #727272; - color: #e0e0e0; - z-index: 2; -} -.main-table th:nth-child(1), -.main-table td:nth-child(1) { - position: sticky; - left: 0; -} -.main-table th:nth-child(1){ - z-index: 2; -} -.main-table td:nth-child(3n+4) { - border-left: dotted 1px; -} -.main-table td:nth-child(3n+1) { - border-right: solid 2px; -} div.gallery { margin: 5px; float: left; @@ -295,9 +72,6 @@ def getDiff(metric, gold, run, rules): } """ -with open(cssOutput, "w") as f: - f.writelines(cssStyle) - head = """ @@ -343,27 +117,19 @@ def image_view_name(file): return file -platforms = set() -designs = set() -views = set() -images = defaultdict(lambda: defaultdict(dict)) -for parents, dirs, files in sorted(os.walk("reports", topdown=False)): - for file in files: - if file.lower().endswith(IMAGE_EXTENSIONS): - path = os.path.join(parents, file).replace("reports", ".") - platform, design = path.split(os.sep)[1:3] - view = image_view_name(file) - designs.add(design) - platforms.add(platform) - views.add(view) - images[design][platform][view] = path - -platforms = sorted(platforms) -designs = sorted(designs) -view = sorted(views) +def collect_images(): + """Map design -> platform -> view -> image path, relative to reports/.""" + images = defaultdict(lambda: defaultdict(dict)) + for parents, dirs, files in sorted(os.walk("reports", topdown=False)): + for file in files: + if file.lower().endswith(IMAGE_EXTENSIONS): + path = os.path.join(parents, file).replace("reports", ".") + platform, design = path.split(os.sep)[1:3] + images[design][platform][image_view_name(file)] = path + return images -def write_gallery(design, platforms, views): +def write_gallery(design, images, platforms, views): htmlGallery = f"reports/report-gallery-{design}.html" with open(htmlGallery, "w") as f: gallery = "

Image Gallery

\n" @@ -381,198 +147,16 @@ def write_gallery(design, platforms, views): gallery += "\n\n" gallery += "\n" gallery += "\n" - html = head + gallery + tail - f.writelines(html) - - -for design in designs: - write_gallery(design, platforms, views) - -subColumns = ["Gold", "Current", "Diff (%)"] - -table = "" -with open(htmlOutput, "w") as f: - # Compute summary rows - noChangeList = list() - improvementList = list() - degradationList = list() - failedMetricsList = list() - parsingErrorList = list() - designsMoreImprovements = list() - designsMoreDegradations = list() - designsNoChange = list() - designsSameNumber = list() - designsRed = list() - designsParsingErrors = list() - for test, value in status.items(): - noChange = value["no_change"] - improvements = value["green"] - degradations = value["orange"] - failedMetrics = value["red"] - parsingErrors = value["error"] - noChangeList.append(noChange) - improvementList.append(improvements) - degradationList.append(degradations) - failedMetricsList.append(failedMetrics) - parsingErrorList.append(parsingErrors) - if parsingErrors > 0: - designsParsingErrors.append(test) - if failedMetrics > 0: - designsRed.append(test) - elif improvements == degradations: - if improvements == 0: - designsNoChange.append(test) - else: - designsSameNumber.append(test) - elif improvements > degradations: - designsMoreImprovements.append(test) - else: - designsMoreDegradations.append(test) - - # Summary table begin - table += "\n

Metrics Overview

\n" - - txt = "Number of designs that failed parsing: " - txt += "{}\n".format(len(designsParsingErrors)) - txt += " {}\n".format(", ".join(designsParsingErrors)) - table += "
\n{}\n
\n".format(txt.strip()) - - txt = "Number of designs failing metrics checks: " - txt += "{}\n".format(len(designsRed)) - txt += " {}\n".format(", ".join(designsRed)) - table += "
\n{}\n
\n".format(txt.strip()) - - txt = "Number of designs with more improvements: " - txt += "{}\n".format(len(designsMoreImprovements)) - txt += " {}\n".format(", ".join(designsMoreImprovements)) - table += "
\n{}\n
\n".format(txt.strip()) - - txt = "Number of designs with more degradations: " - txt += "{}\n".format(len(designsMoreDegradations)) - txt += " {}\n".format(", ".join(designsMoreDegradations)) - table += "
\n{}\n
\n".format(txt.strip()) - - txt = "Number of designs with same number of degradations and improvements: " - txt += "{}\n".format(len(designsSameNumber)) - txt += " {}\n".format(", ".join(designsSameNumber)) - table += "
\n{}\n
\n".format(txt.strip()) + f.writelines(head + gallery + tail) - txt = "Number of designs with no change: " - txt += "{}\n".format(len(designsNoChange)) - txt += " {}\n".format(", ".join(designsNoChange)) - table += "
\n{}\n
\n".format(txt.strip()) - table += '\n\n' - # Summary header - table += " \n" - table += " \n" - for test in testList + ["Total"]: - table += " \n".format(test) - table += " \n" +images = collect_images() +platforms = sorted({p for d in images.values() for p in d}) +views = sorted({v for d in images.values() for p in d.values() for v in p}) - # Summary rows - - title = "Parsing Errors" - table += " \n" - table += ' \n'.format(title) - for value in parsingErrorList: - table += ' \n'.format(title, value) - table += " \n".format(sum(parsingErrorList)) - table += " \n" - - title = "Failed Metrics" - table += " \n" - table += ' \n'.format(title) - for value in failedMetricsList: - table += ' \n'.format(title, value) - table += " \n".format(sum(failedMetricsList)) - table += " \n" - - title = "Degradation" - table += " \n" - table += ' \n'.format(title) - for value in degradationList: - table += ' \n'.format(title, value) - table += " \n".format(sum(degradationList)) - table += " \n" - - title = "No Change" - table += " \n" - table += " \n".format(title) - for value in noChangeList: - table += ' \n'.format(title, value) - table += " \n".format(sum(noChangeList)) - table += " \n" - - title = "Improvement" - table += " \n" - table += ' \n'.format(title) - for value in improvementList: - table += ' \n'.format(title, value) - table += " \n".format(sum(improvementList)) - table += " \n" - - table += "
Summary{}
{}{}{}
{}{}{}
{}{}{}
{}{}{}
{}{}{}
\n" - - # Main table begin - table += "\n

Metrics Comparison Per Design

\n" - table += '\n' - # Main table header - table += " \n" - table += " \n" - for test in testList: - table += ' \n'.format(test) - table += " \n" - - # Main table header subdivision - table += " \n" - table += " \n" - for _ in testList: - for col in subColumns: - table += " \n".format(col) - table += " \n" - - # Main table rows - for metric, entry in tableDict.items(): - table += " \n" - table += " \n".format(metric) - title = 'title="{}"'.format(metric) - - for num in range(0, len(entry), len(subColumns)): - goldValue = "{}".format(entry[num]) - props = title - if goldValue == "N/A": - props += "bgcolor=yellow" - elif goldValue == "ERR": - props += "bgcolor=brown" - table += " \n".format(props, goldValue) - - runValue = "{}".format(entry[num + 1]) - props = title - if runValue == "N/A": - props += "bgcolor=yellow" - elif runValue == "ERR": - props += "bgcolor=brown" - table += " \n".format(props, runValue) - - diffValue, style = entry[num + 2] - props = title - if style == "no_change": - style = "" - props = '{} bgcolor="{}"'.format(props, style) - table += " \n".format(props, diffValue) - - table += " \n" - - table += "
Metric{}
Name{}
{}{}{}{}
\n\n" - - fname = "reports/report.log" - content = "" - if os.path.isfile(fname): - with open(fname, "r") as reportFile: - content = "".join(reportFile.readlines()[4:]) - content = "
\n" + content + "\n
\n" - content = "

Flow Finish State and Log Summary

\n" + content +os.makedirs("reports", exist_ok=True) +with open(cssOutput, "w") as f: + f.writelines(cssStyle) - html = head + table + content + tail - f.writelines(html) +for design in sorted(images): + write_gallery(design, images, platforms, views) diff --git a/flow/util/utils.mk b/flow/util/utils.mk index 2858cfef06..638d8ed84e 100644 --- a/flow/util/utils.mk +++ b/flow/util/utils.mk @@ -75,10 +75,14 @@ clean_metadata: rm -f $(REPORTS_DIR)/design-dir.txt rm -f $(REPORTS_DIR)/metadata*.* +# The golden designs///metadata--ok.json files +# were removed with the report table that compared runs against them. .PHONY: update_metadata update_metadata: - cp -f $(REPORTS_DIR)/metadata.json \ - $(DESIGN_DIR)/metadata-$(FLOW_VARIANT)-ok.json + @echo "[WARN] make update_metadata is deprecated and does nothing." \ + "The golden metadata--ok.json files and the report table" \ + "that read them were removed. Baselines live in the QoR dashboard" \ + "(see docs/contrib/Metrics.md)." .PHONY: update_metadata_autotuner update_metadata_autotuner: From aaaac11f3fec582d01281bbc8560d8f293ccc4a7 Mon Sep 17 00:00:00 2001 From: Vitor Bandeira Date: Tue, 22 Sep 2026 17:17:48 -0300 Subject: [PATCH 6/7] ci(cron): drop the update-rules tag and label from the bump PR The OpenROAD bump PR carried the [ci:rules-tighten] tag in its body and the UpdateRules label. The Jenkins update-rules job polls open PRs for that label and rewrites designs///rules-.json from the dashboard into the PR. The rules files are removed, so that job would add them back on the next bump. The job itself can be retired in the CI repository. Signed-off-by: Vitor Bandeira --- .github/workflows/github-actions-cron-update-OR.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/github-actions-cron-update-OR.yml b/.github/workflows/github-actions-cron-update-OR.yml index f3146c7f5b..f28f4a4d02 100644 --- a/.github/workflows/github-actions-cron-update-OR.yml +++ b/.github/workflows/github-actions-cron-update-OR.yml @@ -36,9 +36,7 @@ jobs: delete-branch: true title: 'Update OpenROAD submodule' body: | - Automated action to update tools/OpenROAD submodule and tighten CI rule checking. - [ci:rules-tighten] - labels: UpdateRules + Automated action to update tools/OpenROAD submodule. reviewers: | vvbandeira maliberty From ae77b105763499d8ef1c09a942239cf1a5e65e27 Mon Sep 17 00:00:00 2001 From: Vitor Bandeira Date: Tue, 22 Sep 2026 17:21:28 -0300 Subject: [PATCH 7/7] feat(metadata): stop sending rules files with uploaded metrics uploadMetadata.py read designs///rules-.json and sent it as a `rules` field in every design record. The rules files are removed, so the field was an empty object on every upload. The dashboard reads that field only to attach per-value thresholds for its build pages, and tolerates a missing key. Rule policy lives in the dashboard rule configs. Signed-off-by: Vitor Bandeira --- flow/util/uploadMetadata.py | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/flow/util/uploadMetadata.py b/flow/util/uploadMetadata.py index ac8a2bb463..6918ccf2b4 100755 --- a/flow/util/uploadMetadata.py +++ b/flow/util/uploadMetadata.py @@ -82,7 +82,7 @@ MAX_PUBSUB_BYTES = 8 * 1024 * 1024 -def build_design_record(dataFile, platform, design, variant, rules): +def build_design_record(dataFile, platform, design, variant): """Return a dict for one design to be included in the pipeline-level payload.""" with open(dataFile) as f: data = json.load(f) @@ -91,7 +91,6 @@ def build_design_record(dataFile, platform, design, variant, rules): "platform": platform, "design": design, "variant": variant, - "rules": rules, "metrics": metrics, } @@ -271,7 +270,6 @@ def publish_v1_per_design(publisher, topic_path, design_records, args, provenanc "commit_sha": args.commitSHA, "jenkins_url": args.jenkinsURL, "jenkins_env": args.jenkinsEnv, - "rules": d["rules"], } if provenance: payload.update(provenance) @@ -308,15 +306,6 @@ def publish_v1_per_design(publisher, topic_path, design_records, args, provenanc # --- END PUBSUB --- -def get_rules(dataFile): - data = {} - if os.path.exists(dataFile): - with open(dataFile) as f: - data = json.load(f) - - return data - - # --- PUBSUB init --- publisher = None topic_path = None @@ -358,16 +347,9 @@ def get_rules(dataFile): if platform == "sky130hd_fakestack" or platform == "src": print(f"[WARN] Skiping upload {platform} {design} {variant}.") continue - print(f"[INFO] Get rules for {platform} {design} {variant}.") - rules = get_rules( - os.path.join("designs", platform, design, f"rules-{variant}.json") - ) - # --- PUBSUB --- if publisher: - design_records.append( - build_design_record(dataFile, platform, design, variant, rules) - ) + design_records.append(build_design_record(dataFile, platform, design, variant)) # --- END PUBSUB --- # --- PUBSUB ---