-- This source is VHDL source of memory.
-- 16's storage memory with 4-bit address.
-- This source is manufactured by Kim Hyounjung from Konkuk university
-- This source is free.
-- Reference: Digital circuit design using VHDL (한올 출판사)
-- library appending
entity memory is -- entity declarataion
generic( n: integer := 8; -- n is word.
p: integer := 16); -- p is memory's storage.