Files
retroDE_ps2/sim/tb
thejayman77 94d6293c43 Ch440 review fixes: 93-bit per-bank test coverage + soften M20K claims [READY FOR REVIEW]
Per Codex review of 471c1af:
1. tb_gs_async_fifo QUAD_WIDTH4 variant now runs at the PRODUCTION 93-bit width
   (exercising the odd 23/23/23/24 remainder split) and drives a DISTINCT NONZERO
   pattern into every width bank (seq XOR per-bank constants, bank2 inverted), with
   the scoreboard checking the FULL reconstructed word. A swapped/broken/zeroed
   upper bank now changes the word and trips the scoreboard. Depth-half crossing
   (DEPTH=8) + wrap/full coverage retained. mk() is generate-guarded so the 32-bit
   variants never elaborate the 93-bit selects.
2. Softened gs_async_fifo comments: 'same total M20K' -> EXPECTED-similar, pending
   synthesis (fact -> expectation).

No simulations or Quartus run. Awaiting review before any sim.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-21 10:28:31 -04:00
..

sim/tb — Testbenches

Per-subsystem SystemVerilog / Verilog testbenches.

Planned layout (created as each subsystem lands its first stub):

  • tb/memory/ — memory map and arbitration tests.
  • tb/dmac/ — EE DMAC channel tests.
  • tb/gif_gs/ — GIF packet intake and GS register decode tests.
  • tb/sif/ — EE<->IOP mailbox/DMA tests.
  • tb/ee/ — EE core directed tests.
  • tb/iop/ — IOP core and IOP-DMA directed tests.
  • tb/vif_vu/ — VIF unpack and VU microprogram tests.

Rule: no testbench directory is created until the matching subsystem has a contract in docs/contracts/ and a stub in rtl/.