write_cxxrtl: add support for $sr cell.
authorwhitequark <whitequark@whitequark.org>
Sun, 5 Apr 2020 09:13:13 +0000 (09:13 +0000)
committerwhitequark <whitequark@whitequark.org>
Thu, 9 Apr 2020 04:08:36 +0000 (04:08 +0000)
commit711df56ad0174f5f437bcdb1939bc0153e2d051e
tree1619478f5c55250ba305bce97f2c342af00bc7cc
parent9534b512770063baa48d862a375ec7a924766866
write_cxxrtl: add support for $sr cell.

Also, fix the semantics of SET/CLR inputs of the $dffsr cell, and
fix the scheduling of async FF cells to consider ARST/SET/CLR->Q
as a forward combinatorial arc.
backends/cxxrtl/cxxrtl.cc