HDLbits
Browse Problems

Circuits/Sequential Logic

Decade Counter Again

medium
countersequential

On each rising edge, reset has highest priority, followed by load. Otherwise count upward modulo 10. Assume load_value is a valid decimal digit.