3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-03-02 03:36:56 +00:00

Remove cell mentions.

This commit is contained in:
nella 2026-02-18 09:29:35 +01:00
parent 2b4f481850
commit 01e89a8f9e
2 changed files with 11 additions and 13 deletions

View file

@ -136,14 +136,13 @@ names to all cells that participate in the witness framework:
These public names allow downstream tools to refer to individual properties by These public names allow downstream tools to refer to individual properties by
their hierarchical path rather than by anonymous internal identifiers. their hierarchical path rather than by anonymous internal identifiers.
The `write_aiger -ywmap` option generates a JSON map file that includes, among The `write_aiger -ywmap` option generates a map file for conversion to and from
other things, ``"asserts"`` and ``"assumes"`` arrays. Each entry contains the Yosys witness traces, and also allows for mapping AIGER bad-state properties and
hierarchical witness path of the corresponding `$assert` or `$assume` cell. invariant constraints back to individual formal properties by name. This enables
This lets tools such as SBY map AIGER bad-state properties and invariant features like per-property pass/fail reporting (e.g. `abc pdr` with
constraints back to individual formal properties, enabling features like ``--keep-going`` mode).
per-property pass/fail reporting (e.g. `abc pdr` with ``--keep-going`` mode).
The `write_smt2` backend similarly uses the public witness names when emitting The `write_smt2` backend similarly uses the public witness names when emitting
``yosys-smt2-assert`` and ``yosys-smt2-assume`` comments. Cells whose SMT2 comments. Cells whose ``hdlname`` attribute contains the ``_witness_``
``hdlname`` attribute contains the ``_witness_`` marker are treated as having marker are treated as having private names for comment purposes, keeping solver
private names for comment purposes, keeping solver output clean. output clean.

View file

@ -254,10 +254,9 @@ struct RenamePass : public Pass {
log("\n"); log("\n");
log(" rename -enumerate [-pattern <pattern>] [selection]\n"); log(" rename -enumerate [-pattern <pattern>] [selection]\n");
log("\n"); log("\n");
log("Assign short auto-generated names to all selected wires and cells with private\n"); log("Assigns auto-generated names to objects used in formal verification\n");
log("names. The -pattern option can be used to set the pattern for the new names.\n"); log("that do not have a public name. This applies to all formal property\n");
log("The character %% in the pattern is replaced with a integer number. The default\n"); log("cells, $any*/$all* output wires, and their containing cells.\n");
log("pattern is '_%%_'.\n");
log("\n"); log("\n");
log("\n"); log("\n");
log(" rename -witness\n"); log(" rename -witness\n");