Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reenable existing equiv_opt tests | Jannis Harder | 2022-10-07 | 2 | -3/+3 |
| | |||||
* | Fix tests for check in equiv_opt | Jannis Harder | 2022-10-07 | 5 | -7/+17 |
| | |||||
* | support file locations containing spaces | Miodrag Milanovic | 2022-08-08 | 1 | -0/+1 |
| | |||||
* | gatemate: Add test for LUT tree mapping | gatecat | 2022-06-27 | 3 | -0/+813 |
| | | | | Signed-off-by: gatecat <gatecat@ds0.me> | ||||
* | efinix: Use `memory_libmap` pass. | Marcelina Kościelnicka | 2022-05-18 | 1 | -12/+1 |
| | |||||
* | ice40: Use `memory_libmap` pass. | Marcelina Kościelnicka | 2022-05-18 | 1 | -56/+0 |
| | |||||
* | xilinx: Use `memory_libmap` pass. | Marcelina Kościelnicka | 2022-05-18 | 3 | -46/+15 |
| | |||||
* | nexus: Use `memory_libmap` pass. | Marcelina Kościelnicka | 2022-05-18 | 1 | -2/+2 |
| | |||||
* | ecp5: Use `memory_libmap` pass. | Marcelina Kościelnicka | 2022-05-18 | 1 | -135/+18 |
| | |||||
* | intel_alm: M10K write-enable is negative-true | Lofty | 2022-03-09 | 1 | -1/+2 |
| | |||||
* | gowin: Fix LUT RAM inference, add more models. | Marcelina Kościelnicka | 2022-02-09 | 1 | -3/+2 |
| | |||||
* | anlogic: support BRAM mapping | Icenowy Zheng | 2021-12-17 | 2 | -1/+14 |
| | | | | | | | | | | | Anlogic FPGAs all have two kinds of BRAMs, one is 9bit*1K when being true dual port (or 18bit*512 when simple dual port), the other is 16bit*2K. Supports mapping of these two kinds of BRAMs. 9Kbit BRAM in SDP mode and 32Kbit BRAM with 8bit width are not support yet. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> | ||||
* | Fix the tests we just broke | Claire Xenia Wolf | 2021-12-10 | 1 | -2/+2 |
| | | | | Signed-off-by: Claire Xenia Wolf <claire@clairexen.net> | ||||
* | Add gitignore for gatemate | Miodrag Milanovic | 2021-12-03 | 1 | -0/+4 |
| | |||||
* | synth_gatemate: Update pass | Patrick Urban | 2021-11-13 | 1 | -4/+8 |
| | | | | | | * remove `write_edif` and `write_blif` options * remove redundant `abc` call before muxcover * update style | ||||
* | synth_gatemate: Apply new test practice with assert-max | Patrick Urban | 2021-11-13 | 7 | -12/+12 |
| | |||||
* | synth_gatemate: Fix fsm test | Patrick Urban | 2021-11-13 | 1 | -2/+2 |
| | |||||
* | Allow initial blocks to be disabled during tests | Patrick Urban | 2021-11-13 | 6 | -4/+20 |
| | | | | Wrap initial blocks with a NO_INIT so that tests for archs without register initialization feature don't fail. | ||||
* | synth_gatemate: Initial implementation | Patrick Urban | 2021-11-13 | 14 | -0/+337 |
| | | | | Signed-off-by: Patrick Urban <patrick.urban@web.de> | ||||
* | iopadmap: Add native support for negative-polarity output enable. | Marcelina Kościelnicka | 2021-11-09 | 2 | -3/+3 |
| | |||||
* | FfData: some refactoring. | Marcelina Kościelnicka | 2021-10-07 | 1 | -2/+3 |
| | | | | | | | | | | - FfData now keeps track of the module and underlying cell, if any (so calling emit on FfData created from a cell will replace the existing cell) - FfData implementation is split off to its own .cc file for faster compilation - the "flip FF data sense by inserting inverters in front and after" functionality that zinit uses is moved onto FfData class and beefed up to have dffsr support, to support more use cases | ||||
* | abc9: replace cell type/parameters if derived type already processed (#2991) | Eddie Hung | 2021-09-09 | 1 | -0/+7 |
| | | | | | | | | | | | * Add close bracket * Add testcase * Replace cell type/param if in unmap_design * Improve abc9_box error message too * Update comment as per review | ||||
* | Gowin: deal with active-low tristate (#2971) | Pepijn de Vos | 2021-08-20 | 1 | -1/+2 |
| | | | | | | | | | * deal with active-low tristate * remove empty port * update sim models * add expected lut1 to tests | ||||
* | test/arch/{ecp5,ice40}/memories.ys: Use read_verilog -defer. | Marcelina Kościelnicka | 2021-08-11 | 2 | -78/+156 |
| | | | | | | | | | | These parts keep rereading a Verilog module, then using chparam to test it with various parameter combinations. Since the default parameters are on the large side, this spends a lot of time needlessly elaborating the default parametrization that will then be discarded. Fix it with -deref and manual hierarchy call. Shaves 30s off the test time on my machine. | ||||
* | Add v2 memory cells. | Marcelina Kościelnicka | 2021-08-11 | 2 | -25/+25 |
| | |||||
* | opt_lut: Allow more than one -dlogic per cell type. | Marcelina Kościelnicka | 2021-07-29 | 1 | -0/+24 |
| | | | | Fixes #2061. | ||||
* | Fix files with CRLF line endings | Claire Xenia Wolf | 2021-06-09 | 3 | -73/+73 |
| | |||||
* | memory_bram: Reuse extract_rdff helper for make_outreg. | Marcelina Kościelnicka | 2021-05-25 | 4 | -17/+14 |
| | | | | | Also properly skip read ports with init value or reset when not making use of make_outreg. Proper support for matching those will land later. | ||||
* | intel_alm: Fix illegal carry chains | gatecat | 2021-05-15 | 2 | -4/+4 |
| | | | | Signed-off-by: gatecat <gatecat@ds0.me> | ||||
* | intel_alm: Add global buffer insertion | gatecat | 2021-05-15 | 13 | -41/+41 |
| | | | | Signed-off-by: gatecat <gatecat@ds0.me> | ||||
* | intel_alm: Add IO buffer insertion | gatecat | 2021-05-15 | 13 | -39/+39 |
| | | | | Signed-off-by: gatecat <gatecat@ds0.me> | ||||
* | Add default assignments to SB_LUT4 | Claire Xenia Wolf | 2021-04-20 | 1 | -1/+1 |
| | | | | Signed-off-by: Claire Xenia Wolf <claire@clairexen.net> | ||||
* | quicklogic: ABC9 synthesis | Lofty | 2021-04-17 | 6 | -17/+17 |
| | |||||
* | quicklogic: Add .gitignore file for test outputs. | Marcelina Kościelnicka | 2021-03-23 | 1 | -0/+4 |
| | |||||
* | quicklogic: PolarPro 3 support | Lofty | 2021-03-18 | 10 | -0/+262 |
| | | | | | | | | Co-authored-by: Grzegorz Latosiński <glatosinski@antmicro.com> Co-authored-by: Maciej Kurc <mkurc@antmicro.com> Co-authored-by: Tarachand Pagarani <tpagarani@quicklogic.com> Co-authored-by: Lalit Sharma <lsharma@quicklogic.com> Co-authored-by: kkumar23 <kkumar@quicklogic.com> | ||||
* | ast: Use better parameter serialization for paramod names. | Marcelina Kościelnicka | 2021-03-18 | 1 | -3/+3 |
| | | | | | | | | | | | | Calling log_signal is problematic for several reasons: - with recent changes, empty string is serialized as { }, which violates the "no spaces in IdString" rule - the type (plain / real / signed / string) is dropped, wrongly conflating functionally different values and potentially introducing a subtle elaboration bug Instead, use a custom simple serialization scheme. | ||||
* | Blackbox all whiteboxes after synthesis | gatecat | 2021-03-17 | 1 | -9/+9 |
| | | | | | | | This prevents issues like processes in whiteboxes triggering an error in the JSON backend. Signed-off-by: gatecat <gatecat@ds0.me> | ||||
* | machxo2: Switch to LUT4 sim model which propagates less undefined/don't care ↵ | William D. Jones | 2021-02-23 | 1 | -1/+1 |
| | | | | values. | ||||
* | machxo2: Update tribuf test to reflect active-low OE. | William D. Jones | 2021-02-23 | 1 | -1/+2 |
| | |||||
* | machxo2: Add believed-to-be-correct tribuf test. | William D. Jones | 2021-02-23 | 1 | -0/+9 |
| | |||||
* | machxo2: Add passing fsm, mux, and shifter tests. | William D. Jones | 2021-02-23 | 3 | -0/+65 |
| | |||||
* | machxo2: Add add_sub test. Fix tests to include FACADE_IO primitives. | William D. Jones | 2021-02-23 | 3 | -3/+11 |
| | |||||
* | machxo2: Add dffe test. | William D. Jones | 2021-02-23 | 1 | -0/+9 |
| | |||||
* | machxo2: Add dff.ys test, fix another cells_map.v typo. | William D. Jones | 2021-02-23 | 1 | -0/+10 |
| | |||||
* | machxo2: Add test/arch/machxo2 directory (test does not pass). | William D. Jones | 2021-02-23 | 3 | -0/+14 |
| | |||||
* | xilinx_dffopt: Don't crash on missing IS_*_INVERTED. | Marcelina Kościelnicka | 2021-01-27 | 2 | -1/+48 |
| | | | | | | | | The presence of IS_*_INVERTED on FD* cells follows Vivado, which apparently has been decided by a dice roll. Just assume false if the parameter doesn't exist. Fixes #2559. | ||||
* | nexus: DSP inference support | David Shah | 2020-11-20 | 1 | -12/+34 |
| | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
* | Update nexus arch tests to new harness | Xiretza | 2020-10-29 | 1 | -19/+3 |
| | |||||
* | xilinx: Fix attributes_test.ys | Marcelina Kościelnicka | 2020-10-24 | 1 | -4/+2 |
| | | | | | | | | | | This test pretty much passes by accident — the `prep` command runs memory_collect without memory_dff first, which prevents merging read register into the memory, and thus blocks block RAM inference for a reason completely unrelated to the attribute. The attribute setting didn't actually work because it was set on the containing module instead of the actual memory. | ||||
* | memory_dff: Fix needlessly duplicating enable bits. | Marcelina Kościelnicka | 2020-10-22 | 1 | -0/+24 |
| | | | | | | | | | When the register being merged into the EN signal happens to be a $sdff, the current code creates a new $mux for every bit, even if they happen to be identical (as is usually the case), preventing proper grouping further down the flow. Fix this by adding a simple cache. Fixes #2409. |