Completed memory.vhd Updated .gitignore

Replaced io_port with input_port and output_port.