Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | techmap/shift_shiftx: Remove the "shiftx2mux" special path. | Marcelina Kościelnicka | 2020-08-20 | 3 | -81/+38 |
| | | | | | | | | | | | | | | Our techmap rules for $shift and $shiftx cells contained a special path that aimed to decompose the shift LSB-first instead of MSB-first in select cases that come up in pmux lowering. This path was needlessly overcomplicated and contained bugs. Instead of doing that, just switch over the main path to iterate LSB-first (except for the specially-handled MSB for signed shifts and overflow handling). This also makes the code consistent with shl/shr/sshl/sshr cells, which are already decomposed LSB-first. Fixes #2346. | ||||
* | Bump version | Yosys Bot | 2020-08-19 | 1 | -1/+1 |
| | |||||
* | Ensure \A_SIGNED is never used with $shiftx | Xiretza | 2020-08-18 | 2 | -1/+9 |
| | | | | | It has no effect on the output ($shiftx doesn't perform any sign extension whatsoever), so an attempt to use it should be caught early. | ||||
* | Respect \A_SIGNED for $shift | Xiretza | 2020-08-18 | 7 | -65/+61 |
| | | | | | | 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). | ||||
* | Merge pull request #2339 from zachjs/display-format-0s | clairexen | 2020-08-18 | 2 | -1/+8 |
|\ | | | | | Allow %0s $display format specifier | ||||
| * | Allow %0s $display format specifier | Zachary Snow | 2020-08-09 | 2 | -1/+8 |
| | | |||||
* | | Merge pull request #2338 from zachjs/const-branch-finish | clairexen | 2020-08-18 | 2 | -4/+43 |
|\ \ | | | | | | | Propagate const_fold through generate blocks and branches | ||||
| * | | Propagate const_fold through generate blocks and branches | Zachary Snow | 2020-08-09 | 2 | -4/+43 |
| |/ | |||||
* | | Merge pull request #2317 from zachjs/expand-genblock | clairexen | 2020-08-18 | 3 | -42/+168 |
|\ \ | | | | | | | Fix generate scoping issues | ||||
| * | | Fix generate scoping issues | Zachary Snow | 2020-07-31 | 3 | -42/+168 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - expand_genblock defers prefixing of items within named sub-blocks - Allow partially-qualified references to local scopes - Handle shadowing within generate blocks - Resolve generate scope references within tasks and functions - Apply generate scoping to genvars - Resolves #2214, resolves #1456 | ||||
* | | | Merge branch 'zachjs-const-func-block-var' | Claire Wolf | 2020-08-18 | 3 | -26/+53 |
|\ \ \ | |||||
| * | | | Merge branch 'const-func-block-var' of https://github.com/zachjs/yosys into ↵ | Claire Wolf | 2020-08-18 | 3 | -26/+53 |
|/| | | | | | | | | | | | | | | | | | | | | | | | zachjs-const-func-block-var Signed-off-by: Claire Wolf <claire@symbioticeda.com> | ||||
| * | | | Allow blocks with declarations within constant functions | Zachary Snow | 2020-07-25 | 3 | -18/+45 |
| | | | | |||||
* | | | | Merge pull request #2281 from zachjs/const-real | clairexen | 2020-08-18 | 2 | -3/+23 |
|\ \ \ \ | | | | | | | | | | | Allow reals as constant function parameters | ||||
| * | | | | Allow reals as constant function parameters | Zachary Snow | 2020-07-19 | 2 | -3/+23 |
| | | | | | |||||
* | | | | | Bump version | Yosys Bot | 2020-08-14 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | intel_alm: fix typo in MISTRAL_MUL27X27 cell name | Dan Ravensloft | 2020-08-13 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Bump version | Yosys Bot | 2020-08-13 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Merge pull request #2340 from andy-knowles/cxxrtl-fix-alu-carryout | whitequark | 2020-08-12 | 1 | -1/+2 |
|\ \ \ \ \ | | | | | | | | | | | | | cxxrtl.h: Fix incorrect CarryOut in alu when Bits % 32 != 0 && Invert == False | ||||
| * | | | | | cxxrtl.h: Fix incorrect CarryOut in alu() | Andy Knowles | 2020-08-12 | 1 | -8/+3 |
| | | | | | | |||||
| * | | | | | cxxrtl.h: Fix incorrect CarryOut in alu when Bits % 32 != 0 && Invert == False | Andy Knowles | 2020-08-12 | 1 | -2/+8 |
| | | | | | | |||||
* | | | | | | intel_alm: add more megafunctions. NFC. | Dan Ravensloft | 2020-08-12 | 1 | -0/+431 |
|/ / / / / | |||||
* | | | / | Bump version | Yosys Bot | 2020-08-10 | 1 | -1/+1 |
| |_|_|/ |/| | | | |||||
* | | | | Replace opt_rmdff with opt_dff. | Marcelina Kościelnicka | 2020-08-07 | 18 | -73/+75 |
| |_|/ |/| | | |||||
* | | | Bump YOSYS_VER | Claire Wolf | 2020-07-31 | 1 | -1/+1 |
| | | | | | | | | | | | | Signed-off-by: Claire Wolf <claire@symbioticeda.com> | ||||
* | | | Add dffunmap pass. | Marcelina Kościelnicka | 2020-07-31 | 3 | -0/+208 |
| | | | | | | | | | | | | | | | To be used with backends that cannot deal with fancy FF types (like blif or smt). | ||||
* | | | opt_expr: Remove -clkinv option, make it the default. | Marcelina Kościelnicka | 2020-07-31 | 5 | -18/+17 |
| | | | | | | | | | | | | | | | Adds -noclkinv option just in case the old behavior was actually useful to someone. | ||||
* | | | synth_ice40: Use opt_dff. | Marcelina Kościelnicka | 2020-07-30 | 7 | -390/+93 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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ścielnicka | 2020-07-30 | 7 | -887/+219 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | async2sync: Support all FF types. | Marcelina Kościelnicka | 2020-07-30 | 3 | -145/+208 |
| | | | |||||
* | | | Add opt_dff pass. | Marcelina Kościelnicka | 2020-07-30 | 12 | -3/+1790 |
| | | | |||||
* | | | verilog_backend: Add handling for all FF types. | Marcelina Kościelnicka | 2020-07-30 | 1 | -252/+134 |
| | | | |||||
* | | | Merge pull request #2314 from YosysHQ/verifix_errorfix | Miodrag Milanović | 2020-07-29 | 1 | -1/+3 |
|\ \ \ | | | | | | | | | Verific - prevent exit yosys due to stored error | ||||
| * | | | Clear last error message | Miodrag Milanovic | 2020-07-29 | 1 | -1/+3 |
|/ / / | |||||
* | | | opt_expr: Fix handling of $_XNOR_ cells with A = B. | Marcelina Kościelnicka | 2020-07-29 | 2 | -1/+15 |
| | | | | | | | | | | | | Fixes #2311. | ||||
* | | | ffinit: Fortify the code a bit. | Marcelina Kościelnicka | 2020-07-28 | 1 | -24/+19 |
| | | | | | | | | | | | | | | | This fixes handling of messy cases involving repeatedly setting and removing the same init bit. | ||||
* | | | Merge pull request #2301 from zachjs/for-loop-errors | clairexen | 2020-07-28 | 1 | -17/+19 |
|\ \ \ | | | | | | | | | Clearer for loop error messages | ||||
| * | | | Clearer for loop error messages | Zachary Snow | 2020-07-25 | 1 | -17/+19 |
| | | | | |||||
* | | | | Merge pull request #2306 from YosysHQ/mwk/equiv_induct-undef | clairexen | 2020-07-28 | 2 | -1/+38 |
|\ \ \ \ | | | | | | | | | | | equiv_induct: Fix up assumption for $equiv cells in -undef mode. | ||||
| * | | | | equiv_induct: Fix up assumption for $equiv cells in -undef mode. | Marcelina Kościelnicka | 2020-07-27 | 2 | -1/+38 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this fix, equiv_induct only assumed that one of the following is true: - defined value of A is equal to defined value of B - A is undefined This lets through valuations where A is defined, B is undefined, and the defined (meaningless) value of B happens to match the defined value of A. Instead, tighten this up to OR of the following: - defined value of A is equal to defined value of B, and B is not undefined - A is undefined | ||||
* | | | | intel_alm: direct M10K instantiation | Dan Ravensloft | 2020-07-27 | 8 | -39/+133 |
| | | | | | | | | | | | | | | | | This reverts commit a3a90f6377f251d3b6c5898eb1543f8832493bb8. | ||||
* | | | | intel_alm: increase abc9 -W | Dan Ravensloft | 2020-07-26 | 2 | -7/+7 |
| | | | | |||||
* | | | | Merge pull request #2299 from zachjs/arg-loop | clairexen | 2020-07-26 | 3 | -0/+73 |
|\ \ \ \ | |/ / / |/| | | | Avoid generating wires for function args which are constant | ||||
| * | | | Avoid generating wires for function args which are constant | Zachary Snow | 2020-07-24 | 3 | -0/+73 |
| | |/ | |/| | |||||
* | | | async2sync: Refactor to use FfInitVals. | Marcelina Kościelnicka | 2020-07-24 | 1 | -53/+11 |
| | | | |||||
* | | | memory_dff: Refactor to use FfInitVals. | Marcelina Kościelnicka | 2020-07-24 | 1 | -12/+5 |
| | | | |||||
* | | | proc_dlatch: Refactor to use FfInitVals. | Marcelina Kościelnicka | 2020-07-24 | 1 | -28/+8 |
| | | | |||||
* | | | pmux2shift: Refactor to use FfInitVals. | Marcelina Kościelnicka | 2020-07-24 | 1 | -15/+4 |
| | | | |||||
* | | | wreduce: Refactor to use FfInitVals. | Marcelina Kościelnicka | 2020-07-24 | 1 | -37/+7 |
| | | | |||||
* | | | techmap: Refactor to use FfInitVals. | Marcelina Kościelnicka | 2020-07-24 | 1 | -41/+4 |
| | | |