The iCE65 fabric includes RAM blocks, each with 4,096 memory bits, arranged as 256 locations, each location 16 bits wide.
The write port has write mask input port what allows any smaller width of memory to be emulated.