Ports and kinds
You will learn
What a port is on a memory, how many a memory may have, and who may write.
A port is a lane into the memory: read, write or both, and MAX_MEM_PORTS 8 bounds them. add_read_port_increments, add_write_port_increments and add_rw_port check the counting, is_rom checks that a read-only kind refuses a write port. The recording runs t27c check on the spec: 0 errors, 0 warnings.