-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #783 from diffblue/avalbval-to-bool
Verilog: aval/bval lowering for casts to Bool
- Loading branch information
Showing
7 changed files
with
34 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
KNOWNBUG | ||
CORE broken-smt-backend | ||
sequence5.sv | ||
--bound 0 | ||
^\[main\.p0\] 1: PROVED up to bound 0$ | ||
^\[main\.p1\] 0: REFUTED$ | ||
^\[main\.p2\] 1'bx: PROVED up to bound 0$ | ||
^\[main\.p3\] 1'bz: PROVED up to bound 0$ | ||
^\[main\.p2\] 1'bx: REFUTED$ | ||
^\[main\.p3\] 1'bz: REFUTED$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- | ||
x and z are recognized as 'true', but 'true' is defined as a "nonzero known | ||
value" (1800-2017 12.4). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,9 @@ Author: Daniel Kroening, [email protected] | |
// 1 1 | Z | ||
|
||
bool is_four_valued(const typet &); | ||
bool is_four_valued(const exprt &); | ||
bool is_aval_bval(const typet &); | ||
bool is_aval_bval(const exprt &); | ||
std::size_t aval_bval_width(const typet &); | ||
typet aval_bval_underlying(const typet &); | ||
|
||
|
@@ -50,5 +52,7 @@ exprt aval_bval(const verilog_wildcard_equality_exprt &); | |
exprt aval_bval(const verilog_wildcard_inequality_exprt &); | ||
/// lowering for ** | ||
exprt aval_bval(const power_exprt &); | ||
/// lowering for typecasts | ||
exprt aval_bval(const typecast_exprt &); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters