aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/modtools.h
Commit message (Collapse)AuthorAgeFilesLines
* remove template declaration that stops function from being usedN. Engelhardt2023-01-111-4/+0
|
* Refactor common parts of SAT-using optimizations into a helper.Marcelina Kościelnicka2021-08-091-2/+4
| | | | | | | | | | | | | This also aligns the functionality: - in all cases, the onehot attribute is used to create appropriate constraints (previously, opt_dff didn't do it at all, and share created one-hot constraints based on $pmux presence alone, which is unsound) - in all cases, shift and mul/div/pow cells are now skipped when importing the SAT problem (previously only memory_share did this) — this avoids creating clauses for hard cells that are unlikely to help with proving the UNSATness needed for optimization
* 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;
* modtools: fix use-after-free of cell pointers in ModWalkerXiretza2021-03-181-0/+2
| | | | | | | | cell_inputs and cell_outputs retain cell pointers as their keys across invocations of setup(), which may however be invalidated in the meantime (as happens in e.g. passes/opt/share.cc:1432). A later rehash of the dicts (caused by inserting in ModWalker::add_wire()) will cause them to be dereferenced.
* Remove YS_ATTRIBUTE(unused) where present just for log_assert()/log_debug().whitequark2020-06-191-3/+3
|
* Use C++11 final/override keywords.whitequark2020-06-181-4/+4
|
* Merge pull request #1845 from YosysHQ/eddie/kernel_speedupEddie Hung2020-04-021-1/+1
|\ | | | | kernel: speedup by using more pass-by-const-ref
| * kernel: more pass by const ref, more speedupsEddie Hung2020-03-181-1/+1
| |
* | kernel: share a single CellTypes within a passEddie Hung2020-03-181-10/+3
|/
* Consistent use of 'override' for virtual methods in derived classes.Henner Zeller2018-07-201-5/+5
| | | | | | | | | 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)
* Fixed some visual studio warningsClifford Wolf2016-02-131-2/+2
|
* Fixed handling of driver-driver conflicts in wreduceClifford Wolf2015-10-241-1/+22
|
* Fixed trailing whitespacesClifford Wolf2015-07-021-2/+2
|
* Various ModIndex improvementsClifford Wolf2015-02-081-13/+54
|
* Added ENABLE_NDEBUG makefile optionsClifford Wolf2015-01-241-3/+3
|
* hotfix for ModInfoClifford Wolf2014-12-311-1/+1
|
* Renamed hashmap.h to hashlib.h, some related improvementsClifford Wolf2014-12-281-1/+1
|
* Various improvements in ModIndexClifford Wolf2014-12-271-5/+53
|
* More dict/pool related changesClifford Wolf2014-12-271-32/+49
|
* Introducing YS_OVERRIDE, YS_FINAL, YS_ATTRIBUTE, YS_NORETURNClifford Wolf2014-11-091-1/+1
|
* Renamed SIZE() to GetSize() because of name collision on Win32Clifford Wolf2014-10-101-3/+3
|
* Fixed build with gcc-4.6Clifford Wolf2014-08-071-1/+1
|
* Added support for truncating of wires to wreduce passClifford Wolf2014-08-051-8/+16
|
* Added query() API to ModIndexClifford Wolf2014-08-031-8/+46
|
* Added ModIndex helper class, some changes to RTLIL::MonitorClifford Wolf2014-08-011-0/+111
|
* Renamed modwalker.h to modtools.hClifford Wolf2014-07-311-0/+298