Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update dff2dffe, dff2dffs, zinit to new FF types. | Marcelina Kościelnicka | 2020-06-23 | 21 | -247/+277 |
| | |||||
* | Add add* functions for the new FF types | Marcelina Kościelnicka | 2020-06-23 | 2 | -0/+213 |
| | |||||
* | Add new FF types to simplemap. | Marcelina Kościelnicka | 2020-06-23 | 2 | -9/+134 |
| | |||||
* | Add support for new FF types in some opt passes. | Marcelina Kościelnicka | 2020-06-23 | 3 | -14/+53 |
| | |||||
* | Add new builtin FF types | Marcelina Kościelnicka | 2020-06-23 | 8 | -76/+2742 |
| | | | | | | | | | | | | | | The new types include: - FFs with async reset and enable (`$adffe`, `$_DFFE_[NP][NP][01][NP]_`) - FFs with sync reset (`$sdff`, `$_SDFF_[NP][NP][01]_`) - FFs with sync reset and enable, reset priority (`$sdffs`, `$_SDFFE_[NP][NP][01][NP]_`) - FFs with sync reset and enable, enable priority (`$sdffce`, `$_SDFFCE_[NP][NP][01][NP]_`) - FFs with async reset, set, and enable (`$dffsre`, `$_DFFSRE_[NP][NP][NP][NP]_`) - latches with reset or set (`$adlatch`, `$_DLATCH_[NP][NP][01]_`) The new FF types are not actually used anywhere yet (this is left for future commits). | ||||
* | Merge pull request #2182 from whitequark/update-abc | whitequark | 2020-06-22 | 1 | -1/+1 |
|\ | | | | | Update ABC | ||||
| * | Update ABC. | whitequark | 2020-06-22 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #2181 from whitequark/minisat-wasm-signal | whitequark | 2020-06-22 | 2 | -0/+14 |
|\ | | | | | minisat: add missing include guard for WASI | ||||
| * | minisat: add missing include guard for WASI. | whitequark | 2020-06-21 | 2 | -0/+14 |
| | | | | | | | | | | Including signal.h used to be allowed in WASI by mistake, but it's an error since SDK 11. | ||||
* | | Merge pull request #2180 from Xiretza/pyosys-override | whitequark | 2020-06-21 | 1 | -1/+1 |
|\ \ | | | | | | | pyosys: Use C++11 override keyword for bindings | ||||
| * | | pyosys: Use C++11 override keyword for bindings | Xiretza | 2020-06-21 | 1 | -1/+1 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | 7191dd16 dropped the YS_OVERRIDE macro, but it was still being generated by the python bindings generator, resulting in errors like these when compiled with ENABLE_PYOSYS=1: kernel/python_wrappers.cc:350:21: error: expected ‘;’ at end of member declaration 350 | virtual void help() YS_OVERRIDE; | ^ | ; kernel/python_wrappers.cc:350:23: error: ‘YS_OVERRIDE’ does not name a type 350 | virtual void help() YS_OVERRIDE; | ^~~~~~~~~~~ | ||||
* | | Merge pull request #2177 from boqwxp/dict-iterator-jump | whitequark | 2020-06-21 | 2 | -0/+25 |
|\ \ | | | | | | | hashlib, rtlil: Add `operator+()` and `operator+=()` to `dict` iterators | ||||
| * | | dict: Remove guard for past-the-end iterators that might mask problems in ↵ | Alberto Gonzalez | 2020-06-19 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | static analysis. Co-Authored-By: whitequark <whitequark@whitequark.org> | ||||
| * | | hashlib, rtlil: Add `operator+=()` to `dict<>::iterator` and ↵ | Alberto Gonzalez | 2020-06-19 | 2 | -0/+25 |
| |/ | | | | | | | `dict<>::const_iterator` and add `operator+()` and `operator+=()` to `ObjIterator`. | ||||
* | | Merge pull request #2178 from boqwxp/design-select | whitequark | 2020-06-19 | 1 | -0/+7 |
|\ \ | |/ |/| | rtlil: Add `Design::select()` for selecting whole modules | ||||
| * | rtlil: Add `Design::select()` for selecting whole modules. | Alberto Gonzalez | 2020-06-19 | 1 | -0/+7 |
|/ | |||||
* | Merge pull request #2175 from Xiretza/missing-noreturn | whitequark | 2020-06-19 | 1 | -1/+1 |
|\ | | | | | Add missing [[noreturn]] to log_file_error() | ||||
| * | Add missing [[noreturn]] to log_file_error() | Xiretza | 2020-06-19 | 1 | -1/+1 |
|/ | | | | | | | | | | | | | Previously this was tagged only with YS_ATTRIBUTE(noreturn), but not YS_NORETURN, so it got lost in #2173, resulting in warnings in frontends/ast/simplify.cc: frontends/ast/simplify.cc:267:1: warning: function declared 'noreturn' should not return [-Winvalid-noreturn] } ^ frontends/ast/simplify.cc:379:1: warning: function declared 'noreturn' should not return [-Winvalid-noreturn] } ^ | ||||
* | Merge pull request #2173 from whitequark/use-cxx11-final-override | whitequark | 2020-06-19 | 222 | -556/+545 |
|\ | | | | | Use C++11 final/override/[[noreturn]] | ||||
| * | Use C++11 [[noreturn]] attribute. | whitequark | 2020-06-19 | 3 | -8/+5 |
| | | |||||
| * | Use C++11 final/override keywords. | whitequark | 2020-06-18 | 220 | -548/+540 |
| | | |||||
* | | Merge pull request #2174 from whitequark/fix-github-linguist | whitequark | 2020-06-19 | 1 | -0/+1 |
|\ \ | | | | | | | Fix GitHub misidentifying *.v files as Coq | ||||
| * | | Fix GitHub misidentifying *.v files as Coq. | whitequark | 2020-06-19 | 1 | -0/+1 |
| |/ | |||||
* | | Merge pull request #2171 from whitequark/cxxrtl-accessors | whitequark | 2020-06-19 | 1 | -6/+47 |
|\ \ | | | | | | | cxxrtl: add .get() and .set() accessors on value<> and wire<> | ||||
| * | | cxxrtl: add .get() and .set() accessors on value<> and wire<>. | whitequark | 2020-06-19 | 1 | -6/+47 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | For several reasons: * They're more convenient than accessing .data. * They accommodate variably-sized types like size_t transparently. * They statically ensure that no out of range conversions happen. For now these are only provided for unsigned integers, but eventually they should be provided for signed integers too. (Annoyingly this affects conversions to/from `char` at the moment.) Fixes #2127. | ||||
* | | Merge pull request #2170 from boqwxp/cutpoint-efficiency | whitequark | 2020-06-19 | 1 | -9/+10 |
|\ \ | |/ |/| | cutpoint: Improve efficiency by iterating over module ports instead of module wires | ||||
| * | cutpoint: Improve efficiency by iterating over module ports instead of ↵ | Alberto Gonzalez | 2020-06-18 | 1 | -9/+10 |
|/ | | | | module wires. | ||||
* | Merge pull request #2153 from boqwxp/splitnets-cleanup | N. Engelhardt | 2020-06-18 | 1 | -16/+19 |
|\ | | | | | splitnets: Cleanup and efficiency improvements | ||||
| * | splitnets: Clean up pseudo-private member usage | Alberto Gonzalez | 2020-06-13 | 1 | -7/+6 |
| | | |||||
| * | splitnets: Slightly improve efficiency by avoiding some unnecessary lookups | Alberto Gonzalez | 2020-06-13 | 1 | -9/+13 |
| | | |||||
* | | Merge pull request #2167 from whitequark/cxxrtl-fix-ndebug | whitequark | 2020-06-18 | 1 | -1/+2 |
|\ \ | | | | | | | cxxrtl: don't compute vital values in log_assert() | ||||
| * | | cxxrtl: don't compute vital values in log_assert(). | whitequark | 2020-06-17 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | This breaks NDEBUG builds. Fixes #2166. | ||||
* | | | Merge pull request #2142 from whitequark/splitnets-hdlname | whitequark | 2020-06-18 | 1 | -0/+4 |
|\ \ \ | | |/ | |/| | splitnets: propagate (*hdlname*) and disambiguate via start_offset | ||||
| * | | splitnets: propagate (*hdlname*) and disambiguate via start_offset. | whitequark | 2020-06-10 | 1 | -0/+4 |
| | | | | | | | | | | | | This allows reliably coalescing the split wires later. | ||||
* | | | Merge pull request #2164 from madebr/msvc | Miodrag Milanović | 2020-06-18 | 4 | -11/+11 |
|\ \ \ | | | | | | | | | Get yosys building on Visual Studio | ||||
| * | | | msvc does not support designated initializers in structs | Anonymous Maarten | 2020-06-17 | 1 | -5/+5 |
| | | | | |||||
| * | | | MSVC does not understand __builtin_unreachable | Anonymous Maarten | 2020-06-17 | 1 | -1/+1 |
| | | | | |||||
| * | | | MSVC cannot omit operand in conditional | Anonymous Maarten | 2020-06-17 | 1 | -1/+1 |
| | | | | |||||
| * | | | MSVC defines TRANSPARENT too | Anonymous Maarten | 2020-06-17 | 1 | -4/+4 |
|/ / / | |||||
* | | | Merge pull request #2163 from jfng/cxxrtl-blackbox-debuginfo | whitequark | 2020-06-17 | 1 | -13/+17 |
|\ \ \ | | | | | | | | | cxxrtl: restrict the debug info of a blackbox to its ports. | ||||
| * | | | cxxrtl: restrict the debug info of a blackbox to its ports. | Jean-François Nguyen | 2020-06-16 | 1 | -13/+17 |
| | |/ | |/| | |||||
* | | | Merge pull request #2160 from whitequark/cxxrtl-fix-warning | whitequark | 2020-06-17 | 1 | -21/+23 |
|\ \ \ | | | | | | | | | cxxrtl: avoid unused variable warning for transparent $memrd ports | ||||
| * | | | cxxrtl: avoid unused variable warning for transparent $memrd ports. NFC. | whitequark | 2020-06-15 | 1 | -21/+23 |
| | | | | |||||
* | | | | Merge pull request #2156 from XarkLabs/master | N. Engelhardt | 2020-06-16 | 1 | -7/+7 |
|\ \ \ \ | |_|/ / |/| | | | Fix Verilator sim warnings: 1 BLKSEQ and 3 WIDTH | ||||
| * | | | Fix Verilator sim warnings: 1 BLKSEQ and 3 WIDTH | Xark | 2020-06-14 | 1 | -7/+7 |
| | | | | |||||
* | | | | Merge pull request #2159 from MerryMage/cxxrtl-mul | whitequark | 2020-06-15 | 1 | -17/+22 |
|\ \ \ \ | |_|/ / |/| | | | cxxrtl: Implement chunk-wise multiplication | ||||
| * | | | cxxrtl: Implement chunk-wise multiplication | MerryMage | 2020-06-15 | 1 | -17/+22 |
| |/ / | |||||
* | | | Merge pull request #2158 from miek/sshr-sign-extension | whitequark | 2020-06-15 | 1 | -2/+4 |
|\ \ \ | |/ / |/| | | cxxrtl: fix sshr sign-extension. | ||||
| * | | cxxrtl: fix sshr sign-extension. | Mike Walters | 2020-06-15 | 1 | -2/+4 |
| | | | |||||
* | | | Merge pull request #2155 from whitequark/fix-wasm-wasi-sdk-11 | whitequark | 2020-06-13 | 1 | -1/+3 |
|\ \ \ | | | | | | | | | kernel: guard include of signal.h more precisely |