Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | smt2/smtbmc: Fix FF witness data for fine grained or multi chunk FFs | Jannis Harder | 2022-10-12 | 3 | -5/+22 |
| | | | | | | | The witness metadata was missing fine grained FFs completely and for coarse grained FFs where the output connection has multiple chunks it lacked the offset of the chunk within the SMT expression. This fixes both, the later by adding an "smtoffset" field to the metadata. | ||||
* | backends: protobuf: removed protobuf backend | Aki Van Ness | 2022-10-10 | 3 | -383/+0 |
| | |||||
* | smtbmc: Avoid unnecessary string copies when parsing solver output | Jannis Harder | 2022-09-02 | 1 | -12/+9 |
| | |||||
* | Fitting help messages to 80 character width | KrystalDelusion | 2022-08-24 | 4 | -9/+10 |
| | | | | | | | | | Uses the regex below to search (using vscode): ^\t\tlog\("(.{10,}(?<!\\n)|.{81,}\\n)"\); Finds any log messages double indented (which help messages are) and checks if *either* there are is no newline character at the end, *or* the number of characters before the newline is more than 80. | ||||
* | write_aiger: Fix non-$_FF_ FFs | Jannis Harder | 2022-08-18 | 1 | -1/+1 |
| | | | | This broke while switching sby's formal flows to always use $_FF_'s. | ||||
* | smtbmc: Set step range for --yw and dont skip steps for --check-witness | Jannis Harder | 2022-08-16 | 1 | -2/+14 |
| | |||||
* | yosys-witness: Add stats command | Jannis Harder | 2022-08-16 | 1 | -0/+18 |
| | |||||
* | smtbmc: Add --check-witness mode | Jannis Harder | 2022-08-16 | 1 | -1/+22 |
| | | | | | This verifies that the given constraints force an assertion failure. This is useful to debug witness trace conversion (and minimization). | ||||
* | aiger: Add yosys-witness support | Jannis Harder | 2022-08-16 | 2 | -2/+317 |
| | | | | | Adds a new json based aiger map file and yosys-witness converters to us this to convert between native and AIGER witness files. | ||||
* | smtbmc: Add native json based witness format + smt2 backend support | Jannis Harder | 2022-08-16 | 6 | -113/+968 |
| | | | | | | | | | | | | | | | | | | | | This adds a native json based witness trace format. By having a common format that includes everything we support, and providing a conversion utility (yosys-witness) we no longer need to implement every format for every tool that deals with witness traces, avoiding a quadratic opportunity to introduce subtle bugs. Included: * smt2: New yosys-smt2-witness info lines containing full hierarchical paths without lossy escaping. * yosys-smtbmc --dump-yw trace.yw: Dump results in the new format. * yosys-smtbmc --yw trace.yw: Read new format as constraints. * yosys-witness: New tool to convert witness formats. Currently this can only display traces in a human-readable-only format and do a passthrough read/write of the new format. * ywio.py: Small python lib for reading and writing the new format. Used by yosys-smtbmc and yosys-witness to avoid duplication. | ||||
* | btor: Support $anyinit cells | Jannis Harder | 2022-08-16 | 1 | -1/+1 |
| | |||||
* | aiger: Support $anyinit cells | Jannis Harder | 2022-08-16 | 1 | -0/+11 |
| | |||||
* | smt2: Support $anyinit cells | Jannis Harder | 2022-08-16 | 1 | -10/+11 |
| | |||||
* | formalff: Set new replaced_by_gclk attribute on removed dff's clks | Jannis Harder | 2022-08-16 | 2 | -0/+21 |
| | | | | | | This attribute can be used by formal backends to indicate which clocks were mapped to the global clock. Update the btor and smt2 backend which already handle clock inputs to understand this attribute. | ||||
* | Switched to utf-8 in smtio.py | Miodrag Milanovic | 2022-08-09 | 1 | -2/+2 |
| | |||||
* | properly encode string in rtlil | Miodrag Milanovic | 2022-08-09 | 1 | -1/+1 |
| | |||||
* | Merge pull request #3432 from YosysHQ/aki/jny_updates | Miodrag Milanović | 2022-08-03 | 1 | -10/+33 |
|\ | | | | | jny: Added JNY schema and additional information to JNY output file | ||||
| * | backend: jny: updated the `JnyWriter` to emite a new "invocation" entry as ↵ | Aki Van Ness | 2022-08-02 | 1 | -10/+33 |
| | | | | | | | | well as a "$schema" entry to point to the location the schema will be at | ||||
* | | smt2: Fix $shift/$shiftx with negative shift ammounts | Jannis Harder | 2022-08-02 | 1 | -4/+4 |
|/ | | | | Fixes #3431, fixes #3344 | ||||
* | Add support for GHDL modfloor operator | Michael Nolan | 2022-07-05 | 2 | -1/+22 |
| | |||||
* | smt2, btor: Revert calling memory_map -rom-only | Jannis Harder | 2022-06-29 | 2 | -2/+0 |
| | | | | | | | | This approach had major issues with ROMs whose initialization was not fully defined. If required, memory_map -rom-only -keepdc should be called early in a formal flow instead. (This does require a careful choice of optimization passes though. Sby's scripts will be updated accordingly.) | ||||
* | memory_map: -keepdc option for formal | Jannis Harder | 2022-06-27 | 2 | -2/+2 |
| | | | | Use it when invoking memory_map -rom-only from write_{smt2,btor}. | ||||
* | btor: add support for $pos cell | Kevin Läufer | 2022-06-20 | 1 | -8/+11 |
| | |||||
* | smt2, btor: Use memory_map -rom-only to make ROMs usable for k-induction | Jannis Harder | 2022-06-17 | 2 | -0/+2 |
| | | | | | | This avoids provability regressions now that we infer more ROMs. This fixes #3378 | ||||
* | smtbmc: noincr: keep solver running for post check-sat unrolling | Jannis Harder | 2022-06-08 | 1 | -2/+7 |
| | |||||
* | Merge pull request #3357 from jix/smtbmc-cvc5 | Jannis Harder | 2022-06-08 | 1 | -3/+13 |
|\ | | | | | smtbmc: recognize cvc5 and fix unrolling for cvc4/cvc5 | ||||
| * | smtbmc: recognize cvc5 and fix unrolling for cvc4/cvc5 | Jannis Harder | 2022-06-03 | 1 | -3/+13 |
| | | |||||
* | | smt2: emit smtlib2_comb_expr outputs after all inputs | Jannis Harder | 2022-06-07 | 1 | -5/+9 |
| | | |||||
* | | Merge pull request #3319 from programmerjake/smtlib2-expr-support | Jannis Harder | 2022-06-07 | 1 | -6/+57 |
|\ \ | | | | | | | add smtlib2_comb_expr | ||||
| * | | smt2: Add smtlib2_comb_expr attribute to allow user-selected smtlib2 expressions | Jacob Lifshay | 2022-06-02 | 1 | -6/+57 |
| |/ | |||||
* / | smtbmc: Force nonincremental mode when yices is used with forall | Jannis Harder | 2022-06-03 | 1 | -1/+4 |
|/ | |||||
* | Use proper operator | Miodrag Milanovic | 2022-05-27 | 1 | -4/+4 |
| | |||||
* | add $divfloor support to write_smt2 | Jacob Lifshay | 2022-05-24 | 1 | -0/+21 |
| | | | | Fixes: #3330 | ||||
* | Add propagated clock signals into btor info file | Claire Xenia Wolf | 2022-05-04 | 1 | -0/+2 |
| | |||||
* | smt2: Make write port array stores conditional on nonzero write mask | Jannis Harder | 2022-04-20 | 1 | -2/+4 |
| | |||||
* | pass jny: flipped the defaults for the inclusion of various bits of metadata | Aki Van Ness | 2022-04-08 | 1 | -30/+30 |
| | |||||
* | pass jny: ensured the cell collection is cleared between modules | Aki Van Ness | 2022-04-08 | 1 | -0/+1 |
| | |||||
* | pass jny: fixed missing quotes around the type value for the cell sort | Aki Van Ness | 2022-04-08 | 1 | -1/+1 |
| | |||||
* | pass jny: fixed the backslash escape for strings | Aki Van Ness | 2022-04-08 | 1 | -2/+1 |
| | |||||
* | pass jny: removed the invalid json escapes | Aki Van Ness | 2022-04-08 | 1 | -12/+0 |
| | |||||
* | pass jny: added some todo comments about things that need to be done before ↵ | Aki Van Ness | 2022-04-08 | 1 | -0/+5 |
| | | | | a proper merge, but it should be enough for the PoC at the moment | ||||
* | pass jny: changed the constructor initializers to use parens rather than ↵ | Aki Van Ness | 2022-04-08 | 1 | -2/+2 |
| | | | | curly-braces to hopefully make GCC 4.8 happy | ||||
* | pass jny: fixed the string escape method to be less jank and more proper | Aki Van Ness | 2022-04-08 | 1 | -21/+58 |
| | |||||
* | pass jny: fixed the signed output for param value output | Aki Van Ness | 2022-04-08 | 1 | -1/+1 |
| | |||||
* | pass jny: added connection output | Aki Van Ness | 2022-04-08 | 1 | -4/+88 |
| | |||||
* | pass jny: added filter options for including connections, attributes, and ↵ | Aki Van Ness | 2022-04-08 | 1 | -25/+125 |
| | | | | properties | ||||
* | pass jny: large chunk of refactoring to make the JSON output more pretty and ↵ | Aki Van Ness | 2022-04-08 | 1 | -75/+89 |
| | | | | the internals less of a spaghetti nightmare | ||||
* | metadata -> jny: migrated to the proper name for the pass | Aki Van Ness | 2022-04-08 | 3 | -21/+19 |
| | |||||
* | pass metadata: added the machinery to write param and attributes | Aki Van Ness | 2022-04-08 | 1 | -8/+27 |
| | |||||
* | pass metadata: removed superfluous `stringf` calls | Aki Van Ness | 2022-04-08 | 1 | -37/+40 |
| |