jthornton
Member
Just looking for a sanity check I've never programmed a FIFO before.
Each time an input turns on push that input number on to the top of then stack and increment the stack counter to show the depth of the stack.
Each time a station is done filling get the last input number from the bottom of the stack and decrement the stack counter.
Does this sound like a reasonable way to implement a FIFO?
Thanks
JT
Each time an input turns on push that input number on to the top of then stack and increment the stack counter to show the depth of the stack.
Each time a station is done filling get the last input number from the bottom of the stack and decrement the stack counter.
Does this sound like a reasonable way to implement a FIFO?
Thanks
JT