aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/anlogic
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.io>2018-12-18 23:10:40 +0800
committerIcenowy Zheng <icenowy@aosc.io>2018-12-18 23:10:40 +0800
commit256fb8c95c3b974fb636f515297191a6fc70b356 (patch)
tree022e27ea57ffb2de990fb4821715d2a3230470bd /techlibs/anlogic
parentfec8b3c81ffcf1f8a27e79250c05b6ea91571bbe (diff)
downloadyosys-256fb8c95c3b974fb636f515297191a6fc70b356.tar.gz
yosys-256fb8c95c3b974fb636f515297191a6fc70b356.tar.bz2
yosys-256fb8c95c3b974fb636f515297191a6fc70b356.zip
Add "dffinit -noreinit" parameter
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>
Diffstat (limited to 'techlibs/anlogic')
0 files changed, 0 insertions, 0 deletions