User`s guide

Stack
5-415
represents a distinct trigger event. A 1 in the Empty column indicates an empty
buffer, while a
1 in the Full column indicates a full buffer.
Note that at the last step shown, the
Push and Clr ports are triggered
simultaneously. The
Clr trigger takes precedence, and the stack is first cleared
and then pushed.
Example 2
The dspqdemo demo provides an example of the related Queue block.
In Push Pop Clr
Stack
Out Empty Full Num
1 0 0 0 0 1 0 0
2 1 0 0 0 0 0 1
3 0 0 0 0 0 0 2
4 1 0 0 0 0 0 3
5 0 0 0 0 0 1 4
6 0 1 0 5 0 0 3
7 0 0 0 4 0 0 2
8 0 1 0 3 0 0 1
9 0 0 0 2 1 0 0
10 1 0 0 2 0 0 1
11 0 0 0 2 0 0 2
12 1 0 1 0 0 0 1
top bottom
2
top bottom
top bottom
32
top bottom
324
top bottom
3245
top bottom
324
top bottom
32
top bottom
2
top bottom
10
top bottom
11
top bottom
10
top bottom
12