Method and apparatus for managing memory logic is described. In one
example, user logic, virtual port logic, and a processor are provided.
The user logic is configured to provide allocation requests for the
memory logic, access requests for the memory logic, and de-allocation
requests for the memory logic. The virtual port logic is coupled to the
user logic and the memory logic. The processor is coupled to the virtual
port logic. The virtual port logic is configured to forward the
allocation requests and de-allocation requests to the processor, and to
process the access requests. The processor is configured to allocate
space in the memory logic in response to the allocation requests and
de-allocate space in the memory logic in response to the de-allocation
requests.