aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/calc.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fixing old e-mail addresses and deadnamesClaire Xenia Wolf2021-06-081-1/+1
| | | | | | | | 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;
* Respect \A_SIGNED for $shiftXiretza2020-08-181-40/+20
| | | | | | 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).
* Add flooring division operatorXiretza2020-05-281-0/+22
| | | | | | | | | | 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 $divfloor cell provides this flooring division. This commit also fixes the handling of $div in opt_expr, which was previously optimized as if it was $divfloor.
* Add flooring modulo operatorXiretza2020-05-281-0/+25
| | | | | | | | | | | 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.
* Fix mingw compile issue (2nd attempt)Clifford Wolf2017-02-231-2/+2
|
* Fix mingw compile issue (maybe.. I can't test it)Clifford Wolf2017-02-231-2/+2
|
* Import more std:: stuff into Yosys namespaceClifford Wolf2015-10-251-10/+10
|
* Fixed trailing whitespacesClifford Wolf2015-07-021-2/+2
|
* Fixed const2big performance bugClifford Wolf2015-04-091-14/+21
|
* Renamed SIZE() to GetSize() because of name collision on Win32Clifford Wolf2014-10-101-1/+1
|
* Removed $bu0 cell typeClifford Wolf2014-09-041-21/+0
|
* Using $pos models for $bu0Clifford Wolf2014-09-031-1/+1
|
* Small bug fixes in $not, $neg, and $shiftx modelsClifford Wolf2014-09-021-3/+2
|
* Fixed return size of const_*() eval functionsClifford Wolf2014-08-311-1/+5
|
* Moved some stuff to kernel/yosys.{h,cc}, using Yosys:: namespaceClifford Wolf2014-07-311-2/+5
|
* Added $shift and $shiftx cell types (needed for correct part select behavior)Clifford Wolf2014-07-291-5/+38
|
* Using log_assert() instead of assert()Clifford Wolf2014-07-281-1/+0
|
* Strictly zero-extend unsigned A-inputs of shift operationsClifford Wolf2014-03-061-2/+2
|
* Added $bu0 cell (for easy correct $eq/$ne mapping)Clifford Wolf2013-12-281-0/+8
|
* Added proper === and !== support in constant expressionsClifford Wolf2013-12-271-0/+29
|
* More undef-propagation related fixesClifford Wolf2013-11-081-0/+5
|
* Removed debug log from const_pow()Clifford Wolf2013-11-081-1/+0
|
* Fixed handling of power operatorClifford Wolf2013-11-071-9/+41
|
* Fixed more extend vs. extend_u0 issuesClifford Wolf2013-11-071-8/+17
|
* Improved undef handling in == and != for ConstEvalClifford Wolf2013-11-061-11/+25
|
* Improved width extension with regard to undef propagationClifford Wolf2013-11-061-64/+97
|
* Fixed handling of undef values in POS cells in ConstEvalClifford Wolf2013-11-061-3/+1
|
* Fixed sign handling in const eval of sshl and sshrClifford Wolf2013-11-051-2/+6
|
* Fixed signed div/mod in const eval (rounding and stuff)Clifford Wolf2013-08-151-2/+8
|
* Added eval -brute_force_equiv_checker_x modeClifford Wolf2013-08-151-4/+10
|
* Fixed even more ConstEval bugs found using xsthammerClifford Wolf2013-06-141-26/+53
|
* Moved stand-alone libs to libs/ directory and added libs/subcircuitClifford Wolf2013-02-271-1/+1
|
* initial importClifford Wolf2013-01-051-0/+392