I simplified the schematics a bit, hoping that more people would understand the logic. You can see that the counter logic has a dotted box titled "Detail 1", because a lower level detail would be included in the final and full version of the schematics.stefanberndtsson wrote:...but what's the role of the pxCtrLoad signal?
Entering expert mode, for Stefan and others that might understand ...
The mux that selects between incrementing or reinitializing the counter receives both the positive (counter Enable) and the inverted (counter load) signals. Normally I don't include those signals in the schematics, say, as the inverted clock that reaches the fllip-flops, because it is useless. But here it has some, remote, relevance ...
The DFF that generates the signals in this case, it is some sort of combination of a DFF and an RS async latch, rather unusual. If both async signals are asserted at the same, both outputs are asserted. In that case the mux would OR both inputs. But the async reset is asserted only during hardware reset. So it doesn't really matters too much.
Leaving expert mode
