J
Johnsy Joseph
Guest
Hello Everybody,
I would be grateful if somebody helped me with this. I have the
following definitions.
type byte is array(7 downto 0) of std_logic;
type sarray is array(6 downto 1) of byte;
variable shift_register:sarray;
variable shftreg_data: std_logic_vector(7 downto 0);
I would like to do the something like this-
shift_register(0)(7 to 0) := shftreg_data(7 to 0);
I basically want to assign a vector to one of the elements of my array
of vectors but it isnt working. I am using VHDL'87 but it doesnt
compile. Any methods to do such a thing?
Thanks for the help
Warm Regards
Johnsy
I would be grateful if somebody helped me with this. I have the
following definitions.
type byte is array(7 downto 0) of std_logic;
type sarray is array(6 downto 1) of byte;
variable shift_register:sarray;
variable shftreg_data: std_logic_vector(7 downto 0);
I would like to do the something like this-
shift_register(0)(7 to 0) := shftreg_data(7 to 0);
I basically want to assign a vector to one of the elements of my array
of vectors but it isnt working. I am using VHDL'87 but it doesnt
compile. Any methods to do such a thing?
Thanks for the help
Warm Regards