memory_collect - creating multi-port memory cells

yosys> help memory_collect
memory_collect [selection]
This pass collects memories and memory ports and creates generic multiport
memory cells.