aboutsummaryrefslogtreecommitdiffstats
path: root/passes/pmgen
Commit message (Collapse)AuthorAgeFilesLines
* Fitting help messages to 80 character widthKrystalDelusion2022-08-241-3/+3
| | | | | | | | | Uses the regex below to search (using vscode): ^\t\tlog\("(.{10,}(?<!\\n)|.{81,}\\n)"\); Finds any log messages double indented (which help messages are) and checks if *either* there are is no newline character at the end, *or* the number of characters before the newline is more than 80.
* Update commentScott Thibault2022-02-021-1/+1
|
* Fix unextend method for signed constantsScott Thibault2022-02-021-2/+1
|
* Make it work on allMiodrag Milanovic2021-11-051-2/+4
|
* Correct way of setting maybe_unsused on labelsMiodrag Milanovic2021-11-051-4/+2
|
* Fixing old e-mail addresses and deadnamesClaire Xenia Wolf2021-06-087-7/+7
| | | | | | | | 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;
* Add _pm.h files to GENLIST, fixes vcxsrc targetMiodrag Milanovic2021-03-111-0/+9
|
* passes/pmgen/pmgen.py: trivial change to remove C++ compiler warningsLarry Doolittle2020-12-231-2/+2
| | | | Verified that the result still builds and passes self-tests
* Return nice error in pmgen generated code, fixes #2482Miodrag Milanovic2020-12-091-2/+6
|
* Merge pull request #2333 from YosysHQ/mwk/peepopt-shiftmul-signedclairexen2020-08-201-5/+1
|\ | | | | peeopt.shiftmul: Add a signedness check.
| * peeopt.shiftmul: Add a signedness check.Marcelina Kościelnicka2020-08-051-5/+1
| | | | | | | | Fixes #2332.
* | Merge pull request #2328 from YosysHQ/mwk/opt_dff-cleanupclairexen2020-08-203-175/+0
|\ \ | | | | | | Remove passes redundant with opt_dff
| * | peepopt: Remove now-redundant dffmux pattern.Marcelina Kościelnicka2020-08-073-175/+0
| |/
* / peepopt.muldiv: Add a signedness check.Marcelina Kościelnicka2020-08-041-1/+4
|/ | | | Fixes #2318.
* synth_ice40: Use opt_dff.Marcelina Kościelnicka2020-07-302-247/+86
| | | | | | | | | The main part is converting ice40_dsp to recognize the new FF types created in opt_dff instead of trying to recognize the mux patterns on its own. The fsm call has been moved upwards because the passes cannot deal with $dffe/$sdff*, and other optimizations don't help it much anyway.
* synth_xilinx: Use opt_dff.Marcelina Kościelnicka2020-07-305-861/+200
| | | | | | | | | The main part is converting xilinx_dsp to recognize the new FF types created in opt_dff instead of trying to recognize the patterns on its own. The fsm call has been moved upwards because the passes cannot deal with $dffe/$sdff*, and other optimizations don't help it much anyway.
* Use [[maybe_unused]] instead of YS_ATTRIBUTE(unused).whitequark2020-06-191-10/+10
| | | | | [[maybe_unused]] is available since C++17, so this commit adds a polyfill YS_MAYBE_UNUSED. Once we require C++17 we can drop it.
* Use C++11 final/override keywords.whitequark2020-06-186-12/+12
|
* xilinx: xilinx_dsp_cascade to check CREG for DSP48E1 onlyEddie Hung2020-04-221-1/+1
|
* Cleanup use of hard-coded default parameters in light of #1945Eddie Hung2020-04-227-48/+48
|
* kernel: big fat patch to use more ID::*, otherwise ID(*)Eddie Hung2020-04-026-178/+178
|
* kernel: use more ID::*Eddie Hung2020-04-021-2/+2
|
* Merge pull request #1657 from YosysHQ/dave/xilinx-dsp-multonlyDavid Shah2020-02-021-0/+7
|\ | | | | synth_xilinx: add -dsp-multonly
| * xilinx_dsp: Add multonly scratchpad var to bypassDavid Shah2020-02-011-0/+7
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | Fix $lut input ordering -- SigSpec(std::initializer_list<>) is backwardsEddie Hung2020-01-271-1/+1
| | | | | | | | Just like Verilog...
* | ice40: reduce ABC9 internal fanout warnings with a param for CI->I3Eddie Hung2020-01-241-3/+12
|/
* xilinx_dsp: another typo; move xilinx specific testEddie Hung2020-01-171-1/+1
|
* ice40_dsp: fix typoEddie Hung2020-01-171-2/+2
|
* ConsistencyEddie Hung2020-01-172-4/+6
|
* xilinx_dsp: add parameter defaultsEddie Hung2020-01-171-7/+7
|
* ice40_dsp: add default values for parametersEddie Hung2020-01-172-11/+11
|
* ice40_dsp: tolerant of fanout-less outputs, as well as all-zero inputsEddie Hung2020-01-171-0/+5
|
* fixed invalid charMiodrag Milanovic2019-12-251-1/+1
|
* Minor nit fixesMarcin Kościelnicki2019-12-251-2/+2
|
* Fix OPMODE for PCIN->PCOUT cascades in xc6s, check B[01]REG tooEddie Hung2019-12-231-8/+18
|
* Fix CEA/CEB checkEddie Hung2019-12-231-2/+2
|
* Fix checking CE[AB] and for direct connectionsEddie Hung2019-12-231-18/+40
|
* Support unregistered cascades for A and B inputsEddie Hung2019-12-231-47/+74
|
* Add DSP48A* PCOUT -> PCIN cascade supportEddie Hung2019-12-231-10/+10
|
* xilinx_dsp: Initial DSP48A/DSP48A1 support.Marcin Kościelnicki2019-12-224-11/+886
|
* ice40_wrapcarry -unwrap to preserve 'src' attributeEddie Hung2019-12-091-1/+9
|
* -unwrap to create $lut not SB_LUT4 for opt_lutEddie Hung2019-12-091-7/+5
|
* Sensitive to direct inst of $__ICE40_CARRY_WRAPPER; recreate SB_LUT4Eddie Hung2019-12-091-7/+11
|
* ice40_wrapcarry to really preserve attributes via -unwrap optionEddie Hung2019-12-091-17/+55
|
* Drop keep=0 attributes on SB_CARRYEddie Hung2019-12-061-0/+8
|
* Merge SB_CARRY+SB_LUT4's attributes when creating $__ICE40_CARRY_WRAPPEREddie Hung2019-12-051-0/+1
|
* ice40_wrapcarry to preserve SB_CARRY's attributesEddie Hung2019-12-031-0/+2
|
* Check for either sign or zero extension for postAdd packingEddie Hung2019-11-261-3/+3
|
* Fix #1462, #1480.Marcin Kościelnicki2019-11-192-9/+11
|
* Makefile: don't assume python is called `python3`Sean Cross2019-10-191-2/+2
| | | | | | | | | | | | | | | | On some architectures, notably on Windows, the official name for the Python binary from python.org is `python`. The build system assumes that python is called `python3`, which breaks under this architecture. There is already infrastructure in place to determine the name of the Python binary when building PYOSYS. Since Python is now always required to build Yosys, enable this check universally which sets the `PYTHON_EXECUTABLE` variable. Then, reuse this variable in other Makefiles as necessary, rather than hardcoding `python3` everywhere. Signed-off-by: Sean Cross <sean@xobs.io>