diff options
author | oharboe <oharboe> | 2008-06-18 19:15:46 +0000 |
---|---|---|
committer | oharboe <oharboe> | 2008-06-18 19:15:46 +0000 |
commit | eeff43d65567e8f0fa8634081682f0d92cee3cee (patch) | |
tree | adba78bb0fe902942e84b8cec581c88625617b6c /zpu/hdl/example/zpu_config.vhd | |
parent | f7c21b8d9c790fb8f59db5030e2b8f1a9fc96246 (diff) | |
download | zpu-eeff43d65567e8f0fa8634081682f0d92cee3cee.zip zpu-eeff43d65567e8f0fa8634081682f0d92cee3cee.tar.gz |
* zpu_config.vhd: Fixed startSp calculation (address in bytes not words)
Diffstat (limited to 'zpu/hdl/example/zpu_config.vhd')
-rw-r--r-- | zpu/hdl/example/zpu_config.vhd | 2 |
1 files changed, 1 insertions, 1 deletions
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;
|