Chargement…
Chargement…
Register file 4×8 bits with one synchronous write port and two independent asynchronous read ports, the canonical layout of a CPU register file.
Behaviour:
i_reset='1'): all registers ← "00000000".i_clk, if i_we='1', i_wdata is stored at i_waddr.o_rdata1 ← contents of i_raddr1 (combinational).o_rdata2 ← contents of i_raddr2 (combinational).*Allows reading two operands simultaneously in a single cycle. Asynchronous active-high reset.*
i_clki_reseti_wei_waddri_wdatai_raddr1i_raddr2o_rdata1o_rdata2