aboutsummaryrefslogtreecommitdiffstats
path: root/passes/opt/opt_lut.cc
Commit message (Collapse)AuthorAgeFilesLines
* opt_lut: Allow more than one -dlogic per cell type.Marcelina Koƛcielnicka2021-07-291-23/+30
| | | | Fixes #2061.
* Fix use-after-free in LUT opt passStefanBruens2020-12-221-2/+4
| | | | | RTLIL::Module::remove(Cell* cell) calls `delete cell`. Any subsequent accesses of `cell` then causes undefined behavior.
* Use C++11 final/override keywords.whitequark2020-06-181-2/+2
|
* kernel: big fat patch to use more ID::*, otherwise ID(*)Eddie Hung2020-04-021-11/+11
|
* Use ID::keep more liberally tooEddie Hung2019-08-151-1/+1
|
* Use more ID::{A,B,Y,blackbox,whitebox}Eddie Hung2019-08-151-14/+14
|
* Use ID() macro in all of passes/opt/Clifford Wolf2019-08-111-27/+27
| | | | | | | | | | This was obtained by running the following SED command in passes/opt/ and then using "meld foo.cc foo.cc.orig" to manually fix all resulting compiler errors. sed -i.orig -r 's/"\\\\([a-zA-Z0-9_]+)"/ID(\1)/g; s/"(\$[a-zA-Z0-9_]+)"/ID(\1)/g;' *.cc Signed-off-by: Clifford Wolf <clifford@clifford.at>
* opt_lut to ignore LUT cells, or those that drive bits, with (* keep *)Eddie Hung2019-08-071-0/+6
|
* Fix formatting for msys2 mingw build using GetSizeMiodrag Milanovic2019-08-011-4/+4
|
* opt_lut: make less chatty.whitequark2019-07-131-56/+38
|
* Merge pull request #773 from whitequark/opt_lut_elim_fixesClifford Wolf2019-01-021-8/+31
|\ | | | | opt_lut: elimination fixes
| * opt_lut: reflect changes in sigmap.whitequark2019-01-021-0/+2
| | | | | | | | Otherwise, some LUTs will be missed during elimination.
| * opt_lut: use a worklist, and revisit cells affected by elimination.whitequark2019-01-021-3/+10
| |
| * opt_lut: count eliminated cells, and set opt.did_something for them.whitequark2019-01-021-6/+20
| |
* | Fix typographical and grammatical errors and inconsistencies.whitequark2019-01-021-1/+1
|/ | | | | | | | | | | | The initial list of hits was generated with the codespell command below, and each hit was evaluated and fixed manually while taking context into consideration. DIRS="kernel/ frontends/ backends/ passes/ techlibs/" DIRS="${DIRS} libs/ezsat/ libs/subcircuit" codespell $DIRS -S *.o -L upto,iff,thru,synopsys,uint More hits were found by looking through comments and strings manually.
* opt_lut: eliminate LUTs evaluating to constants or inputs.whitequark2018-12-311-0/+81
|
* Merge pull request #720 from whitequark/masterClifford Wolf2018-12-161-1/+1
|\ | | | | lut2mux: handle 1-bit INIT constant in $lut cells
| * opt_lut: simplify type conversion. NFC.whitequark2018-12-051-1/+1
| |
* | opt_lut: leave intact LUTs with cascade feeding module outputs.whitequark2018-12-071-0/+6
| |
* | opt_lut: show original truth table for both cells.whitequark2018-12-071-2/+3
| |
* | opt_lut: add -limit option, for debugging misoptimizations.whitequark2018-12-071-3/+21
|/
* Rename opt_lut.cpp to opt_lut.ccClifford Wolf2018-12-051-0/+478
Signed-off-by: Clifford Wolf <clifford@clifford.at>