Home ] Up ] #5.1 Counters ] #5.2 Multiple Clock ] #5.3 Ringcounters ] [ #5.4 LIFO Stack ] #5.5 Quadrature encoder ] #5.6 SPI and UART ] #5.7 PWM vs. Sigma-Delta ] #5.8 ADC with FPGA ]
#5.4 LIFO Stack

Up ]

 
 

Example of how a 8-bit wide 16-byte deep shift register can act as a LIFO stack.
Please there's no detection of empty or full stack - and the solution surely not optimal from a resource point of view.

bullet

 LIFO_Stack.vhd