Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | intel_alm: Add multiply signedness to cells | Dan Ravensloft | 2020-08-26 | 2 | -6/+44 |
| | | | | | | Quartus assumes unsigned multiplication by default, breaking signed multiplies, so add an input signedness parameter to the MISTRAL_MUL* cells to propagate to Quartus' <family>_mac cells. | ||||
* | techmap/shift_shiftx: Remove the "shiftx2mux" special path. | Marcelina Kościelnicka | 2020-08-20 | 1 | -2/+3 |
| | | | | | | | | | | | | | | 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. | ||||
* | Replace opt_rmdff with opt_dff. | Marcelina Kościelnicka | 2020-08-07 | 7 | -31/+28 |
| | |||||
* | opt_expr: Remove -clkinv option, make it the default. | Marcelina Kościelnicka | 2020-07-31 | 1 | -2/+1 |
| | | | | | 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 | 1 | -1/+1 |
| | | | | | | | | | 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 | 1 | -9/+7 |
| | | | | | | | | | 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. | ||||
* | intel_alm: direct M10K instantiation | Dan Ravensloft | 2020-07-27 | 1 | -0/+6 |
| | | | | This reverts commit a3a90f6377f251d3b6c5898eb1543f8832493bb8. | ||||
* | intel_alm: increase abc9 -W | Dan Ravensloft | 2020-07-26 | 1 | -6/+6 |
| | |||||
* | satgen: Add support for dffe, sdff, sdffe, sdffce cells. | Marcelina Kościelnicka | 2020-07-24 | 1 | -2/+0 |
| | |||||
* | intel_alm: add additional ABC9 timings | Dan Ravensloft | 2020-07-23 | 1 | -6/+4 |
| | |||||
* | Merge pull request #2238 from YosysHQ/mwk/dfflegalize-anlogic | Miodrag Milanović | 2020-07-16 | 1 | -12/+14 |
|\ | | | | | anlogic: Use dfflegalize. | ||||
| * | anlogic: Use dfflegalize. | Marcelina Kościelnicka | 2020-07-14 | 1 | -12/+14 |
| | | |||||
* | | Revert "intel_alm: direct M10K instantiation" | Lofty | 2020-07-13 | 1 | -6/+0 |
| | | | | | | | | This reverts commit 09ecb9b2cf3ab76841d30712bf70dafc6d47ef67. | ||||
* | | xilinx: Fix srl regression. | Marcelina Kościelnicka | 2020-07-12 | 1 | -0/+41 |
| | | | | | | | | | | | | | | Of standard yosys cells, xilinx_srl only works on $_DFF_?_ and $_DFFE_?P_, which get upgraded to $_SDFFE_?P?P_ by dfflegalize at the point where xilinx_srl is called for non-abc9. Fix this by running ff_map.v first, resulting in FDRE cells, which are handled correctly. | ||||
* | | gowin: Use dfflegalize. | Marcelina Kościelnicka | 2020-07-06 | 2 | -13/+8 |
| | | |||||
* | | intel_alm: direct M10K instantiation | Dan Ravensloft | 2020-07-05 | 1 | -0/+6 |
| | | |||||
* | | synth_gowin: ABC9 support | Dan Ravensloft | 2020-07-05 | 1 | -1/+5 |
| | | | | | | | | | | This adds ABC9 support for synth_gowin; drastically improving synthesis quality. | ||||
* | | intel_alm: add Cyclone 10 GX tests | Dan Ravensloft | 2020-07-05 | 11 | -2/+236 |
| | | |||||
* | | intel_alm: DSP inference | Dan Ravensloft | 2020-07-05 | 1 | -0/+23 |
| | | |||||
* | | synth_intel_alm: Use dfflegalize. | Marcelina Kościelnicka | 2020-07-04 | 1 | -1/+1 |
| | | |||||
* | | Improve MISTRAL_FF specify rules | Dan Ravensloft | 2020-07-04 | 1 | -1/+2 |
| | | | | | | | | Co-authored-by: Eddie Hung <eddie@fpgeh.com> | ||||
* | | tests: update fsm.ys resource count | Eddie Hung | 2020-07-04 | 1 | -4/+4 |
|/ | | | | | Suspect it is to do with map/set ordering in techmap; should be fixed by #1862? | ||||
* | intel_alm: fix DFFE matching | Dan Ravensloft | 2020-06-11 | 2 | -4/+4 |
| | |||||
* | Add missing .gitignore file | Claire Wolf | 2020-06-04 | 1 | -0/+2 |
| | | | | Signed-off-by: Claire Wolf <claire@symbioticeda.com> | ||||
* | Merge pull request #2077 from YosysHQ/eddie/abc9_dff_improve | Eddie Hung | 2020-06-04 | 1 | -4/+53 |
|\ | | | | | abc9: -dff improvements | ||||
| * | abc9_ops: update messaging (credit to @Xiretza for spotting) | Eddie Hung | 2020-05-30 | 1 | -4/+4 |
| | | |||||
| * | tests: add test for abc9 -dff removing a redundant flop entirely | Eddie Hung | 2020-05-25 | 1 | -0/+15 |
| | | |||||
| * | tests: add testcase for abc9 -dff preserving flop names | Eddie Hung | 2020-05-25 | 1 | -0/+34 |
| | | |||||
* | | Merge pull request #2082 from YosysHQ/eddie/abc9_scc_fixes | Eddie Hung | 2020-06-03 | 1 | -0/+13 |
|\ \ | | | | | | | abc9: fixes around handling combinatorial loops | ||||
| * | | tests: tidy up testcase | Eddie Hung | 2020-06-03 | 1 | -3/+0 |
| | | | |||||
| * | | tests: add ecp5 latch testcase with -abc9 | Eddie Hung | 2020-05-25 | 1 | -0/+16 |
| | | | |||||
* | | | Merge pull request #2080 from YosysHQ/eddie/fix_test_warnings | Eddie Hung | 2020-06-03 | 2 | -2/+2 |
|\ \ \ | | | | | | | | | tests: reduce test warnings | ||||
| * | | | tests: fix some test warnings | Eddie Hung | 2020-05-25 | 2 | -2/+2 |
| | |/ | |/| | |||||
* | | | allow range for mux test | Miodrag Milanovic | 2020-06-01 | 1 | -1/+2 |
| |/ |/| | |||||
* | | tests: xilinx macc test to have initval, shorten BMC depth for runtime | Eddie Hung | 2020-05-25 | 2 | -8/+8 |
|/ | |||||
* | Add force_downto and force_upto wire attributes. | Marcelina Kościelnicka | 2020-05-19 | 1 | -2/+4 |
| | | | | Fixes #2058. | ||||
* | abc9_ops: add -prep_bypass for auto bypass boxes; refactor | Eddie Hung | 2020-05-14 | 1 | -5/+29 |
| | | | | | Eliminate need for abc9_{,un}map.v in xilinx -prep_dff_{hier,unmap} -> -prep_hier | ||||
* | abc9: suppress warnings when no compatible + used flop boxes formed | Eddie Hung | 2020-05-14 | 1 | -1/+3 |
| | |||||
* | xilinx: update abc9_dff tests | Eddie Hung | 2020-05-14 | 1 | -18/+45 |
| | |||||
* | xilinx: remove no-longer-relevant test | Eddie Hung | 2020-05-14 | 1 | -91/+0 |
| | |||||
* | intel_alm: direct LUTRAM cell instantiation | Dan Ravensloft | 2020-05-07 | 1 | -0/+20 |
| | | | | | | | | | | By instantiating the LUTRAM cell directly, we avoid a trip through altsyncram, which speeds up Quartus synthesis time. This also gives a little more flexibility, as Yosys can build RAMs out of individual 32x1 LUTRAM cells. While working on this, I discovered that the mem_init0 parameter of <family>_mlab_cell gets ignored by Quartus. | ||||
* | intel_alm: work around a Quartus ICE | Dan Ravensloft | 2020-04-23 | 1 | -0/+12 |
| | |||||
* | tests: read +/xilinx/cell_sim.v before xilinx_dsp test | Eddie Hung | 2020-04-22 | 1 | -0/+1 |
| | |||||
* | test: ice40_dsp test to read +/ice40/cells_sim.v for default params | Eddie Hung | 2020-04-22 | 1 | -0/+1 |
| | |||||
* | xilinx: xilinx_dffopt to read cells_sim.v; fix test | Eddie Hung | 2020-04-22 | 1 | -13/+22 |
| | |||||
* | tests: remove write_ilang | Eddie Hung | 2020-04-20 | 2 | -3/+0 |
| | |||||
* | synth_intel_alm: alternative synthesis for Intel FPGAs | Dan Ravensloft | 2020-04-15 | 10 | -0/+208 |
| | | | | | | | | By operating at a layer of abstraction over the rather clumsy Intel primitives, we can avoid special hacks like `dffinit -highlow` in favour of simple techmapping. This also makes the primitives much easier to manipulate, and more descriptive (no more cyclonev_lcell_comb to mean anything from a LUT2 to a LUT6). | ||||
* | Merge pull request #1603 from whitequark/ice40-ram_style | whitequark | 2020-04-10 | 5 | -35/+551 |
|\ | | | | | ice40/ecp5: add support for both 1364.1 and Synplify/LSE RAM/ROM attributes | ||||
| * | ecp5: do not map FFRAM if explicitly requested otherwise. | whitequark | 2020-04-03 | 1 | -16/+62 |
| | | |||||
| * | ice40: do not map FFRAM if explicitly requested otherwise. | whitequark | 2020-04-03 | 1 | -8/+28 |
| | |