Closed zhutmost closed 5 years ago
Hi,
For which reasons the output should be registred ? To avoid having transitional states of the comparator driving an physical pin of the chip ? Or there is also another reason ?
I know this. That is not an important problem. I just mean this output register is not obvious in the figure, which may confuse users.
Hooo i got it now. Sure i will update the thing.
Fixed, thanks :)
As the sample code in "ApbPwm.solution" shows, the output signal "pwm" should be latched in a register. However, in the schematic figure, the "pwm" is a combinatorial output instead of a registered output, which may mislead the learners.
sch.png
solution code