From eeff43d65567e8f0fa8634081682f0d92cee3cee Mon Sep 17 00:00:00 2001 From: oharboe Date: Wed, 18 Jun 2008 19:15:46 +0000 Subject: * zpu_config.vhd: Fixed startSp calculation (address in bytes not words) --- zpu/hdl/example/zpu_config.vhd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zpu/hdl/example/zpu_config.vhd') diff --git a/zpu/hdl/example/zpu_config.vhd b/zpu/hdl/example/zpu_config.vhd index dc2b666..63f6fb9 100644 --- a/zpu/hdl/example/zpu_config.vhd +++ b/zpu/hdl/example/zpu_config.vhd @@ -18,5 +18,5 @@ package zpu_config is -- start byte address of stack. -- point to top of RAM - 2*words constant spStart : std_logic_vector(maxAddrBitIncIO downto 0) := - conv_std_logic_vector((2**(maxAddrBitBRAM+1))/4-8, maxAddrBitIncIO+1); + conv_std_logic_vector((2**(maxAddrBitBRAM+1))-8, maxAddrBitIncIO+1); end zpu_config; -- cgit v1.1