Skip to content
VLSI Mentor
All VHDL labs
Datapath & MemoryPublished

Register File with Two Read Ports

Build a register file with one synchronous write and two asynchronous reads, and define what a same-cycle read returns.

Intermediate~50 minSelf-checking testbench
Concepts covered
  • Array types
  • Read-during-write
  • Hardwired zero register
  • Port independence
This lab is part of VHDL Labs

Unlock the complete lab — specification, engineering explanation, VHDL-2008 RTL, a self-checking testbench, the simulation transcript and waveform, measured design mistakes and a verification checklist — with the VHDL Labs package.

  • Problem statement & specification
  • Complete VHDL-2008 RTL
  • Self-checking testbench
  • Simulation transcript & waveform
  • Measured design mistakes
  • Verification checklist
Back to all labs