VHDL Programming

(C. Jardin) #1

Data Types 101


Stack Element

Data

NXT

Stack Element

Data

NXT

Stack Element

Data

NXT

List_Head

Temp_Elem

Figure 4-5
Point New Element
to Head of List.


Stack Element
Data

NXT

Stack Element

Data

NXT

Stack Element

Data

NXT

List_Head

Temp_Elem

Figure 4-6
Point List_Headto
New Element.


Stack Element

Data

NXT

Stack Element

Data

NXT

Stack Element

Data

NXT

List_Head

Temp_Elem

Figure 4-7
Point Temp_Elemto
List_Head.

Finally, in line 22, the element that had its data transferred out is deal-
located, and the memory is returned to the memory pool. This is shown
in Figure 4-9.
Free download pdf