Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | kernel: undef Tcl macros interfering with cxxrtl. | whitequark | 2020-12-22 | 1 | -0/+2 |
| | |||||
* | Merge pull request #2487 from whitequark/cxxrtl-outlining | whitequark | 2020-12-19 | 1 | -1/+1 |
|\ | | | | | CXXRTL: implement zero-cost full coverage debug information through the magicâš of outliningđȘđđ§č | ||||
| * | kernel: make IdString::isPublic() const. | whitequark | 2020-12-12 | 1 | -1/+1 |
| | | |||||
* | | timinginfo: Error instead of segfault on const signals. | Marcelina KoĆcielnicka | 2020-12-15 | 1 | -2/+2 |
|/ | | | | Reported by @Ravenslofty | ||||
* | bugpoint: add -wires option. | whitequark | 2020-12-07 | 1 | -1/+1 |
| | |||||
* | tcl -h message only if YOSYS_ENABLE_TCL defined. | nitz | 2020-11-23 | 1 | -0/+2 |
| | |||||
* | Expose abc and data paths as globals | Miodrag Milanovic | 2020-11-06 | 2 | -14/+61 |
| | |||||
* | Add new helper structures to represent memories. | Marcelina KoĆcielnicka | 2020-10-21 | 2 | -0/+514 |
| | |||||
* | add IdString::isPublic() | N. Engelhardt | 2020-09-03 | 1 | -0/+2 |
| | |||||
* | Replace "ILANG" with "RTLIL" everywhere. | whitequark | 2020-08-26 | 3 | -10/+10 |
| | | | | | | | | | | The only difference between "RTLIL" and "ILANG" is that the latter is the text representation of the former, as opposed to the in-memory graph representation. This distinction serves no purpose but confuses people: it is not obvious that the ILANG backend writes RTLIL graphs. Passes `write_ilang` and `read_ilang` are provided as aliases to `write_rtlil` and `read_rtlil` for compatibility. | ||||
* | Ensure \A_SIGNED is never used with $shiftx | Xiretza | 2020-08-18 | 1 | -1/+5 |
| | | | | | It has no effect on the output ($shiftx doesn't perform any sign extension whatsoever), so an attempt to use it should be caught early. | ||||
* | Respect \A_SIGNED for $shift | Xiretza | 2020-08-18 | 2 | -42/+22 |
| | | | | | | This reflects the behaviour of $shr/$shl, which sign-extend their A operands to the size of their output, then do a logical shift (shift in 0-bits). | ||||
* | async2sync: Support all FF types. | Marcelina KoĆcielnicka | 2020-07-30 | 1 | -0/+46 |
| | |||||
* | ffinit: Fortify the code a bit. | Marcelina KoĆcielnicka | 2020-07-28 | 1 | -24/+19 |
| | | | | | This fixes handling of messy cases involving repeatedly setting and removing the same init bit. | ||||
* | satgen: Add support for dffe, sdff, sdffe, sdffce cells. | Marcelina KoĆcielnicka | 2020-07-24 | 2 | -4/+67 |
| | |||||
* | Add utility module for representing flip-flops. | Marcelina KoĆcielnicka | 2020-07-23 | 1 | -0/+440 |
| | |||||
* | Add utility module for dealing with init attributes. | Marcelina KoĆcielnicka | 2020-07-23 | 1 | -0/+146 |
| | |||||
* | techmap: Add _TECHMAP_CELLNAME_ special parameter. | Marcelina KoĆcielnicka | 2020-07-21 | 1 | -0/+1 |
| | | | | | | | This parameter will resolve to the name of the cell being mapped. The first user of this parameter will be synth_intel_alm's Quartus output, which requires a unique (and preferably descriptive) name passed as a cell parameter for the memory cells. | ||||
* | celltypes: Fix EN port name for some FF types. | Marcelina KoĆcielnicka | 2020-07-20 | 1 | -4/+4 |
| | |||||
* | satgen: Move importCell out of the header. | Marcelina KoĆcielnicka | 2020-07-19 | 2 | -1165/+1189 |
| | | | | | This function has no hope of ever getting inlined anyway, and it speeds up yosys compile time by 7%. | ||||
* | verilog_backend: add `-sv` option, make `-o <filename>.sv` work. | whitequark | 2020-07-16 | 1 | -0/+2 |
| | | | | See #2271. | ||||
* | Merge pull request #2168 from whitequark/assert-unused-exprs | clairexen | 2020-06-25 | 4 | -9/+14 |
|\ | | | | | Use (and ignore) the expression provided to log_assert in NDEBUG builds | ||||
| * | Use [[maybe_unused]] instead of YS_ATTRIBUTE(unused). | whitequark | 2020-06-19 | 1 | -0/+8 |
| | | | | | | | | | | [[maybe_unused]] is available since C++17, so this commit adds a polyfill YS_MAYBE_UNUSED. Once we require C++17 we can drop it. | ||||
| * | Remove YS_ATTRIBUTE(unused) where present just for log_assert()/log_debug(). | whitequark | 2020-06-19 | 2 | -4/+4 |
| | | |||||
| * | Use (and ignore) the expression provided to log_debug in NDEBUG builds. | whitequark | 2020-06-19 | 1 | -2/+1 |
| | | |||||
| * | Use (and ignore) the expression provided to log_assert in NDEBUG builds. | whitequark | 2020-06-19 | 2 | -3/+1 |
| | | | | | | | | | | This avoids warnings in NDEBUG builds emitted when a variable is only used in log_assert, but is always defined. | ||||
* | | Merge pull request #2135 from boqwxp/qbfsat-timeinfo | clairexen | 2020-06-25 | 1 | -10/+8 |
|\ \ | | | | | | | log and qbfsat: Also include child process usage in `PerformanceTimer::query()` and report the time for each call to the QBF-SAT solver | ||||
| * | | log: Remove unused `_POSIX_TIMERS` branch in `PerformanceTimer::query()`. | Alberto Gonzalez | 2020-06-21 | 1 | -4/+0 |
| | | | |||||
| * | | log, qbfsat: Include child process time in `PerformanceTimer::query()` and â” | Alberto Gonzalez | 2020-06-21 | 1 | -6/+8 |
| | | | | | | | | | | | | report the time for each call to the QBF-SAT solver. | ||||
| * | | qbfsat: Simplify solution format and replace `SigBit::str()` with â” | Alberto Gonzalez | 2020-06-21 | 1 | -8/+0 |
| | | | | | | | | | | | | | | | | | | `log_signal()`. Co-Authored-By: Claire Wolf <claire@symbioticeda.com> | ||||
| * | | qbfsat: Use bit precise mapping for hole value wires and a more robust hole â” | Alberto Gonzalez | 2020-06-21 | 1 | -0/+8 |
| | | | | | | | | | | | | spec for writing to and specializing from a solution file. | ||||
* | | | Add add* functions for the new FF types | Marcelina KoĆcielnicka | 2020-06-23 | 2 | -0/+213 |
| | | | |||||
* | | | Add new builtin FF types | Marcelina KoĆcielnicka | 2020-06-23 | 3 | -47/+267 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #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`. | ||||
* / | rtlil: Add `Design::select()` for selecting whole modules. | Alberto Gonzalez | 2020-06-19 | 1 | -0/+7 |
|/ | |||||
* | 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] } ^ | ||||
* | Use C++11 [[noreturn]] attribute. | whitequark | 2020-06-19 | 3 | -8/+5 |
| | |||||
* | Use C++11 final/override keywords. | whitequark | 2020-06-18 | 6 | -33/+25 |
| | |||||
* | MSVC defines TRANSPARENT too | Anonymous Maarten | 2020-06-17 | 1 | -4/+4 |
| | |||||
* | kernel: guard include of signal.h more precisely. | whitequark | 2020-06-13 | 1 | -1/+3 |
| | | | | | | Upgrading to WASI SDK 11.0 caused the WASM build to fail because WASM does not have signals. (Arguably Yosys was broken even before, it was just broken silently.) | ||||
* | RTLIL: add Module::addProcess, use it in Module::cloneInto. NFC. | whitequark | 2020-06-09 | 2 | -2/+12 |
| | |||||
* | flatten: preserve original object names via hdlname attribute. | whitequark | 2020-06-08 | 2 | -0/+19 |
| | |||||
* | RTLIL: use {get,set}_string_attribute in {get,set}_strpool_attribute. | whitequark | 2020-06-08 | 1 | -2/+2 |
| | | | | | The only difference in behavior is that this removes the attribute when the pool becomes empty. | ||||
* | Merge pull request #2085 from rswarbrick/select | clairexen | 2020-06-08 | 1 | -1/+1 |
|\ | | | | | Silence warning in select.cc and pass some more args by ref | ||||
| * | Pass some more args by reference in select.cc | Rupert Swarbrick | 2020-05-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Before this patch, the code passed around std::string objects by value. It's probably not a hot-spot, but it can't hurt to avoid the copying. Removing the copy and clean-up code means the resulting code is ~6.1kb smaller when compiled with GCC 9.3 and standard settings. | ||||
* | | Merge pull request #2105 from whitequark/split-flatten-off-techmap | clairexen | 2020-06-08 | 2 | -0/+14 |
|\ \ | | | | | | | Split `flatten` from `techmap` and simplify it | ||||
| * | | RTLIL: factor out RTLIL::Module::addMemory. NFC. | whitequark | 2020-06-04 | 2 | -0/+14 |
| | | | |||||
* | | | Merge pull request #2006 from jersey99/signed-in-rtlil-wire | whitequark | 2020-06-04 | 2 | -1/+3 |
|\ \ \ | | | | | | | | | Preserve 'signed'-ness of a verilog wire through RTLIL |