Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 939 Bytes

register_file.rst

File metadata and controls

21 lines (14 loc) · 939 Bytes

Register File

Source file: rtl/cv32e40x_register_file.sv

has 31 32-bit wide registers which form registers x1 to x31. Register x0 is statically bound to 0 and can only be read, it does not contain any sequential logic.

The number of read ports and the number of write ports of the register file depends on the parameter settings of . The register file has two read ports and one write port for the default parameter settings. If X_EXT = 1, then depending on the other eXtension interface parameters up to three read ports and two write ports can be instantiated. Register file reads are performed in the ID stage. Register file writes are performed in the WB stage.

General Purpose Register File

The general purpose register file is flip-flop-based. It uses regular, positive-edge-triggered flip-flops to implement the registers.