Hi all !!
I will try to be as clear as possible.
I would like to put some signals names in an array and then to use it in a process.
--Declaration array :
TYPE Data_NCL IS ARRAY (0 to 12) of dual_rail_logic;
--in the process before the begin:
variable Ci : Data_NCL;
--after the begin :
Ci(0):=CNi00;
--And then use it like that:
Ci(0) <= to_DR('1');--mean give value data "1" to signal CNi00
but I have this error : Target of signal assignment is not a signal.
I hope I was clear so if you have any idea ...
(I need that to be able to make a loop for saving line of code (same code quite long for many signal))
Thanks,
David.
I will try to be as clear as possible.
I would like to put some signals names in an array and then to use it in a process.
--Declaration array :
TYPE Data_NCL IS ARRAY (0 to 12) of dual_rail_logic;
--in the process before the begin:
variable Ci : Data_NCL;
--after the begin :
Ci(0):=CNi00;
--And then use it like that:
Ci(0) <= to_DR('1');--mean give value data "1" to signal CNi00
but I have this error : Target of signal assignment is not a signal.
I hope I was clear so if you have any idea ...
(I need that to be able to make a loop for saving line of code (same code quite long for many signal))
Thanks,
David.