Xilinx ISE ROM memory error
Where is memory_sin defined? 

It looks like you haven't got the file with it in in your projects (or maybe it's too far down the list, so hasn't been analysed by the time you've tried to use it).