aboutsummaryrefslogtreecommitdiffstats
path: root/backends/ilang
Commit message (Collapse)AuthorAgeFilesLines
* RTLIL::S{0,1} -> State::S{0,1}Eddie Hung2019-08-071-4/+4
|
* Allow attributes on individual switch cases in RTLIL.whitequark2019-07-081-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Support filename rewrite in backendsBen Widawsky2019-06-181-0/+1
| | | | Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
* Add "real" keyword to ilang formatClifford Wolf2019-05-061-1/+4
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Fix a syntax bug in ilang backend related to process case statementsClifford Wolf2019-03-141-1/+1
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Consistent use of 'override' for virtual methods in derived classes.Henner Zeller2018-07-201-4/+4
| | | | | | | | | o Not all derived methods were marked 'override', but it is a great feature of C++11 that we should make use of. o While at it: touched header files got a -*- c++ -*- for emacs to provide support for that language. o use YS_OVERRIDE for all override keywords (though we should probably use the plain keyword going forward now that C++11 is established)
* Fixed gcc 7.2 "statement will never be executed" warningClifford Wolf2018-02-031-1/+1
|
* Added avail params to ilang format, check module params in 'hierarchy -check'Clifford Wolf2016-10-221-0/+7
|
* Added $global_clock verilog syntax support for creating $ff cellsClifford Wolf2016-10-141-0/+1
|
* Added "yosys -D" featureClifford Wolf2016-04-211-1/+1
|
* Fixed trailing whitespacesClifford Wolf2015-07-022-5/+5
|
* Shorter "dump" optionsClifford Wolf2015-01-311-4/+4
|
* Added ENABLE_NDEBUG makefile optionsClifford Wolf2015-01-241-0/+2
|
* Added dict/pool.sort()Clifford Wolf2015-01-241-50/+24
|
* Fixed memory->start_offset handlingClifford Wolf2015-01-011-0/+2
|
* Replaced std::unordered_map as implementation for Yosys::dictClifford Wolf2014-12-261-17/+17
|
* namespace YosysClifford Wolf2014-09-271-0/+6
|
* Sorting of object names in ilang backendClifford Wolf2014-09-192-21/+49
|
* Changed backend-api from FILE to std::ostreamClifford Wolf2014-08-232-134/+132
|
* Moved some stuff to kernel/yosys.{h,cc}, using Yosys:: namespaceClifford Wolf2014-07-312-4/+8
|
* Added wire->upto flag for signals such as "wire [0:7] x;"Clifford Wolf2014-07-281-0/+2
|
* Using log_assert() instead of assert()Clifford Wolf2014-07-281-3/+2
|
* Refactoring: Renamed RTLIL::Design::modules to modules_Clifford Wolf2014-07-271-2/+2
|
* Refactoring: Renamed RTLIL::Module::cells to cells_Clifford Wolf2014-07-271-1/+1
|
* Refactoring: Renamed RTLIL::Module::wires to wires_Clifford Wolf2014-07-271-1/+1
|
* Changed users of cell->connections_ to the new API (sed command)Clifford Wolf2014-07-261-2/+2
| | | | | | | | | git grep -l 'connections_' | xargs sed -i -r -e ' s/(->|\.)connections_\["([^"]*)"\] = (.*);/\1set("\2", \3);/g; s/(->|\.)connections_\["([^"]*)"\]/\1get("\2")/g; s/(->|\.)connections_.at\("([^"]*)"\)/\1get("\2")/g; s/(->|\.)connections_.push_back/\1connect/g; s/(->|\.)connections_/\1connections()/g;'
* Renamed RTLIL::{Module,Cell}::connections to connections_Clifford Wolf2014-07-261-2/+2
|
* Various RTLIL::SigSpec related code cleanupsClifford Wolf2014-07-251-2/+2
|
* Replaced more old SigChunk programming patternsClifford Wolf2014-07-241-1/+1
|
* SigSpec refactoring: using the accessor functions everywhereClifford Wolf2014-07-221-4/+4
|
* SigSpec refactoring: renamed chunks and width to __chunks and __widthClifford Wolf2014-07-221-4/+4
|
* Added "autoidx" statement to ilang file formatClifford Wolf2014-07-211-1/+14
|
* Merged OSX fixes from Siesh1oo with some modificationsClifford Wolf2014-03-131-0/+1
|
* Added support for dump -appendClifford Wolf2014-02-041-3/+12
|
* Updated manual/command-reference-manual.texClifford Wolf2013-12-281-1/+1
|
* Replaced signed_parameters API with CONST_FLAG_SIGNEDClifford Wolf2013-12-041-1/+1
|
* Replaced RTLIL::Const::str with generic decoder methodClifford Wolf2013-12-041-8/+11
|
* Added dump -m and -n optionsClifford Wolf2013-11-292-54/+89
|
* Added support for signed parameters in ilangClifford Wolf2013-11-241-1/+1
|
* Remove auto_wire framework (smarter than the verilog standard)Clifford Wolf2013-11-241-2/+0
|
* Major improvements in mem2reg and added "init" sync rulesClifford Wolf2013-11-211-0/+1
|
* Write yosys version to output filesClifford Wolf2013-11-031-0/+1
|
* Added -selected option to various backendsClifford Wolf2013-09-031-3/+20
|
* Fixed generation of newlines in "dump" outputClifford Wolf2013-06-101-3/+4
|
* Added "dump" command (part ilang backend)Clifford Wolf2013-06-022-13/+103
|
* Added more help messagesClifford Wolf2013-03-011-1/+11
|
* initial importClifford Wolf2013-01-053-0/+356