a project on policy-driven run-time scratchpad memory management