From 0169d48ee6ebb75fb21efa279d4252a2c94dff78 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 12 Oct 2019 06:56:32 +0200 Subject: [PATCH] Fix register file size (there are 32 gprs). --- register_file.vhdl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2