Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | kernel: Use constids.inc for global/constant IdStrings | Eddie Hung | 2020-04-02 | 1 | -6/+4 | |
| | ||||||
* | Merge pull request #1845 from YosysHQ/eddie/kernel_speedup | Eddie Hung | 2020-04-02 | 1 | -288/+244 | |
|\ | | | | | kernel: speedup by using more pass-by-const-ref | |||||
| * | kernel: pass-by-value into Design::scratchpad_set_string() too | Eddie Hung | 2020-03-27 | 1 | -2/+2 | |
| | | ||||||
| * | kernel: Cell::set{Port,Param}() to pass by value, but use std::move | Eddie Hung | 2020-03-26 | 1 | -5/+5 | |
| | | | | | | | | Otherwise cell->setPort(ID::A, cell->getPort(ID::B)) could be invalid | |||||
| * | kernel: SigSpec copies to not trigger pack() | Eddie Hung | 2020-03-18 | 1 | -33/+4 | |
| | | ||||||
| * | kernel: more pass by const ref, more speedups | Eddie Hung | 2020-03-18 | 1 | -180/+174 | |
| | | ||||||
| * | kernel: speedup | Eddie Hung | 2020-03-18 | 1 | -30/+23 | |
| | | ||||||
| * | kernel: fix DeleteWireWorker | Eddie Hung | 2020-03-17 | 1 | -9/+4 | |
| | | ||||||
| * | kernel: SigSpec use more const& + overloads to prevent implicit SigSpec | Eddie Hung | 2020-03-13 | 1 | -31/+39 | |
| | | ||||||
| * | kernel: optimise Module::remove(const pool<RTLIL::Wire*>() | Eddie Hung | 2020-03-12 | 1 | -10/+5 | |
| | | ||||||
* | | Add support for SystemVerilog-style `define to Verilog frontend | Rupert Swarbrick | 2020-03-27 | 1 | -0/+2 | |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch should support things like `define foo(a, b = 3, c) a+b+c `foo(1, ,2) which will evaluate to 1+3+2. It also spots mistakes like `foo(1) (the 3rd argument doesn't have a default value, so a call site is required to set it). Most of the patch is a simple parser for the format in preproc.cc, but I've also taken the opportunity to wrap up the "name -> definition" map in a type, rather than use multiple std::map's. Since this type needs to be visible to code that touches defines, I've pulled it (and the frontend_verilog_preproc declaration) out into a new file at frontends/verilog/preproc.h and included that where necessary. Finally, the patch adds a few tests in tests/various to check that we are parsing everything correctly. | |||||
* | Closes #1717. Add more precise Verilog source location information to AST ↵ | Alberto Gonzalez | 2020-02-23 | 1 | -2/+0 | |
| | | | | and RTLIL nodes. | |||||
* | specify: system timing checks to accept min:typ:max triple | Eddie Hung | 2020-02-13 | 1 | -2/+6 | |
| | ||||||
* | Add RTLIL::constpad, init by yosys_setup(); use for abc9 | Eddie Hung | 2020-01-08 | 1 | -0/+1 | |
| | ||||||
* | Always create $shl, $shr, $sshl, $sshr cells with unsigned B inputs | Clifford Wolf | 2020-01-02 | 1 | -4/+25 | |
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | |||||
* | kernel: require \B_SIGNED=0 on $shl, $sshl, $shr, $sshr. | whitequark | 2019-12-04 | 1 | -3/+21 | |
| | | | | | | | Before this commit, these cells would accept any \B_SIGNED and in case of \B_SIGNED=1, would still treat the \B input as unsigned. Also fix the Verilog frontend to never emit such constructs. | |||||
* | Fix for SigSpec() == SigSpec(State::Sx, 0) to be true again | Eddie Hung | 2019-10-04 | 1 | -0/+6 | |
| | ||||||
* | Fix typo | Eddie Hung | 2019-09-30 | 1 | -1/+1 | |
| | ||||||
* | Avoid work in replace() if rules empty. | Henner Zeller | 2019-09-29 | 1 | -0/+2 | |
| | | | | | | | This speeds up processing when number of bits are large but there is actually nothing to replace. Adresses part of #1382. Signed-off-by: Henner Zeller <h.zeller@acm.org> | |||||
* | Use more ID::{A,B,Y,blackbox,whitebox} | Eddie Hung | 2019-08-15 | 1 | -96/+96 | |
| | ||||||
* | Add YOSYS_NO_IDS_REFCNT configuration macro | Clifford Wolf | 2019-08-11 | 1 | -1/+3 | |
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | |||||
* | Use ID() in kernel/*, add simple ID:: hack (to be improved upon later) | Clifford Wolf | 2019-08-11 | 1 | -578/+585 | |
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | |||||
* | More improvements and cleanups in IdString subsystem | Clifford Wolf | 2019-08-11 | 1 | -0/+2 | |
| | | | | | | | | | - better use of "inline" keyword - deprecate "sticky" IDs feature - improve handling of empty ID - add move constructor Signed-off-by: Clifford Wolf <clifford@clifford.at> | |||||
* | RTLIL::S{0,1} -> State::S{0,1} | Eddie Hung | 2019-08-07 | 1 | -6/+6 | |
| | ||||||
* | stoi -> atoi | Eddie Hung | 2019-08-07 | 1 | -3/+3 | |
| | ||||||
* | Fix typos | Eddie Hung | 2019-08-06 | 1 | -2/+2 | |
| | ||||||
* | Use std::stoi instead of atoi(<str>.c_str()) | Eddie Hung | 2019-08-06 | 1 | -3/+3 | |
| | ||||||
* | Use IdString::begins_with() | Eddie Hung | 2019-08-06 | 1 | -4/+4 | |
| | ||||||
* | Make liberal use of IdString.in() | Eddie Hung | 2019-08-06 | 1 | -1/+1 | |
| | ||||||
* | Add $_NMUX_, add "abc -g cmos", add proper cmos cell costs | Clifford Wolf | 2019-08-06 | 1 | -0/+2 | |
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | |||||
* | In RTLIL::Module::check(), check process invariants. | whitequark | 2019-06-19 | 1 | -1/+28 | |
| | ||||||
* | Add rewrite_sigspecs2, Improve remove() wires | Clifford Wolf | 2019-05-15 | 1 | -7/+22 | |
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | |||||
* | Minor optimization to get_attribute_bool | Matthew Daiter | 2019-05-07 | 1 | -4/+8 | |
| | ||||||
* | Merge remote-tracking branch 'origin/master' into clifford/specify | Eddie Hung | 2019-05-03 | 1 | -1/+1 | |
|\ | ||||||
| * | Fix performance bug in RTLIL::SigSpec::operator==(), fixes #970 | Clifford Wolf | 2019-04-30 | 1 | -1/+1 | |
| | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | |||||
* | | Improve $specrule interface | Clifford Wolf | 2019-04-23 | 1 | -2/+2 | |
| | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | |||||
* | | Improve $specrule interface | Clifford Wolf | 2019-04-23 | 1 | -1/+2 | |
| | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | |||||
* | | Add $specrule cells for $setup/$hold/$skew specify rules | Clifford Wolf | 2019-04-23 | 1 | -0/+15 | |
| | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | |||||
* | | Rename T_{RISE,FALL}_AVG to T_{RISE,FALL}_TYP to better match verilog std ↵ | Clifford Wolf | 2019-04-23 | 1 | -2/+2 | |
| | | | | | | | | | | | | nomenclature Signed-off-by: Clifford Wolf <clifford@clifford.at> | |||||
* | | Add InternalCellChecker support for $specify2 and $specify3 | Clifford Wolf | 2019-04-23 | 1 | -7/+21 | |
| | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | |||||
* | | Add specify parser | Clifford Wolf | 2019-04-23 | 1 | -0/+10 | |
|/ | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | |||||
* | Merge pull request #905 from christian-krieg/feature/python_bindings | Clifford Wolf | 2019-04-22 | 1 | -1/+97 | |
|\ | | | | | Feature/python bindings | |||||
| * | Global lists in rtlil.cc are now static objects | Benedikt Tutzer | 2019-04-03 | 1 | -10/+10 | |
| | | ||||||
| * | Merge remote-tracking branch 'origin/master' into feature/python_bindings | Benedikt Tutzer | 2019-03-28 | 1 | -3/+31 | |
| |\ | ||||||
| * | | added some checks if python is enabled to make sure everything compiles if ↵ | Benedikt Tutzer | 2018-08-20 | 1 | -4/+2 | |
| | | | | | | | | | | | | python is disabled in the makefile | |||||
| * | | Added Wrappers for: | Benedikt Tutzer | 2018-08-13 | 1 | -1/+31 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -IdString -Const -CaseRule -SwitchRule -SyncRule -Process -SigChunk -SigBit -SigSpec With all their member functions as well as the remaining member functions for Cell, Wire, Module and Design and static functions of rtlil.h | |||||
| * | | added destructors for wires and cells | Benedikt Tutzer | 2018-07-10 | 1 | -0/+14 | |
| | | | ||||||
| * | | removed debug output | Benedikt Tutzer | 2018-07-09 | 1 | -1/+0 | |
| | | | ||||||
| * | | multiple designs can now exist independent from each other. ↵ | Benedikt Tutzer | 2018-07-09 | 1 | -0/+55 | |
| | | | | | | | | | | | | Cells/Wires/Modules can now move to a different parent without referencing issues | |||||
* | | | Add "wbflip" command | Clifford Wolf | 2019-04-20 | 1 | -2/+5 | |
| | | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> |