diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-02-23 13:14:47 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-02-23 13:14:47 +0100 |
commit | eb67a7532bf1d8195216257a2d6d301c03980591 (patch) | |
tree | f9246e5ace86c1cc365b4f5111061d99fbcc9aeb /README.md | |
parent | 2521ed305e9d48929c9ede93b8cb0069739408f5 (diff) | |
download | yosys-eb67a7532bf1d8195216257a2d6d301c03980591.tar.gz yosys-eb67a7532bf1d8195216257a2d6d301c03980591.tar.bz2 yosys-eb67a7532bf1d8195216257a2d6d301c03980591.zip |
Add $allconst and $allseq cell types
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -387,15 +387,20 @@ Non-standard or SystemVerilog features for formal verification - The system task ``$initstate`` evaluates to 1 in the initial state and to 0 otherwise. -- The system task ``$anyconst`` evaluates to any constant value. This is +- The system function ``$anyconst`` evaluates to any constant value. This is equivalent to declaring a reg as ``rand const``, but also works outside of checkers. (Yosys also supports ``rand const`` outside checkers.) -- The system task ``$anyseq`` evaluates to any value, possibly a different +- The system function ``$anyseq`` evaluates to any value, possibly a different value in each cycle. This is equivalent to declaring a reg as ``rand``, but also works outside of checkers. (Yosys also supports ``rand`` variables outside checkers.) +- The system functions ``$allconst`` and ``$allseq`` are used to construct formal + exist-forall problems. Assertions are only violated if the trace vialoates + the assertion for all ``$allconst/$allseq`` values and assumptions only hold + if the trace satisfies the assumtion for all ``$allconst/$allseq`` values. + - The SystemVerilog tasks ``$past``, ``$stable``, ``$rose`` and ``$fell`` are supported in any clocked block. |