Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #2885 from whitequark/cxxrtl-fix-2883 | whitequark | 2021-07-20 | 1 | -2/+8 |
|\ | | | | | cxxrtl: treat wires with multiple defs as not inlinable | ||||
| * | cxxrtl: treat wires with multiple defs as not inlinable. | whitequark | 2021-07-20 | 1 | -2/+8 |
| | | | | | | | | Fixes #2883. | ||||
* | | cxxrtl: treat assignable internal wires used only for debug as locals. | whitequark | 2021-07-20 | 1 | -10/+12 |
|/ | | | | | | This issue was introduced in commit 4aa65f40 while fixing #2739. Fixes #2882. | ||||
* | cxxrtl: escape colon in variable names in VCD writer. | whitequark | 2021-07-19 | 1 | -1/+14 |
| | | | | | | | | | | | | The following VCD file crashes GTKWave's VCD loader: $var wire 1 ! x:1 $end $enddefinitions $end In practice, a colon can be a part of a variable name that is translated from a Verilog function, something like: update$func$.../hdl/hazard3_csr.v:350$2534.$result | ||||
* | cxxrtl: add debug_item::{get,set}. | whitequark | 2021-07-18 | 1 | -0/+16 |
| | | | | Fixes #2877. | ||||
* | cxxrtl: treat internal wires used only for debug as constants. | whitequark | 2021-07-17 | 1 | -0/+6 |
| | | | | Fixes #2739 (again). | ||||
* | Merge pull request #2874 from whitequark/cxxrtl-fix-2589 | whitequark | 2021-07-16 | 1 | -9/+6 |
|\ | | | | | cxxrtl: run hierarchy pass regardless of (*top*) attribute presence | ||||
| * | cxxrtl: run hierarchy pass regardless of (*top*) attribute presence. | whitequark | 2021-07-16 | 1 | -9/+6 |
| | | | | | | | | | | | | | | The hierarchy pass does a lot more than just finding the top module, mainly resolving implicit (positional, wildcard) module connections. Fixes #2589. | ||||
* | | Merge pull request #2873 from whitequark/cxxrtl-fix-2500 | whitequark | 2021-07-16 | 1 | -3/+3 |
|\ \ | | | | | | | cxxrtl: emit debug items for unused public wires | ||||
| * | | cxxrtl: emit debug items for unused public wires. | whitequark | 2021-07-16 | 1 | -3/+3 |
| |/ | | | | | | | | | | | This greatly improves debug information coverage. Fixes #2500. | ||||
* / | cxxrtl: don't expect user cell inputs to be wires. | whitequark | 2021-07-16 | 1 | -2/+2 |
|/ | | | | | | Ports can be connected to constants, too. (Usually resets.) Fixes #2521. | ||||
* | cxxrtl: don't mark buffered internal wires as UNUSED for debug. | whitequark | 2021-07-16 | 1 | -1/+1 |
| | | | | | | | | | | Public wires may alias buffered internal wires, so keep BUFFERED wires in debug information even if they are private. Debug items are only created for public wires, so this does not otherwise affect how debug information is emitted. Fixes #2540. Fixes #2841. | ||||
* | cxxrtl: mark dead local wires as unused even with inlining disabled. | whitequark | 2021-07-15 | 1 | -4/+6 |
| | | | | Fixes #2739. | ||||
* | kernel/mem: Add a coalesce_inits helper. | Marcelina Kościelnicka | 2021-07-13 | 1 | -1/+5 |
| | | | | | | | While this helper is already useful to squash sequential initializations into one in cxxrtl, its main purpose is to squash overlapping masked memory initializations (when they land) and avoid having to deal with them in cxxrtl runtime. | ||||
* | Add support for the Bitwuzla solver | GCHQDeveloper560 | 2021-07-12 | 1 | -5/+5 |
| | |||||
* | cxxrtl: Support memory writes in processes. | Marcelina Kościelnicka | 2021-07-12 | 1 | -6/+55 |
| | |||||
* | cxxrtl: Add support for memory read port reset. | Marcelina Kościelnicka | 2021-07-12 | 1 | -1/+41 |
| | |||||
* | cxxrtl: Add support for mem read port initial data. | Marcelina Kościelnicka | 2021-07-12 | 1 | -4/+22 |
| | |||||
* | cxxrtl: Convert to Mem helpers. | Marcelina Kościelnicka | 2021-07-12 | 1 | -206/+276 |
| | | | | | This *only* does conversion, but doesn't add any new functionality — support for memory read port init/reset is still upcoming. | ||||
* | Intersynth URL | Claire Xenia Wolf | 2021-06-09 | 1 | -1/+1 |
| | | | | Signed-off-by: Claire Xenia Wolf <claire@clairexen.net> | ||||
* | Fixing old e-mail addresses and deadnames | Claire Xenia Wolf | 2021-06-08 | 19 | -20/+20 |
| | | | | | | | | s/((Claire|Xen|Xenia|Clifford)\s+)+(Wolf|Xen)\s+<(claire|clifford)@(symbioticeda.com|clifford.at|yosyshq.com)>/Claire Xenia Wolf <claire@yosyshq.com>/gi; s/((Nina|Nak|N\.)\s+)+Engelhardt\s+<nak@(symbioticeda.com|yosyshq.com)>/N. Engelhardt <nak@yosyshq.com>/gi; s/((David)\s+)+Shah\s+<(dave|david)@(symbioticeda.com|yosyshq.com|ds0.me)>/David Shah <dave@ds0.me>/gi; s/((Miodrag)\s+)+Milanovic\s+<(miodrag|micko)@(symbioticeda.com|yosyshq.com)>/Miodrag Milanovic <micko@yosyshq.com>/gi; s,https?://www.clifford.at/yosys/,http://yosyshq.net/yosys/,g; | ||||
* | Make a few passes auto-call Mem::narrow instead of rejecting wide ports. | Marcelina Kościelnicka | 2021-05-28 | 3 | -19/+6 |
| | | | | | | This essentially adds wide port support for free in passes that don't have a usefully better way of handling wide ports than just breaking them up to narrow ports, avoiding "please run memory_narrow" annoyance. | ||||
* | backends/verilog: Add support for memory read port reset and init value. | Marcelina Kościelnicka | 2021-05-27 | 1 | -9/+81 |
| | |||||
* | backends/verilog: Add wide port support. | Marcelina Kościelnicka | 2021-05-27 | 1 | -43/+88 |
| | |||||
* | backends/verilog: Try to preserve mem write port priorities. | Marcelina Kościelnicka | 2021-05-26 | 1 | -32/+84 |
| | |||||
* | Reject wide ports in some passes that will never support them. | Marcelina Kościelnicka | 2021-05-25 | 3 | -2/+21 |
| | |||||
* | backend/firrtl: Convert to use Mem helpers. | Marcelina Kościelnicka | 2021-05-24 | 1 | -264/+88 |
| | |||||
* | btor: Use is_mem_cell in one more place. | Marcelina Kościelnicka | 2021-05-23 | 1 | -1/+1 |
| | |||||
* | kernel/rtlil: Extract some helpers for checking memory cell types. | Marcelina Kościelnicka | 2021-05-22 | 3 | -4/+4 |
| | | | | | | There will soon be more (versioned) memory cells, so handle passes that only care if a cell is memory-related by a simple helper call instead of a hardcoded list. | ||||
* | abc9: fix SCC issues (#2694) | Eddie Hung | 2021-03-29 | 1 | -5/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * xilinx: add SCC test for DSP48E1 * xilinx: Gate DSP48E1 being a whitebox behind ALLOW_WHITEBOX_DSP48E1 Have a test that checks it works through ABC9 when enabled * abc9 to break SCCs using $__ABC9_SCC_BREAKER module * Add test * abc9_ops: remove refs to (* abc9_keep *) on wires * abc9_ops: do not bypass cells in an SCC * Add myself to CODEOWNERS for abc9* * Fix compile * abc9_ops: run -prep_hier before scc * Fix tests * Remove bug reference pending fix * abc9: fix for -prep_hier -dff * xaiger: restore PI handling * abc9_ops: -prep_xaiger sigmap * abc9_ops: -mark_scc -> -break_scc * abc9: eliminate hard-coded abc9.box from tests Also tidy up * Address review | ||||
* | rtlil: Fix process memwr roundtrip. | Marcelina Kościelnicka | 2021-03-23 | 1 | -1/+1 |
| | | | | Fixes #2646 fallout. | ||||
* | json: Improve the "processes in module" message a bit. | Marcelina Kościelnicka | 2021-03-23 | 1 | -1/+1 |
| | |||||
* | json: Add support for memories. | Marcelina Kościelnicka | 2021-03-15 | 1 | -0/+42 |
| | | | | | | | | | | | | | | Previously, memories were silently discarded by the JSON backend, making round-tripping modules with them crash. Since there are already some users using JSON to implement custom external passes that use memories (and infer width/size from memory ports), let's fix this by just making JSON backend and frontend support memories as first-class objects. Processes are still not supported, and will now cause a hard error. Fixes #1908. | ||||
* | Merge pull request #2642 from whitequark/cxxrtl-noproc-fixes | whitequark | 2021-03-11 | 1 | -17/+29 |
|\ | | | | | CXXRTL: some -noproc fixes | ||||
| * | cxxrtl: don't assert on edge sync rules tied to a constant. | whitequark | 2021-03-07 | 1 | -0/+4 |
| | | | | | | | | | | These are commonly the result of tying an async reset to an inactive level. | ||||
| * | cxxrtl: allow `always` sync rules in debug_eval. | whitequark | 2021-03-07 | 1 | -17/+25 |
| | | | | | | | | | | These can be produced from `always @*` processes, if `-noproc` is used. | ||||
* | | Replace assert in xaiger with more useful error message | Dan Ravensloft | 2021-03-10 | 1 | -1/+2 |
| | | |||||
* | | Add support for memory writes in processes. | Marcelina Kościelnicka | 2021-03-08 | 1 | -3/+20 |
|/ | |||||
* | Merge pull request #2635 from whitequark/cxxrtl-memrd-async-addr | whitequark | 2021-03-05 | 1 | -1/+3 |
|\ | | | | | cxxrtl: follow aliases to outlines when emitting $memrd.ADDR | ||||
| * | cxxrtl: follow aliases to outlines when emitting $memrd.ADDR. | whitequark | 2021-03-05 | 1 | -1/+3 |
| | | |||||
* | | Merge pull request #2634 from whitequark/cxxrtl-debug-wire-types | whitequark | 2021-03-05 | 1 | -0/+46 |
|\ \ | | | | | | | cxxrtl: add pass debug flag to show assigned wire types | ||||
| * | | cxxrtl: add pass debug flag to show assigned wire types. | whitequark | 2021-03-05 | 1 | -0/+46 |
| |/ | | | | | | | Refs #2543. | ||||
* / | cxxrtl: don't crash on empty designs. | whitequark | 2021-03-05 | 1 | -1/+1 |
|/ | |||||
* | btor, smt2, smv: Add a hint on how to deal with funny FF types. | Marcelina Kościelnicka | 2021-02-25 | 3 | -3/+42 |
| | |||||
* | Merge pull request #2563 from whitequark/cxxrtl-msvc | whitequark | 2021-01-26 | 2 | -10/+10 |
|\ | | | | | cxxrtl: do not use `->template` for non-dependent names | ||||
| * | cxxrtl: do not use `->template` for non-dependent names. | whitequark | 2021-01-26 | 2 | -10/+10 |
| | | | | | | | | This breaks build on MSVC but not GCC/Clang. | ||||
* | | Improves the previous commit with a more complete coverage of the cases | Iris Johnson | 2021-01-15 | 1 | -12/+12 |
| | | |||||
* | | Handle sliced bits as clock inputs (fixes #2542) | Iris Johnson | 2021-01-14 | 1 | -3/+11 |
|/ | |||||
* | add buffer option to spice backend | Pepijn de Vos | 2021-01-13 | 1 | -7/+15 |
| | |||||
* | cxxrtl: don't crash generating debug information for unused wires. | whitequark | 2020-12-22 | 1 | -9/+10 |
| |