Memory maps

You will learn

How a memory map is declared, what BRAM and ROM mean as kinds, and what 15 native tests check.

A memory map is who lives at which address: the spec's MemKind enum carries the kinds, and make_bram_has_depth, make_bram_small and make_bram_single are three of its fifteen tests. The recording is a native run: the memory spec through the real t27c, 15 tests pass and 6 invariants are proved comptime -- the one spec of the bus family the native runner takes whole.

Open the interactive lesson →