pub fn emit_psram_cache_hit_function(inst: &str, cache: &PsramCache) -> StringExpand description
The engine-side lookup of a cache’s registered hits: {inst}_hit(a), the hit of address a in the cache
instance inst’s lines as they will hold after this edge — none after a reset, and a fill completing now holding the
line it fills — read from the instance’s exported {inst}_tags, {inst}_vals, {inst}_filled, {inst}_fidx and
{inst}_ftag. Registering {inst}_hit(a) beside an address a the engine sets, and {inst}_hit of the held
address every other cycle, gives the cache exactly the hit it would have looked up itself, a cycle earlier.