// retroDE_ps2 — tb_gs_tile_ram (Ch303) // // Focused TB for gs_tile_ram, the on-chip tile-local scratchpad RAM backing the // tiled renderer's color + Z tiles. Proves: // PROOF 1 — write/read round-trip across ALL 256 entries (1-cycle registered read). // PROOF 2 — registered read latency is exactly 1 (data for raddr@N arrives @N+1). // PROOF 3 — interleaved write-then-read (the renderer pattern: write a pixel, // later read it back) returns the written value. `timescale 1ns/1ps module tb_gs_tile_ram; localparam int ADDR_W = 8; localparam int DATA_W = 32; localparam int N = (1<