Join Nostr
2024-08-17 05:59:35 UTC

Dave Anderson on Nostr: Huh ECP5's embedded block RAM is an annoying shape. It's 18Kbits of ram, and you can ...

Huh ECP5's embedded block RAM is an annoying shape. It's 18Kbits of ram, and you can configure it to operate in units of 1, 2, 4, 9 or 18 bits.

However, if you configure it for 1, 2 or 4 bit data width, you only get to use 16384 of the bits. The remaining 2048 bits are stranded.

On the flip side 9 and 18-bit widths are awkward, because there's no masked writes, you have to overwrite 9 or 18 bits at once.