1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
--! @author Trip Richert library ieee; use ieee.std_logic_1164.all; package LinkedListPkg is generic ( type elem_type ); type LinkedList; type LinkedListPtr is access LinkedList; type LinkedList is record elem : elem_type; nextPtr : LinkedListPtr; end record LinkedList; end package LinkedListPkg;