Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use C++11 final/override keywords. | whitequark | 2020-06-18 | 3 | -6/+6 |
| | |||||
* | Merge pull request #2089 from rswarbrick/modports | clairexen | 2020-06-08 | 1 | -13/+6 |
|\ | | | | | Simplify a modport check in hierarchy.cc | ||||
| * | Simplify a modport check in hierarchy.cc | Rupert Swarbrick | 2020-05-26 | 1 | -13/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This code originally comes from commit 458a940. When an interface is used via a modport, code in genrtlil.cc sets '\\interface_type' and '\\interface_modport' properties on the wire. In hierarchy.cc, we pick up the modport name and add it to a dict called modports_used_in_submodule (that maps connection source to modport name). Before this patch, the modport name is retrieved as a strpool and then iterated over in an arbitrary order, discarding all entries but the last. In practice, the pool will always have 0 or 1 entries because the string used to construct it is a valid identifier, so doesn't contain any pipe symbols. This patch changes the code to retrieve the modport name as just a string. This will have the same effect in practice, but may be a bit less confusing! The code also gets moved down closer to where the result is used, which might be a bit more efficient since we won't always get as far as the check. The patch also removes some commented-out code, which I think was intended to add some typechecking at some point, but was never implemented. Since this dates back to October 2018, I think it makes more sense to just take it out. | ||||
* | | Fix small typos in documentation for hierarchy command | Rupert Swarbrick | 2020-05-28 | 1 | -2/+2 |
|/ | |||||
* | hierarchy: Convert positional parameters to named. | Marcelina Kościelnicka | 2020-04-21 | 1 | -3/+27 |
| | | | | Fixes #1821. | ||||
* | 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 |
| | |||||
* | kernel: big fat patch to use more ID::*, otherwise ID(*) | Eddie Hung | 2020-04-02 | 3 | -31/+31 |
| | |||||
* | kernel: use more ID::* | Eddie Hung | 2020-04-02 | 2 | -21/+21 |
| | |||||
* | Fix double deletion in `passes/hierarchy/hierarchy.cc`. | Alberto Gonzalez | 2020-03-30 | 1 | -1/+0 |
| | | | | Co-Authored-By: Eddie Hung <eddie@fpgeh.com> | ||||
* | Clean up pseudo-private member usage in `passes/hierarchy/hierarchy.cc`. | Alberto Gonzalez | 2020-03-19 | 1 | -68/+63 |
| | |||||
* | Merge pull request #1519 from YosysHQ/eddie/submod_po | Claire Wolf | 2020-03-03 | 1 | -37/+99 |
|\ | | | | | submod: several bugfixes | ||||
| * | Use pool instead of std::set for determinism | Eddie Hung | 2019-12-02 | 1 | -1/+1 |
| | | |||||
| * | Move \init signal for non-port signals as long as internally driven | Eddie Hung | 2019-11-28 | 1 | -1/+1 |
| | | |||||
| * | Fix multiple driver issue | Eddie Hung | 2019-11-27 | 1 | -2/+7 |
| | | |||||
| * | Do not replace constants with same wire | Eddie Hung | 2019-11-27 | 1 | -7/+3 |
| | | |||||
| * | Cleanup | Eddie Hung | 2019-11-27 | 1 | -5/+3 |
| | | |||||
| * | Check for nullptr | Eddie Hung | 2019-11-27 | 1 | -1/+1 |
| | | |||||
| * | Stray log_dump | Eddie Hung | 2019-11-27 | 1 | -1/+0 |
| | | |||||
| * | Revert "submod to bitty rather bussy, for bussy wires used as input and output" | Eddie Hung | 2019-11-27 | 1 | -40/+71 |
| | | | | | | | | This reverts commit cba3073026711e7683c46ba091c56a5c5a041a45. | ||||
| * | Promote output wires in sigmap so that can be detected | Eddie Hung | 2019-11-26 | 1 | -8/+4 |
| | | |||||
| * | Fix submod -hidden | Eddie Hung | 2019-11-26 | 1 | -5/+6 |
| | | |||||
| * | Add -hidden option to submod | Eddie Hung | 2019-11-26 | 1 | -11/+25 |
| | | |||||
| * | Update docs with bullet points | Eddie Hung | 2019-11-26 | 1 | -10/+9 |
| | | |||||
| * | Move \init from source wire to submod if output port | Eddie Hung | 2019-11-25 | 1 | -0/+7 |
| | | |||||
| * | submod to bitty rather bussy, for bussy wires used as input and output | Eddie Hung | 2019-11-22 | 1 | -48/+39 |
| | | |||||
| * | Constant driven signals are also an input to submodules | Eddie Hung | 2019-11-22 | 1 | -2/+10 |
| | | |||||
| * | Oops | Eddie Hung | 2019-11-22 | 1 | -1/+0 |
| | | |||||
| * | sigmap(wire) should inherit port_output status of POs | Eddie Hung | 2019-11-22 | 1 | -1/+19 |
| | | |||||
* | | sv: Improve handling of wildcard port connections | David Shah | 2020-02-02 | 1 | -3/+3 |
| | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
* | | hierarchy: Correct handling of wildcard port connections with default values | David Shah | 2020-02-02 | 1 | -7/+14 |
| | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
* | | hierarchy: Resolve SV wildcard port connections | David Shah | 2020-02-02 | 1 | -3/+62 |
|/ | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
* | Adopt @cliffordwolf's suggestion | Eddie Hung | 2019-09-03 | 1 | -10/+3 |
| | |||||
* | -auto-top should check $abstract (deferred) modules with (* top *) | Eddie Hung | 2019-08-28 | 1 | -0/+31 |
| | |||||
* | stoi -> atoi | Eddie Hung | 2019-08-07 | 1 | -3/+3 |
| | |||||
* | IdString::str().substr() -> IdString::substr() | Eddie Hung | 2019-08-06 | 1 | -1/+1 |
| | |||||
* | Fix typos | Eddie Hung | 2019-08-06 | 1 | -5/+5 |
| | |||||
* | Use IdString::begins_with() | Eddie Hung | 2019-08-06 | 1 | -11/+9 |
| | |||||
* | Use input default values in hierarchy pass | Clifford Wolf | 2019-06-19 | 1 | -0/+38 |
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | ||||
* | Refactor hierarchy wand/wor handling | Clifford Wolf | 2019-05-28 | 1 | -102/+143 |
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | ||||
* | move wand/wor resolution into hierarchy pass | Stefan Biereigel | 2019-05-27 | 1 | -1/+77 |
| | |||||
* | Add "hierarchy -chparam" support for non-verific top modules | Clifford Wolf | 2019-05-03 | 1 | -12/+35 |
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | ||||
* | log_warning_noprefix -> log_warning as per review | Eddie Hung | 2019-05-03 | 1 | -1/+1 |
| | |||||
* | WIP -chparam support for hierarchy when verific | Eddie Hung | 2019-05-03 | 1 | -7/+24 |
| | |||||
* | Add "whitebox" attribute, add "read_verilog -wb" | Clifford Wolf | 2019-04-18 | 2 | -6/+6 |
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | ||||
* | Add "hdlname" attribute | Clifford Wolf | 2019-03-26 | 1 | -0/+2 |
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | ||||
* | Only run derive on blackbox modules when ports have dynamic size | Clifford Wolf | 2019-03-02 | 1 | -1/+1 |
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | ||||
* | Minor changes ontop of 71bcc4c: Remove hierarchy warning that is redundant ↵ | Clifford Wolf | 2019-02-24 | 1 | -5/+1 |
| | | | | | | to -check Signed-off-by: Clifford Wolf <clifford@clifford.at> | ||||
* | Address requested changes - don't require non-$ name. | Jim Lawson | 2019-02-22 | 1 | -7/+7 |
| | | | | | | Suppress warning if name does begin with a `$`. Fix hierachy tests so they have something to grep. Announce hierarchy test types. | ||||
* | Fix normal (non-array) hierarchy -auto-top. | Jim Lawson | 2019-02-19 | 1 | -9/+9 |
| | | | | Add simple test. |