brunokasimin
Member level 4
![Member level 4](/styles/images/ranks/dlevel4.gif)
hello everyone,
constant maxAddrBitIncIO : integer := 27;
constant maxAddrBitBRAM : integer := 16;
-- 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))-8, maxAddrBitIncIO+1);
What does this "conv_std_logic_vector((2**(maxAddrBitBRAM+1))-8, maxAddrBitIncIO+1);" tell us?
thx in advanced
constant maxAddrBitIncIO : integer := 27;
constant maxAddrBitBRAM : integer := 16;
-- 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))-8, maxAddrBitIncIO+1);
What does this "conv_std_logic_vector((2**(maxAddrBitBRAM+1))-8, maxAddrBitIncIO+1);" tell us?
thx in advanced