From: Tristan Gingold Date: Sat, 12 Oct 2019 04:56:32 +0000 (+0200) Subject: Fix register file size (there are 32 gprs). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0169d48ee6ebb75fb21efa279d4252a2c94dff78;p=microwatt.git Fix register file size (there are 32 gprs). --- diff --git a/register_file.vhdl b/register_file.vhdl index a251a9f..669093b 100644 --- a/register_file.vhdl +++ b/register_file.vhdl @@ -23,7 +23,7 @@ entity register_file is end entity register_file; architecture behaviour of register_file is - type regfile is array(0 to 32) of std_ulogic_vector(63 downto 0); + type regfile is array(0 to 31) of std_ulogic_vector(63 downto 0); signal registers : regfile := (others => (others => '0')); begin -- synchronous writes