aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap/dffinit.cc
Commit message (Collapse)AuthorAgeFilesLines
* ID(\\.*) -> ID(.*)Eddie Hung2019-08-151-5/+5
|
* Transform all "\\*" identifiers into ID()Eddie Hung2019-08-151-5/+5
|
* If init is 1'bx, do not add to dict as per @cliffordwolfEddie Hung2019-05-031-1/+2
|
* Revert "dffinit -noreinit to silently continue when init value is 1'bx"Eddie Hung2019-05-031-12/+4
| | | | This reverts commit aa081f83c791b1d666214776aaf744a80ce6a690.
* dffinit -noreinit to silently continue when init value is 1'bxEddie Hung2019-05-021-4/+12
|
* Add "dffinit -noreinit" parameterIcenowy Zheng2018-12-181-1/+14
| | | | | | | | | | | | | | | Sometimes the FF cell might be initialized during the map process, e.g. some FPGA platforms (Anlogic Eagle and Lattice ECP5 for example) has only a "SR" pin for a FF for async reset, that resets the FF to the initial value, which means the async reset value should be set as the initial value. In this case the DFFINIT pass shouldn't reinitialize it to a different value, which will lead to error. Add a "-noreinit" parameter for the safeguard. If a FF is not technically initialized before DFFINIT pass, the default value should be set to x. Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
* Add "dffinit -strinit high low"Icenowy Zheng2018-12-181-2/+16
| | | | | | | | | | On some platforms the string to initialize DFF might not be "high" and "low", e.g. with Anlogic TD it's "SET" and "RESET". Add a "-strinit" parameter for dffinit to allow specify the strings used for high and low. Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
* Consistent use of 'override' for virtual methods in derived classes.Henner Zeller2018-07-201-2/+2
| | | | | | | | | 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)
* Add "dffinit -highlow" and fix synth_intelClifford Wolf2018-01-091-0/+20
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Added "yosys -D" featureClifford Wolf2016-04-211-1/+1
|
* Fix a segfault in dffinit when the value has too few bitsMarcus Comstedt2015-11-081-1/+1
| | | | | The code was already trying to add the required number of bits, but fell one short of the mark.
* Import more std:: stuff into Yosys namespaceClifford Wolf2015-10-251-2/+2
|
* Properly clean up unused "init" attributesClifford Wolf2015-08-181-4/+18
|
* Fixed trailing whitespacesClifford Wolf2015-07-021-3/+3
|
* Added "dffinit", Support for initialized Xilinx DFFClifford Wolf2015-04-041-0/+121