1. A method, comprising: receiving, by a resource controller associated with a function resources/memory resources, an access request received from a processing element to access a portion of the function resources/memory resources; assigning, by the resources controller, a first portion of the function resources/memory resources to the processing element in response to the access request; and changing, by the resources controller, a power mode of the first portion of the function resources/memory resources as a function of the first portion assignment, and leaving an unassigned portion of the function resources/memory resources in a power down mode.