Group: comp.lang.verilog


Subject: LIFO
From: John_H
Date: 11/1/2007 2:10:40 PM
"Tarun" <reddbloke@gmail.com> wrote in message news:1193950065.819201.147420@e9g2000prf.googlegroups.com... > Could anyone tell me how to design a LIFO? Use a memory. Use a "stack pointer" to keep track of your address. If you push onto the stack (write the LIFO) increment the address. If you pop something from the stack (read the element from the LIFO) decrement the address. The memory is read and written when you push or pop. And use google.