Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | kernel: Cell::getParam() to throw exception again if not found | Eddie Hung | 2020-04-22 | 1 | -3/+2 |
| | | | | As it did before #1945 | ||||
* | Use default parameter value in getParam | Marcelina Kościelnicka | 2020-04-21 | 1 | -1/+10 |
| | | | | Fixes #1822. | ||||
* | ilang, ast: Store parameter order and default value information. | Marcelina Kościelnicka | 2020-04-21 | 1 | -1/+2 |
| | | | | Fixes #1819, #1820. | ||||
* | rtlil: add AttrObject::has_attribute. | whitequark | 2020-04-16 | 1 | -0/+5 |
| | |||||
* | rtlil: add AttrObject::{get,set}_string_attribute. | whitequark | 2020-04-16 | 1 | -17/+17 |
| | | | | And make {get,set}_src_attribute use those functions. | ||||
* | Merge pull request #1927 from YosysHQ/eddie/design_remove_assert | Eddie Hung | 2020-04-16 | 1 | -0/+1 |
|\ | | | | | kernel: Design::remove(RTLIL::Module *) to check refcount_modules_ | ||||
| * | kernel: Design::remove(RTLIL::Module *) to check refcount_modules_ | Eddie Hung | 2020-04-14 | 1 | -0/+1 |
| | | |||||
* | | kernel: Module::makeblackbox() to clear connections too | Eddie Hung | 2020-04-13 | 1 | -0/+2 |
|/ | |||||
* | Merge pull request #1858 from YosysHQ/eddie/fix1856 | Eddie Hung | 2020-04-09 | 1 | -1/+1 |
|\ | | | | | kernel: include "kernel/constids.inc" | ||||
| * | kernel: include "kernel/constids.inc" instead of "constids.inc" | Eddie Hung | 2020-04-09 | 1 | -1/+1 |
| | | |||||
* | | [NFCI] Deduplicate builtin FF cell types list | Marcelina Kościelnicka | 2020-04-09 | 1 | -0/+47 |
|/ | | | | | | | | | 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. | ||||
* | kernel: big fat patch to use more ID::*, otherwise ID(*) | Eddie Hung | 2020-04-02 | 1 | -410/+410 |
| | |||||
* | 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> |