I can see how ROM can be made with not gates and decoders, but how can even a programmable ROM chip be made that can store its information when the simulation is turned off? I am just a bit curious since i have no idea how it can be implemented