aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/common
Commit message (Collapse)AuthorAgeFilesLines
* Do not map $eq and $ne in cmp2lut, only proper arithmetic cmpClifford Wolf2019-11-111-1/+1
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* 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>
* Missing (* mul2dsp *) for sliceBEddie Hung2019-09-271-2/+2
|
* Stop trying to be too smart by prematurely optimisingEddie Hung2019-09-261-34/+6
|
* mul2dsp.v slice namesEddie Hung2019-09-251-5/+5
|
* Remove unnecessary check for A_SIGNED != B_SIGNED; be more explicitEddie Hung2019-09-251-3/+1
|
* Revert "Remove _TECHMAP_CELLTYPE_ check since all $mul"Eddie Hung2019-09-251-2/+6
| | | | This reverts commit 234738b103d4f2b3d937ed928fd89bc4e31627f1.
* Revert "No need for $__mul anymore?"Eddie Hung2019-09-251-8/+8
| | | | This reverts commit 1d875ac76a354f654f28b9632d83f6b43542e827.
* Remove _TECHMAP_CELLTYPE_ check since all $mulEddie Hung2019-09-251-6/+2
|
* No need for $__mul anymore?Eddie Hung2019-09-251-8/+8
|
* Fix signedness bugEddie Hung2019-09-201-2/+2
|
* Be sensitive to signednessEddie Hung2019-09-101-20/+21
|
* Really get rid of 'opt_expr -fine' by being explicitEddie Hung2019-09-101-6/+33
|
* Merge remote-tracking branch 'origin/master' into xc7dspEddie Hung2019-09-052-0/+2
|\
| * Use a dummy box file if none specifiedEddie Hung2019-08-282-0/+2
| |
* | Merge branch 'xc7dsp' of github.com:YosysHQ/yosys into xc7dspEddie Hung2019-08-301-1/+1
|\ \
| * | Merge branch 'master' into xc7dspDavid Shah2019-08-301-1/+1
| |\|
| | * Missing newlineEddie Hung2019-08-201-1/+1
| | |
* | | Only swap ports if $mul and not $__mulEddie Hung2019-08-131-1/+1
| | |
* | | Add DSP_A_MAXWIDTH_PARTIAL, refactorEddie Hung2019-08-131-144/+110
|/ /
* | Merge remote-tracking branch 'origin/master' into xc7dspEddie Hung2019-08-121-8/+36
|\|
| * Reformat so it shows up/looks nice when "help $alu" and "help $alu+"Eddie Hung2019-08-091-25/+34
| |
| * A bit more on where $lcu comes fromEddie Hung2019-08-091-0/+2
| |
| * Add more commentsEddie Hung2019-08-091-4/+18
| |
| * Add a few comments to document $alu and $lcuEddie Hung2019-08-081-9/+12
| |
* | Merge remote-tracking branch 'origin/master' into xc7dspEddie Hung2019-08-071-0/+19
|\|
| * Add $_NMUX_, add "abc -g cmos", add proper cmos cell costsClifford Wolf2019-08-061-0/+19
| | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | Trim Y_WIDTHEddie Hung2019-08-011-5/+3
| |
* | Add DSP_SIGNEDONLY backEddie Hung2019-08-011-0/+16
| |
* | DSP_MINWIDTH -> DSP_{A,B,Y}_MINWIDTHEddie Hung2019-08-011-4/+11
| |
* | Revert "Do not do sign extension in techmap; let packer do it"Eddie Hung2019-08-011-5/+14
| | | | | | | | This reverts commit 595a8f032f1e9db385959f92a4a414a40de291fd.
* | Fix B_WIDTH > DSP_B_MAXWIDTH caseEddie Hung2019-08-011-32/+14
| |
* | Do not compute sign bit if result is zeroEddie Hung2019-07-311-1/+2
| |
* | For signed multipliers, compute sign bit separately...Eddie Hung2019-07-311-23/+42
| |
* | Fix spacingEddie Hung2019-07-261-3/+3
| |
* | Add copyright header, comment on cascadeEddie Hung2019-07-241-4/+34
| |
* | Typo for Y_WIDTHEddie Hung2019-07-231-1/+1
| |
* | Use minimum sized width wiresEddie Hung2019-07-221-7/+13
| |
* | Indirection via $__soft_mulEddie Hung2019-07-191-9/+9
| |
* | Do not do sign extension in techmap; let packer do itEddie Hung2019-07-191-14/+5
| |
* | Do not $mul -> $__mul if A and B are less than maxwidthEddie Hung2019-07-191-1/+3
| |
* | Add a DSP_MINWIDTH macro, and soft-logic for {A_WIDTH,B_WIDTH} <= 1 tooEddie Hung2019-07-191-28/+68
| |
* | Merge branch 'xc7dsp' into ice40dspEddie Hung2019-07-191-1/+1
|\ \
| * | Fix typo in BEddie Hung2019-07-191-1/+1
| | |
| * | Merge remote-tracking branch 'origin/master' into xc7dspEddie Hung2019-07-181-1/+1
| |\|
* | | Use sign_headroom insteadEddie Hung2019-07-191-4/+4
| | |
* | | Do not define `DSP_SIGNEDONLY macro if no existsEddie Hung2019-07-181-4/+3
| | |
* | | Merge remote-tracking branch 'origin/master' into ice40dspEddie Hung2019-07-181-1/+1
|\ \ \ | | |/ | |/|
| * | gen_lut to return correctly sized LUT maskEddie Hung2019-07-161-1/+1
| | |
| * | Revert "Add "synth -keepdc" option"Eddie Hung2019-07-091-13/+2
| | |