cxxrtl: add an unsupported knob for manipulating clock trees.
authorwhitequark <whitequark@whitequark.org>
Wed, 22 Apr 2020 01:15:27 +0000 (01:15 +0000)
committerwhitequark <whitequark@whitequark.org>
Wed, 22 Apr 2020 01:15:27 +0000 (01:15 +0000)
commit1d5b6ac253a397d173b92549d420d898f80e577f
tree2b836f67a862bb3d625f98ac4630d218c2fbb0dd
parent5f17e0ced552afb0a27bd244727ce58c24f45e95
cxxrtl: add an unsupported knob for manipulating clock trees.

This is quite possibly the worst way to implement this, but it does
work for a subset of well-behaved designs, and can be used to measure
how much performance is lost simulating the inactive edge of a clock.

It should be replaced with a clock tree analyzer generating safe
code once it is clear how should such a thing look like.
backends/cxxrtl/cxxrtl.cc