moved SGList/region BRAM processing