| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Support for data and array queries on struct/union item expressions
|
| | |
|
| |
| |
| |
| | |
For now, $bits, $left, $right, $low, $high, and $size are supported.
|
|\ \
| |/
|/| |
Add test for typenames using constants shadowed later on
|
| |
| |
| |
| |
| | |
This possible edge case came up while reviewing #3555. It is currently
handled correctly, but there is no clear test coverage.
|
|\ \
| | |
| | | |
Handle range offsets in packed arrays within packed structs
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This brings the metadata for packed arrays in packed structs
in line with the metadata for unpacked arrays, and correctly
handles the case when both lsb and msb in an address range are
non-zero.
|
|\ \ \
| | | |
| | | | |
chformal: Add -coverenable option
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
equiv_make: Add -make_assert option
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
This adds a -make_assert flag to equiv_make. When used, the pass generates
$eqx and $assert cells to encode equivalence instead of $equiv.
|
|\ \ \ \
| | | | |
| | | | | |
tests: Fix path of yosys invocation in xprop tests
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Use `$finish(0)` to silently exit even when using recent iverlog
versions. Run `write_verilog -noexpr` before `write_verilog` as the
latter can modify the design.
This also enables checking the tests results, as xprop should be in a
state where the existing tests pass.
|
| | | | | |
|
| | |_|/
| |/| |
| | | |
| | | |
| | | | |
For now xprop test failures are still expected and ignored, but without
this change, they did not even run unless the yosys build was in path.
|
|/ / /
| | |
| | |
| | | |
* Resolve package types in interfaces
* Added test for resolving of package types in interfaces
|
| | | |
|
|\ \ \
| | | |
| | | | |
backends/rtlil: Do not shorten a value with z bits to 'x
|
| | | | |
|
| |_|/
|/| | |
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
New xprop pass
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
The previous mapping to `$_XOR_` and `$_NOT_` predates the addition of
the `$_XNOR_` cell.
|
|\ \ \
| | | |
| | | | |
simplify: Do not recursively simplify AST_CELL within AST_CELLARRAY
|
| | | | |
|
|/ / / |
|
|\ \ \
| |/ /
|/| | |
Support for arrays with swapped ranges within structs
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This also corrects the implementation of C type arrays within structs.
Fixes #3550
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is primarily intended to enable the standard-permitted use of
module-scoped identifiers to refer to tasks and non-constant functions.
As a side-effect, this also adds support for the non-standard use of
module-scoped identifiers referring to constant functions, a feature
that is supported in some other tools, including Iverilog.
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: gatecat <gatecat@ds0.me>
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: gatecat <gatecat@ds0.me>
|
| | |
| | |
| | |
| | | |
POSIX one. The tests now complete on BSD as well as GNU/Linux.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| | | |
| | | | |
equiv_opt and clk2fflogic fixes
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
|
|\ \ \ \
| |/ / /
|/| | | |
Add BLIF names command input plane size check
|
| | | | |
|
| |/ /
|/| | |
|
|/ / |
|
| |
| |
| |
| | |
This broke while switching sby's formal flows to always use $_FF_'s.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|