Chargement…
Chargement…
8-slot 8-bit LIFO stack. Push stacks data (ignored if full). Pop unstacks (ignored if empty). Output shows the top of stack. Flags o_empty and o_full indicate stack state.
Reset is asynchronous and active-high.
| Signal | Direction | Width | Description |
|---|---|---|---|
i_clk | Input | 1 bit | Clock |
i_reset | Input | 1 bit | Active-high async reset |
i_push | Input | 1 bit | Push |
i_pop | Input | 1 bit | Pop |
i_data | Input | 8 bits | Data to push |
o_data | Output | 8 bits | Top of stack |
o_empty | Output | 1 bit | Stack empty |
o_full | Output | 1 bit | Stack full |