1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-02-27 00:59:41 +00:00

Fix register file size (there are 32 gprs).

This commit is contained in:
Tristan Gingold
2019-10-12 06:56:32 +02:00
parent bbb1a3610c
commit 0169d48ee6

View File

@@ -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