I'm trying to design a 2 bit saturating counter but am very stuck in figuring out the state diagram and building the circuit from there. This is what I understand of the saturating counter so far.
It's just like a counter (up and down) except when the maximum value that the bits can represent is reached, it doesn't "wrap" around again but rather gets pegged to that max value. Same thing if you subtract one from the largest negative element. But I'm having trouble realizing a state table for it and what components to pick to realize it. I have an up down counter which i suspect will come in handy also a mux and a 2 bit adder and a few other things but I'm thinking I'll only be using these. There's no helpful resource online for this so I'm kind of lost. Thanks