Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 #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`. | ||||
| * | | | | Clean up `passes/cmds/delete.cc`. | Alberto Gonzalez | 2020-04-06 | 1 | -24/+19 |
| |/ / / | |||||
* | | | | Merge pull request #1867 from boqwxp/cleanup_stat | whitequark | 2020-04-06 | 1 | -26/+20 |
|\ \ \ \ | | | | | | | | | | | Clean up `passes/cmds/stat.cc`. | ||||
| * | | | | Clean up `passes/cmds/stat.cc`. | Alberto Gonzalez | 2020-04-06 | 1 | -26/+20 |
| |/ / / | |||||
* | | | | Merge pull request #1866 from boqwxp/cleanup_test_autotb | whitequark | 2020-04-06 | 1 | -12/+8 |
|\ \ \ \ | | | | | | | | | | | Clean up `passes/tests/test_autotb.cc`. | ||||
| * | | | | Clean up `passes/tests/test_autotb.cc`. | Alberto Gonzalez | 2020-04-06 | 1 | -12/+8 |
| |/ / / | |||||
* | | | | Merge pull request #1865 from boqwxp/cleanup_dfflibmap | whitequark | 2020-04-06 | 1 | -27/+27 |
|\ \ \ \ | | | | | | | | | | | Clean up `passes/techmap/dfflibmap.cc`. | ||||
| * | | | | Clean up `passes/techmap/dfflibmap.cc`. | Alberto Gonzalez | 2020-04-06 | 1 | -27/+27 |
| |/ / / | |||||
* | | | | Merge pull request #1863 from boqwxp/cleanup_techmap_extract | whitequark | 2020-04-06 | 1 | -43/+36 |
|\ \ \ \ | | | | | | | | | | | Clean up `passes/techmap/extract.cc`. | ||||
| * | | | | Clean up `passes/techmap/extract.cc`. | Alberto Gonzalez | 2020-04-05 | 1 | -43/+36 |
| |/ / / | |||||
* | | | | Merge pull request #1859 from boqwxp/design_duplicate | whitequark | 2020-04-06 | 1 | -2/+13 |
|\ \ \ \ | | | | | | | | | | | Add `-push-copy` option to the `design` command. | ||||
| * | | | | Rename `-duplicate` to `-push-copy`. | Alberto Gonzalez | 2020-04-04 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | Co-Authored-By: whitequark <whitequark@whitequark.org> | ||||
| * | | | | Add `-duplicate` option to the `design` command. | Alberto Gonzalez | 2020-04-03 | 1 | -2/+13 |
| | | | | | |||||
* | | | | | Merge pull request #1873 from boqwxp/cleanup_bugpoint | whitequark | 2020-04-06 | 1 | -14/+14 |
|\ \ \ \ \ | |_|/ / / |/| | | | | Clean up private member usage in `passes/cmds/bugpoint.cc`. | ||||
| * | | | | Clean up private member usage in `passes/cmds/bugpoint.cc`. | Alberto Gonzalez | 2020-04-06 | 1 | -14/+14 |
|/ / / / | |||||
* | | | | Merge pull request #1648 from YosysHQ/eddie/cmp2lcu | Eddie Hung | 2020-04-03 | 6 | -13/+173 |
|\ \ \ \ | |_|_|/ |/| | | | "techmap -map +/cmp2lcu.v" for decomposing arithmetic compares to $lcu |