If you are trying to model a memory then your list of signals should be at your block scope. You also need to have a process to manage accessing your memory storage.
To get correct inference, you also need to have a set signals as ports, such as address, data, we, …
As @DrPi said, to give you more hints you need to share more code so that we understand what you are trying to do.