From 5ce761ead5b888abefd1b233267f186ae00b52e8 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Sun, 8 Feb 2009 17:32:41 +0000 Subject: [PATCH] - removed RAM-init during synthesizing Committed on the Free edition of March Hare Software CVSNT Server. Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/ git-svn-id: http://moon:8086/svn/vhdl/trunk@323 cc03376c-175c-47c8-b038-4cd826a8556b --- lib/CPUs/MIPS/src/core/mips_reg.vhd | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/CPUs/MIPS/src/core/mips_reg.vhd b/lib/CPUs/MIPS/src/core/mips_reg.vhd index da76225..e7b72da 100644 --- a/lib/CPUs/MIPS/src/core/mips_reg.vhd +++ b/lib/CPUs/MIPS/src/core/mips_reg.vhd @@ -51,16 +51,7 @@ architecture Behavioral of reg_dual is constant depth : integer := 2**addr_width; type mem_t is array (0 to depth-1) of unsigned (data_width-1 downto 0); - function mem_clear(depth : natural) return mem_t is - variable result : mem_t; - begin - for i in 0 to depth-1 loop - result(i) := (others => '0'); - end loop; - return result; - end mem_clear; - - signal reg_mem : mem_t := mem_clear(depth); + signal reg_mem : mem_t; begin