An area model for on-chip memories and its application | Synapse