aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1163 from whitequark/more-case-attrsClifford Wolf2019-07-093-16/+28
|\ | | | | More support for case rule attributes
| * verilog_backend: dump attributes on SwitchRule.whitequark2019-07-081-0/+1
| | | | | | | | This appears to be an omission.
| * proc_mux: consider \src attribute on CaseRule.whitequark2019-07-081-10/+16
| |
| * verilog_backend: dump attributes on CaseRule, as comments.whitequark2019-07-081-6/+10
| | | | | | | | Attributes are not permitted in that position by Verilog grammar.
| * genrtlil: emit \src attribute on CaseRule.whitequark2019-07-081-0/+1
| |
* | Merge pull request #1162 from whitequark/rtlil-case-attrsClifford Wolf2019-07-093-5/+15
|\| | | | | Allow attributes on individual switch cases in RTLIL
| * Allow attributes on individual switch cases in RTLIL.whitequark2019-07-083-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The parser changes are slightly awkward. Consider the following IL: process $0 <point 1> switch \foo <point 2> case 1'1 assign \bar \baz <point 3> ... case end end Before this commit, attributes are valid in <point 1>, and <point 3> iff it is immediately followed by a `switch`. (They are essentially attached to the switch.) But, after this commit, and because switch cases do not have an ending delimiter, <point 3> becomes ambiguous: the attribute could attach to either the following `case`, or to the following `switch`. This isn't expressible in LALR(1) and results in a reduce/reduce conflict. To address this, attributes inside processes are now valid anywhere inside the process: in <point 1> and <point 3> a part of case body, and in <point 2> as a separate rule. As a consequence, attributes can now precede `assign`s, which is made illegal in the same way it is illegal to attach attributes to `connect`. Attributes are tracked separately from the parser state, so this does not affect collection of attributes at all, other than allowing them on `case`s. The grammar change serves purely to allow attributes in more syntactic places.
* | Merge pull request #1167 from YosysHQ/eddie/xc7srl_cleanupClifford Wolf2019-07-091-19/+25
|\ \ | | | | | | Cleanup synth_xilinx SRL inference, make more consistent
| * \ Merge branch 'eddie/script_from_wire' into eddie/xc7srl_cleanupEddie Hung2019-07-026-15/+20
| |\ \
| * | | Cleanup SRL inference/make more consistentEddie Hung2019-06-291-19/+25
| | | |
* | | | Merge pull request #1166 from YosysHQ/eddie/synth_keepdcEddie Hung2019-07-083-3/+15
|\ \ \ \ | | | | | | | | | | Add "synth -keepdc" option
| * | | | Add synth -keepdc to CHANGELOGEddie Hung2019-07-081-0/+1
| | | | |
| * | | | Clarify 'wreduce -keepdc' docEddie Hung2019-07-081-1/+1
| | | | |
| * | | | Add synth -keepdc optionEddie Hung2019-07-081-2/+13
| | | | |
* | | | | Merge branch 'master' of github.com:YosysHQ/yosysEddie Hung2019-07-082-8/+22
|\ \ \ \ \
| * | | | | Merge pull request #1164 from YosysHQ/eddie/muxcover_mux2Eddie Hung2019-07-081-8/+19
| |\| | | | | | | | | | | | | | | | Add muxcover -mux2=cost option
| | * | | | Update muxcover doc as per @ZirconiumXEddie Hung2019-07-081-5/+10
| | | | | |
| | * | | | atoi -> stoiEddie Hung2019-07-081-5/+5
| | | | | |
| | * | | | Add muxcover -mux2=cost optionEddie Hung2019-07-081-1/+7
| | | |_|/ | | |/| |
| * | | | Merge pull request #1160 from ZirconiumX/cyclone_vDavid Shah2019-07-081-0/+3
| |\ \ \ \ | | |/ / / | |/| | | synth_intel: Warn about untested Quartus backend
| | * | | synth_intel: Warn about untested Quartus backendDan Ravensloft2019-07-071-0/+3
| |/ / /
* / / / Clarify script -scriptwire docEddie Hung2019-07-081-0/+4
|/ / /
* | | Merge pull request #1159 from btut/fix/1090_segfault_cell_and_wireClifford Wolf2019-07-051-0/+3
|\ \ \ | | | | | | | | Throw runtime exception when trying to convert inexistend C++ object to Python
| * | | Throw runtime exception when trying to convert a c++-pointer to aBenedikt Tutzer2019-07-041-0/+3
|/ / / | | | | | | | | | | | | | | | python-object in case the pointer is a nullptr to avoid a segfault. Fixes #1090
* | | Merge pull request #1156 from YosysHQ/eddie/fix_abc9_unknown_cellEddie Hung2019-07-033-6/+28
|\ \ \ | | | | | | | | write_xaiger to treat unknown cell connections as keep-s
| * | | write_xaiger to treat unknown cell connections as keep-sEddie Hung2019-07-021-6/+14
| | | |
| * | | Add testEddie Hung2019-07-022-0/+14
| | | |
* | | | Merge pull request #1147 from YosysHQ/clifford/fix1144Clifford Wolf2019-07-033-82/+26
|\ \ \ \ | | | | | | | | | | Improve specify dummy parser
| * | | | Fix tests/various/specify.vClifford Wolf2019-07-032-8/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
| * | | | Some cleanups in "ignore specify parser"Clifford Wolf2019-07-032-80/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
| * | | | Comment out invalid syntaxEddie Hung2019-06-301-2/+2
| | | | |
| * | | | Add test from #1144, and try reading without '-specify' flagEddie Hung2019-06-282-0/+16
| | | | |
| * | | | Improve specify dummy parser, fixes #1144Clifford Wolf2019-06-281-2/+9
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | | | | Merge pull request #1154 from whitequark/manual-sync-alwaysClifford Wolf2019-07-031-2/+3
|\ \ \ \ \ | | | | | | | | | | | | manual: explain the purpose of `sync always`
| * | | | | manual: explain the purpose of `sync always`.whitequark2019-07-021-2/+3
| | |/ / / | |/| | |
* | | | | Merge pull request #1150 from YosysHQ/eddie/script_from_wireEddie Hung2019-07-023-8/+60
|\ \ \ \ \ | |/ / / / |/| | | / | | |_|/ | |/| | Add "script -select [selection]" to allow commands to be taken from wires
| * | | Update test for Pass::call_on_module()Eddie Hung2019-07-021-1/+1
| | | |
| * | | Use Pass::call_on_module() as per @cliffordwolf commentsEddie Hung2019-07-021-1/+1
| | | |
| * | | Update test tooEddie Hung2019-07-021-2/+2
| | | |
| * | | script -select -> script -scriptwireEddie Hung2019-07-022-6/+6
| | | |
| * | | SpaceEddie Hung2019-07-011-0/+1
| | | |
| * | | Move CHANGELOG entry from yosys-0.8 to 0.9Eddie Hung2019-07-011-7/+1
| | | |
| * | | Merge branch 'master' into eddie/script_from_wireEddie Hung2019-07-014-5/+15
| |\ \ \ | | |_|/ | |/| |
| * | | Merge branch 'master' into eddie/script_from_wireEddie Hung2019-06-281-1/+1
| |\ \ \
| * | | | Try command in another moduleEddie Hung2019-06-281-0/+3
| | | | |
| * | | | Add to CHANGELOGEddie Hung2019-06-281-0/+6
| | | | |
| * | | | Support ability for "script -select" to take commands from wiresEddie Hung2019-06-281-8/+39
| | | | |
| * | | | Add testEddie Hung2019-06-281-0/+17
| | | | |
* | | | | Merge pull request #1153 from YosysHQ/dave/fix_multi_muxDavid Shah2019-07-023-3/+25
|\ \ \ \ \ | | | | | | | | | | | | memory_dff: Fix checking of feedback mux input when more than one mux
| * | | | | memory_dff: Fix checking of feedback mux input when more than one muxDavid Shah2019-07-023-3/+25
|/ / / / / | | | | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me>