aboutsummaryrefslogtreecommitdiffstats
path: root/backends/btor/btor.cc
Commit message (Collapse)AuthorAgeFilesLines
* Hook up $aldff support in various passes.Marcelina Kościelnicka2021-10-021-1/+1
|
* Fixing old e-mail addresses and deadnamesClaire Xenia Wolf2021-06-081-2/+2
| | | | | | | | s/((Claire|Xen|Xenia|Clifford)\s+)+(Wolf|Xen)\s+<(claire|clifford)@(symbioticeda.com|clifford.at|yosyshq.com)>/Claire Xenia Wolf <claire@yosyshq.com>/gi; s/((Nina|Nak|N\.)\s+)+Engelhardt\s+<nak@(symbioticeda.com|yosyshq.com)>/N. Engelhardt <nak@yosyshq.com>/gi; s/((David)\s+)+Shah\s+<(dave|david)@(symbioticeda.com|yosyshq.com|ds0.me)>/David Shah <dave@ds0.me>/gi; s/((Miodrag)\s+)+Milanovic\s+<(miodrag|micko)@(symbioticeda.com|yosyshq.com)>/Miodrag Milanovic <micko@yosyshq.com>/gi; s,https?://www.clifford.at/yosys/,http://yosyshq.net/yosys/,g;
* Make a few passes auto-call Mem::narrow instead of rejecting wide ports.Marcelina Kościelnicka2021-05-281-9/+3
| | | | | | This essentially adds wide port support for free in passes that don't have a usefully better way of handling wide ports than just breaking them up to narrow ports, avoiding "please run memory_narrow" annoyance.
* Reject wide ports in some passes that will never support them.Marcelina Kościelnicka2021-05-251-2/+11
|
* btor: Use is_mem_cell in one more place.Marcelina Kościelnicka2021-05-231-1/+1
|
* kernel/rtlil: Extract some helpers for checking memory cell types.Marcelina Kościelnicka2021-05-221-1/+1
| | | | | | There will soon be more (versioned) memory cells, so handle passes that only care if a cell is memory-related by a simple helper call instead of a hardcoded list.
* btor, smt2, smv: Add a hint on how to deal with funny FF types.Marcelina Kościelnicka2021-02-251-1/+14
|
* btor: Use Mem helper.Marcelina Kościelnicka2020-10-211-93/+102
|
* Respect \A_SIGNED for $shiftXiretza2020-08-181-9/+17
| | | | | | This reflects the behaviour of $shr/$shl, which sign-extend their A operands to the size of their output, then do a logical shift (shift in 0-bits).
* Use C++11 final/override keywords.whitequark2020-06-181-2/+2
|
* btor backend: make not printing internal names defaultN. Engelhardt2020-06-041-5/+5
|
* Add printf format attributes to btorf/infof helper functionsClaire Wolf2020-06-041-3/+3
| | | | Signed-off-by: Claire Wolf <claire@symbioticeda.com>
* btor backend: add option to not include internal namesN. Engelhardt2020-06-041-33/+42
|
* Add flooring modulo operatorXiretza2020-05-281-4/+10
| | | | | | | | | | | The $div and $mod cells use truncating division semantics (rounding towards 0), as defined by e.g. Verilog. Another rounding mode, flooring (rounding towards negative infinity), can be used in e.g. VHDL. The new $modfloor cell provides this flooring modulo (also known as "remainder" in several languages, but this name is ambiguous). This commit also fixes the handling of $mod in opt_expr, which was previously optimized as if it was $modfloor.
* kernel: big fat patch to use more ID::*, otherwise ID(*)Eddie Hung2020-04-021-106/+106
|
* Update backends/btor/btor.cc; credit @boqwxpEddie Hung2020-04-021-2/+1
| | | Co-Authored-By: Alberto Gonzalez <61295559+boqwxp@users.noreply.github.com>
* kernel: use more ID::*Eddie Hung2020-04-021-51/+51
|
* Improve write_btor symbol handlingClaire Wolf2020-03-141-36/+60
| | | | Signed-off-by: Claire Wolf <claire@symbioticeda.com>
* Add info-file and cover features to write_btorClaire Wolf2020-03-131-9/+113
| | | | Signed-off-by: Claire Wolf <claire@symbioticeda.com>
* Use cell name for btor bad state props when it is a public nameClifford Wolf2019-11-141-9/+5
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Add an info string symbol for bad states in btor backendMakai Mann2019-11-111-1/+10
|
* Fix btor back-end to use "state" instead of "input" for undef init bitsClifford Wolf2019-10-021-6/+9
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Corrects btor2 backendAman Goel2019-09-271-1/+4
|
* Fix stupid bug in btor back-endClifford Wolf2019-09-181-1/+1
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Use State::S{0,1}Eddie Hung2019-08-061-2/+2
|
* Add $_NMUX_, add "abc -g cmos", add proper cmos cell costsClifford Wolf2019-08-061-1/+7
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Improve BTOR2 handling of undriven wiresClifford Wolf2019-06-261-3/+27
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Add proper error message for btor recursion_guardClifford Wolf2019-05-241-1/+7
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Change "ne" to "neq" in btor2 outputClifford Wolf2019-04-191-1/+1
| | | | | | | we need to do this because they changed the parser: https://github.com/Boolector/btor2tools/commit/e97fc9cedabadeec4f621de22096e514f862c690 Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Add support for memory initialization to write_btorClifford Wolf2019-03-231-0/+53
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Fix BTOR output tags syntax in writye_btorClifford Wolf2019-03-231-2/+1
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Minor style fixesClifford Wolf2018-12-181-1/+1
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Add btor ops for $mul, $div, $mod and $concatmakaimann2018-12-171-2/+38
|
* Fix btor init value handlingClifford Wolf2018-12-081-9/+13
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Consistent use of 'override' for virtual methods in derived classes.Henner Zeller2018-07-201-2/+2
| | | | | | | | | o Not all derived methods were marked 'override', but it is a great feature of C++11 that we should make use of. o While at it: touched header files got a -*- c++ -*- for emacs to provide support for that language. o use YS_OVERRIDE for all override keywords (though we should probably use the plain keyword going forward now that C++11 is established)
* Add "no driver for signal bit" error msg to btor back-endClifford Wolf2017-12-241-0/+2
|
* Simple fix BTOR memory encodingClifford Wolf2017-12-171-2/+2
|
* Improve BTOR memory encodingClifford Wolf2017-12-171-2/+16
|
* Add array support to btor back-endClifford Wolf2017-12-151-6/+169
|
* Add $anyconst/$anyseq support to btor back-endClifford Wolf2017-12-151-13/+51
|
* Add "write_btor -s" modeClifford Wolf2017-12-131-6/+50
|
* Add state initval handling to btor back-endClifford Wolf2017-12-121-0/+25
|
* Add btor back-end support for 'x' constantsClifford Wolf2017-12-121-1/+54
|
* Add btor $shift/$shiftx supportClifford Wolf2017-12-111-5/+35
|
* Fix btor back-end shift handlingClifford Wolf2017-12-101-4/+6
|
* Add support for $pmux in btor back-endClifford Wolf2017-12-101-0/+23
|
* Add support for more cell types to btor back-endClifford Wolf2017-12-101-6/+215
|
* Fix btor concatClifford Wolf2017-12-091-1/+1
|
* Bugfixes in new BTOR back-endClifford Wolf2017-11-241-2/+3
|
* Progress in new BTOR back-endClifford Wolf2017-11-231-36/+97
|