add memory ip from altera