Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | ecp5: add support for both 1364.1 and LSE RAM/ROM attributes. | whitequark | 2020-02-06 | 3 | -5/+305 |
| | | | | | | | | | | | | | | | | | | | | | | This commit tries to carefully follow the documented behavior of LSE and Synplify. It will use `syn_ramstyle` attribute if there are any write ports, and `syn_romstyle` attribute otherwise. * LSE supports both `syn_ramstyle` and `syn_romstyle`. * Synplify only supports `syn_ramstyle`, with same values as LSE. * Synplify also supports `syn_rw_conflict_logic`, which is not documented as supported for LSE. Limitations of the Yosys implementation: * LSE/Synplify support `syn_ramstyle="block_ram,no_rw_check"` syntax to turn off insertion of transparency logic. There is currently no way to support multiple valued attributes in memory_bram. It is also not clear if that is a good idea, since it can cause sim/synth mismatches. * LSE/Synplify/1364.1 support block ROM inference from full case statements. Yosys does not currently perform this transformation. * LSE/Synplify propagate `syn_ramstyle`/`syn_romstyle` attributes from the module to the inner memories. There is currently no way to do this in Yosys (attrmvcp only works on cells and wires). | ||||
* | ice40: match memory inference attribute values case insensitive. | whitequark | 2020-02-06 | 1 | -0/+6 |
| | | | | LSE/Synplify use case insensitive matching. | ||||
* | ice40: add support for both 1364.1 and LSE RAM/ROM attributes. | whitequark | 2020-02-06 | 3 | -20/+179 |
| | | | | | | | | | | | | | | | | | | | | | | | | | This commit tries to carefully follow the documented behavior of LSE and Synplify. It will use `syn_ramstyle` attribute if there are any write ports, and `syn_romstyle` attribute otherwise. * LSE supports both `syn_ramstyle` and `syn_romstyle`. * Synplify only supports `syn_ramstyle`, with same values as LSE. * Synplify also supports `syn_rw_conflict_logic`, which is not documented as supported for LSE. Limitations of the Yosys implementation: * LSE/Synplify appear to interpret attribute values insensitive to case. There is currently no way to do this in Yosys (attrmap can only change case of attribute names). * LSE/Synplify support `syn_ramstyle="block_ram,no_rw_check"` syntax to turn off insertion of transparency logic. There is currently no way to support multiple valued attributes in memory_bram. It is also not clear if that is a good idea, since it can cause sim/synth mismatches. * LSE/Synplify/1364.1 support block ROM inference from full case statements. Yosys does not currently perform this transformation. * LSE/Synplify propagate `syn_ramstyle`/`syn_romstyle` attributes from the module to the inner memories. There is currently no way to do this in Yosys (attrmvcp only works on cells and wires). | ||||
* | ice40: remove impossible test. | whitequark | 2020-02-06 | 1 | -15/+0 |
| | | | | | | iCE40 does not have LUTRAM. This was erroneously added in commit caab66111e2b5052bd26c8fd64b1324e7e4a4106, and tested for BRAM, essentially a duplicate of the "dpram.ys" test. | ||||
* | shiftx2mux: fix select out of bounds | Eddie Hung | 2020-02-05 | 2 | -1/+12 |
| | |||||
* | Merge pull request #1576 from YosysHQ/eddie/opt_merge_init | Eddie Hung | 2020-02-05 | 1 | -0/+49 |
|\ | | | | | opt_merge: discard \init of '$' cells with 'Q' port when merging | ||||
| * | Merge remote-tracking branch 'origin/master' into eddie/opt_merge_init | Eddie Hung | 2020-01-28 | 74 | -149/+1770 |
| |\ | |||||
| * | | Add testcase | Eddie Hung | 2019-12-13 | 1 | -0/+49 |
| | | | |||||
* | | | Merge pull request #1650 from YosysHQ/eddie/shiftx2mux | Eddie Hung | 2020-02-05 | 3 | -5/+115 |
|\ \ \ | | | | | | | | | techmap LSB-first for compatible $shift/$shiftx cells | ||||
| * \ \ | Merge remote-tracking branch 'origin/master' into eddie/shiftx2mux | Eddie Hung | 2020-02-05 | 17 | -30/+474 |
| |\ \ \ | |||||
| * | | | | Update tests with reduced area | Eddie Hung | 2020-01-21 | 2 | -6/+6 |
| | | | | | |||||
| * | | | | Move from +/shiftx2mux.v into +/techmap.v; cleanup | Eddie Hung | 2020-01-21 | 1 | -4/+4 |
| | | | | | |||||
| * | | | | New techmap +/shiftx2mux.v which decomposes LSB first; better for ABC | Eddie Hung | 2020-01-21 | 1 | -0/+110 |
| | | | | | |||||
* | | | | | abc9_ops: -reintegrate to use derived_type for box_ports | Eddie Hung | 2020-02-05 | 1 | -1/+21 |
| |/ / / |/| | | | |||||
* | | | | Merge pull request #1638 from YosysHQ/eddie/fix1631 | Eddie Hung | 2020-02-05 | 1 | -0/+66 |
|\ \ \ \ | | | | | | | | | | | clk2fflogic: work for bit-level $_DFF_* and $_DFFSR_* | ||||
| * | | | | More rigorous test | Eddie Hung | 2020-01-16 | 1 | -7/+34 |
| | | | | | |||||
| * | | | | clk2fflogic: work for bit-level $_DFF_* and $_DFFSR_* | Eddie Hung | 2020-01-15 | 1 | -0/+39 |
| | | | | | |||||
* | | | | | Add opt_lut_ins pass. (#1673) | Marcelina Kościelnicka | 2020-02-03 | 4 | -4/+84 |
| | | | | | |||||
* | | | | | sv: More tests for wildcard port connections | David Shah | 2020-02-02 | 1 | -0/+57 |
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
* | | | | | hierarchy: Correct handling of wildcard port connections with default values | David Shah | 2020-02-02 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
* | | | | | sv: Add tests for wildcard port connections | David Shah | 2020-02-02 | 1 | -0/+56 |
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
* | | | | | Merge pull request #1647 from YosysHQ/dave/sprintf | David Shah | 2020-02-02 | 1 | -0/+12 |
|\ \ \ \ \ | | | | | | | | | | | | | ast: Add support for $sformatf system function | ||||
| * | | | | | ast: Add support for $sformatf system function | David Shah | 2020-01-19 | 1 | -0/+12 |
| | |/ / / | |/| | | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
* | | | | | Merge pull request #1559 from YosysHQ/efinix_test_fix | Miodrag Milanović | 2020-01-29 | 1 | -1/+1 |
|\ \ \ \ \ | | | | | | | | | | | | | Fix for non-deterministic test | ||||
| * | | | | | Updated test to use assert-max | Miodrag Milanovic | 2020-01-28 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Fix for non-deterministic test | Miodrag Milanovic | 2019-12-07 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Add "help -all" and "help -celltypes" sanity test | Eddie Hung | 2020-01-28 | 1 | -0/+2 |
| |_|_|_|/ |/| | | | | |||||
* | | | | | Merge pull request #1660 from YosysHQ/eddie/abc9_unpermute_luts | Eddie Hung | 2020-01-28 | 2 | -0/+102 |
|\ \ \ \ \ | | | | | | | | | | | | | Unpermute LUT ordering for ice40/ecp5/xilinx | ||||
| * | | | | | Import tests from #1628 | Eddie Hung | 2020-01-27 | 2 | -0/+102 |
| | | | | | | |||||
* | | | | | | Merge pull request #1567 from YosysHQ/eddie/sat_init_warning | Claire Wolf | 2020-01-28 | 1 | -0/+11 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | sat: suppress 'Warning: ignoring initial value on non-register: ...' when init[i] = 1'bx | ||||
| * | | | | | | Even more obvious testcase | Eddie Hung | 2019-12-11 | 1 | -6/+5 |
| | | | | | | | |||||
| * | | | | | | Make testcase clearer with \o having its own init | Eddie Hung | 2019-12-11 | 1 | -0/+2 |
| | | | | | | | |||||
| * | | | | | | Add test: 'Warning: ignoring initial value on non-register: \o' | Eddie Hung | 2019-12-11 | 1 | -0/+10 |
| | |_|_|_|/ | |/| | | | | |||||
* | | | | | | Merge pull request #1573 from YosysHQ/eddie/xilinx_tristate | N. Engelhardt | 2020-01-28 | 1 | -0/+5 |
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | synth_xilinx: error out if tristate without '-iopad' | ||||
| * | | | | | Add test | Eddie Hung | 2019-12-12 | 1 | -0/+5 |
| |/ / / / | |||||
* | | | | | Merge pull request #1619 from YosysHQ/eddie/abc9_refactor | Eddie Hung | 2020-01-27 | 3 | -0/+60 |
|\ \ \ \ \ | | | | | | | | | | | | | Refactor `abc9` pass | ||||
| * | | | | | simple_abc9 tests to discard whitebox before write for sim | Eddie Hung | 2020-01-23 | 2 | -2/+3 |
| | | | | | | |||||
| * | | | | | Test for (* keep *)-ed abc9_box_id | Eddie Hung | 2020-01-23 | 1 | -0/+16 |
| | | | | | | |||||
| * | | | | | abc_box_id -> abc9_box_id in test | Eddie Hung | 2020-01-23 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Merge remote-tracking branch 'origin/master' into eddie/abc9_refactor | Eddie Hung | 2020-01-21 | 5 | -0/+24 |
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | |||||
| * | | | | | write_xaiger: fix for (* keep *) on flop output | Eddie Hung | 2020-01-21 | 1 | -0/+15 |
| | | | | | | |||||
| * | | | | | Merge remote-tracking branch 'origin/master' into eddie/abc9_refactor | Eddie Hung | 2020-01-15 | 1 | -0/+13 |
| |\ \ \ \ \ | |||||
| * \ \ \ \ \ | Merge remote-tracking branch 'origin/master' into eddie/abc9_refactor | Eddie Hung | 2020-01-14 | 6 | -9/+29 |
| |\ \ \ \ \ \ | | | |_|_|_|/ | | |/| | | | | |||||
| * | | | | | | abc9: respect (* keep *) on cells | Eddie Hung | 2020-01-13 | 1 | -0/+15 |
| | | | | | | | |||||
| * | | | | | | write_xaiger: add support and test for (* keep *) on wires | Eddie Hung | 2020-01-13 | 1 | -0/+13 |
| | | | | | | | |||||
* | | | | | | | Merge pull request #1656 from YosysHQ/eddie/ice40_abc9_warnings | Eddie Hung | 2020-01-27 | 1 | -23/+4 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | ice40: reduce ABC9 internal fanout warnings with a param for CI->I3 | ||||
| * | | | | | | | ice40: reduce ABC9 internal fanout warnings with a param for CI->I3 | Eddie Hung | 2020-01-24 | 1 | -23/+4 |
| | |_|_|/ / / | |/| | | | | | |||||
* | | | | | | | simple_abc9 tests to discard whitebox before write for sim | Eddie Hung | 2020-01-23 | 2 | -2/+3 |
| | | | | | | |