Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow reading file input from stdin, improving REPL experience. | Alberto Gonzalez | 2020-04-15 | 1 | -6/+7 |
| | |||||
* | Merge pull request #1562 from whitequark/write_cxxrtl | whitequark | 2020-04-10 | 6 | -0/+2834 |
|\ | | | | | write_cxxrtl: new backend | ||||
| * | write_cxxrtl: add basic documentation. | whitequark | 2020-04-09 | 1 | -1/+16 |
| | | |||||
| * | write_cxxrtl: add support for $dlatch and $dlatchsr cells. | whitequark | 2020-04-09 | 1 | -3/+16 |
| | | | | | | | | Also, fix codegen for $dffe and $adff. | ||||
| * | write_cxxrtl: add support for $sr cell. | whitequark | 2020-04-09 | 1 | -27/+35 |
| | | | | | | | | | | | | Also, fix the semantics of SET/CLR inputs of the $dffsr cell, and fix the scheduling of async FF cells to consider ARST/SET/CLR->Q as a forward combinatorial arc. | ||||
| * | write_cxxrtl: add support for $slice and $concat cells. | whitequark | 2020-04-09 | 1 | -1/+16 |
| | | |||||
| * | write_cxxrtl: improve writable memory handling. | whitequark | 2020-04-09 | 2 | -65/+87 |
| | | | | | | | | | | | | This commit reduces space and time overhead for writable memories to O(write port count) in both cases; implements handling for write port priorities; and simplifies runtime representation of memories. | ||||
| * | write_cxxrtl: add support for hierarchical designs. | whitequark | 2020-04-09 | 1 | -18/+107 |
| | | | | | | | | | | | | | | | | | | | | | | Hierarchical design simulations are generally much slower, but this comes with a major increase in flexibility: 1. Since the `flatten` pass currently does not support flattening of designs with processes, this is the only way to simulate such designs with cxxrtl. 2. Support for hierarchy paves way for simulation black boxes, which are necessary for e.g. replacing PHYs with C++ code that integrates with the host system. | ||||
| * | write_cxxrtl: avoid undefined behavior on out-of-bounds memory access. | whitequark | 2020-04-09 | 2 | -46/+78 |
| | | | | | | | | | | | | | | | | | | | | After this commit, if NDEBUG is not defined, out-of-bounds accesses cause assertion failures for reads and writes. If NDEBUG is defined, out-of-bounds reads return zeroes, and out-of-bounds writes are ignored. This commit also adds support for memories that start with a non-zero index (`Memory::start_offset` in RTLIL). | ||||
| * | write_cxxrtl: statically schedule comb logic and localize wires. | whitequark | 2020-04-09 | 2 | -68/+368 |
| | | | | | | | | | | | | This results in further massive gains in performance, modest decrease in compile time, and, for designs without feedback arcs, makes it possible to run eval() once per clock edge in certain conditions. | ||||
| * | write_cxxrtl: elide wires for results of comb cells used once. | whitequark | 2020-04-09 | 1 | -35/+359 |
| | | | | | | | | | | This results in massive gains in performance, equally massive reduction in compile time, and improved readability. | ||||
| * | write_cxxrtl: new backend. | whitequark | 2020-04-09 | 6 | -0/+2016 |
| | | | | | | | | | | This commit adds a basic implementation that isn't very performant but implements most of the planned features. | ||||
* | | Merge pull request #1858 from YosysHQ/eddie/fix1856 | Eddie Hung | 2020-04-09 | 6 | -3/+25 |
|\ \ | | | | | | | kernel: include "kernel/constids.inc" | ||||
| * | | tests: add a quick plugin test | Eddie Hung | 2020-04-09 | 3 | -0/+22 |
| | | | |||||
| * | | kernel: include "kernel/constids.inc" instead of "constids.inc" | Eddie Hung | 2020-04-09 | 3 | -3/+3 |
| | | | |||||
* | | | [NFCI] Deduplicate builtin FF cell types list | Marcelina Kościelnicka | 2020-04-09 | 5 | -73/+52 |
|/ / | | | | | | | | | | | | | | | | | A few passes included the same list of FF cell types. Make it a global const instead. The zinit pass also seems to include a list like that, but given that it seems to be completely broken at the time (see #1568 discussion), I'm going to pretend I didn't see that. | ||||
* | | Merge pull request #1890 from boqwxp/cleanup_memory_collect | N. Engelhardt | 2020-04-09 | 1 | -6/+3 |
|\ \ | | | | | | | Clean up `passes/memory/memory_collect.cc`. | ||||
| * | | Clean up `passes/memory/memory_collect.cc`. | Alberto Gonzalez | 2020-04-09 | 1 | -6/+3 |
| |/ | |||||
* | | Merge pull request #1889 from boqwxp/cleanup_memory_unpack | N. Engelhardt | 2020-04-09 | 1 | -7/+6 |
|\ \ | | | | | | | Clean up `passes/memory/memory_unpack.cc`. | ||||
| * | | Clean up `passes/memory/memory_unpack.cc`. | Alberto Gonzalez | 2020-04-09 | 1 | -7/+6 |
| |/ | |||||
* | | Merge pull request #1887 from boqwxp/cleanup_hilomap | N. Engelhardt | 2020-04-09 | 1 | -6/+2 |
|\ \ | |/ |/| | Clean up `passes/techmap/hilomap.cc`. | ||||
| * | Clean up `passes/techmap/hilomap.cc`. | Alberto Gonzalez | 2020-04-09 | 1 | -6/+2 |
|/ | |||||
* | Merge pull request #1857 from whitequark/splitnets-skip-processes | whitequark | 2020-04-09 | 1 | -0/+3 |
|\ | | | | | splitnets: skip modules with processes | ||||
| * | splitnets: skip modules with processes. | whitequark | 2020-04-03 | 1 | -0/+3 |
| | | |||||
* | | Merge pull request #1875 from whitequark/read_ilang-int_overflow | whitequark | 2020-04-09 | 2 | -2/+14 |
|\ \ | | | | | | | Improve handling of integer literals in RTLIL frontend | ||||
| * | | read_ilang: improve style. NFC. | whitequark | 2020-04-06 | 1 | -2/+1 |
| | | | | | | | | | Co-Authored-By: Alberto Gonzalez <61295559+boqwxp@users.noreply.github.com> | ||||
| * | | read_ilang: improve error message for overly long wires. | whitequark | 2020-04-06 | 1 | -0/+3 |
| | | | | | | | | | | | | Fixes #1838. | ||||
| * | | read_ilang: detect overflow of integer literals. | whitequark | 2020-04-06 | 1 | -1/+11 |
| |/ | |||||
* | | Merge pull request #1886 from boqwxp/cleanup_connect | whitequark | 2020-04-09 | 1 | -14/+12 |
|\ \ | | | | | | | Clean up `passes/cmds/connect.cc`. | ||||
| * | | Clean up `passes/cmds/connect.cc`. | Alberto Gonzalez | 2020-04-08 | 1 | -14/+12 |
|/ / | |||||
* | | Add constids.inc to final install | Xiretza | 2020-04-08 | 1 | -0/+1 |
| | | | | | | | | | | If this is not present in the install, #include-ing most yosys headers will fail in rtlil.h:380. | ||||
* | | Merge pull request #1881 from ↵ | Eddie Hung | 2020-04-07 | 1 | -0/+2 |
|\ \ | | | | | | | | | | | | | hzeller/only-define-stdc-format-macros-if-not-already aigerparse: only define __STDC_FORMAT_MACROS it not already before. | ||||
| * | | aigerparse: only define __STDC_FORMAT_MACROS it not already before. | Henner Zeller | 2020-04-07 | 1 | -0/+2 |
|/ / | |||||
* | | Merge pull request #1814 from YosysHQ/mmicko/pyosys_makefile | Claire Wolf | 2020-04-07 | 1 | -0/+4 |
|\ \ | | | | | | | Enable ENABLE_LIBYOSYS when ENABLE_PYOSYS is set (closes #1813) | ||||
| * | | Enable ENABLE_LIBYOSYS when ENABLE_PYOSYS is set | Miodrag Milanovic | 2020-03-25 | 1 | -0/+4 |
| | | | |||||
* | | | Merge pull request #1874 from boqwxp/cleanup_show | whitequark | 2020-04-06 | 1 | -52/+42 |
|\ \ \ | | | | | | | | | Clean up `passes/cmds/show.cc`. | ||||
| * | | | Use more descriptive variable name. | Alberto Gonzalez | 2020-04-06 | 1 | -10/+10 |
| | | | | | | | | | | | | | | | | Co-Authored-By: whitequark <whitequark@whitequark.org> | ||||
| * | | | Clean up `passes/cmds/show.cc`. | Alberto Gonzalez | 2020-04-06 | 1 | -52/+42 |
| | | | | |||||
* | | | | Merge pull request #1861 from boqwxp/cleanup_hierarchy_submod | whitequark | 2020-04-06 | 1 | -25/+20 |
|\ \ \ \ | | | | | | | | | | | Clean up `passes/hierarchy/submod.cc`. | ||||
| * | | | | Use more descriptive variable name. | Alberto Gonzalez | 2020-04-06 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | Co-Authored-By: whitequark <whitequark@whitequark.org> | ||||
| * | | | | Clean up `passes/hierarchy/submod.cc`. | Alberto Gonzalez | 2020-04-05 | 1 | -25/+20 |
| |/ / / | |||||
* | | | | Merge pull request #1870 from boqwxp/cleanup_setattr | whitequark | 2020-04-06 | 1 | -22/+14 |
|\ \ \ \ | | | | | | | | | | | Clean up `passes/cmds/setattr.cc`. | ||||
| * | | | | Clean up `passes/cmds/setattr.cc`. | Alberto Gonzalez | 2020-04-06 | 1 | -22/+14 |
| |/ / / | |||||
* | | | | Merge pull request #1872 from boqwxp/cleanup_copy | whitequark | 2020-04-06 | 1 | -2/+2 |
|\ \ \ \ | | | | | | | | | | | Clean up private member usage in `passes/cmds/copy.cc`. | ||||
| * | | | | Clean up private member usage in `passes/cmds/copy.cc`. | Alberto Gonzalez | 2020-04-06 | 1 | -2/+2 |
| |/ / / | |||||
* | | | | Merge pull request #1871 from boqwxp/cleanup_splice | whitequark | 2020-04-06 | 1 | -18/+14 |
|\ \ \ \ | | | | | | | | | | | Clean up `passes/cmds/splice.cc`. | ||||
| * | | | | Clean up `passes/cmds/splice.cc`. | Alberto Gonzalez | 2020-04-06 | 1 | -18/+14 |
| |/ / / | |||||
* | | | | Merge pull request #1869 from boqwxp/cleanup_connwrappers | whitequark | 2020-04-06 | 1 | -15/+7 |
|\ \ \ \ | | | | | | | | | | | Clean up `passes/cmds/connwrappers.cc`. | ||||
| * | | | | Clean up `passes/cmds/connwrappers.cc`. | Alberto Gonzalez | 2020-04-06 | 1 | -15/+7 |
| |/ / / | |||||
* | | | | Merge pull request #1868 from boqwxp/cleanup_delete | whitequark | 2020-04-06 | 1 | -24/+19 |
|\ \ \ \ | | | | | | | | | | | Clean up `passes/cmds/delete.cc`. |