oursriharsha
Member level 3
- Joined
- Apr 23, 2009
- Messages
- 54
- Helped
- 3
- Reputation
- 6
- Reaction score
- 0
- Trophy points
- 1,286
- Location
- Mumbai, India
- Activity points
- 1,622
create a array of hexadecimal numbers in vhdl
type VECTOR_MEM is array (23 downto 0) of std_logic_vector(9 downto 0); -- 8x8
signal INSTR_VECTOR : VECTOR_MEM; -- 24 X10 locations.
can anyone please tell me how to initialise these values with a predefined set of vectors.
-- while accessing these locations can i access them as
Vector(addr)
addr being incremented .
How is this operation synthesized.
Regards
type VECTOR_MEM is array (23 downto 0) of std_logic_vector(9 downto 0); -- 8x8
signal INSTR_VECTOR : VECTOR_MEM; -- 24 X10 locations.
can anyone please tell me how to initialise these values with a predefined set of vectors.
-- while accessing these locations can i access them as
Vector(addr)
addr being incremented .
How is this operation synthesized.
Regards