Skip to main content

memory_blocks

Function memory_blocks 

Source
pub fn memory_blocks(width: u64, size: u64, style: &str) -> (u64, u64)
Expand description

The blocks a memory of width bits by size words takes, across its width and down its depth, in the RAM its ramstyle asks for: an MLAB holds 20 bits by 32 words, an M20K 40 bits by 512, and a memory that asks for registers (logic) is a register a bit, read through four-word multiplexers; one that asks for nothing is an M20K, as Quartus builds it.