rourabpaul
Member level 3
i have a signal 'S' of n bits in vhdl , and n is any positive value defined in a generic,
say in that case n=8,
i write
if n="11111111" then
(some data)
end if;
but when i change the generic value then i have to manipulate the if condition also,i dnt want to do it, i only want to change the value of n,
what will be my syntax in the 'if' condition
say in that case n=8,
i write
if n="11111111" then
(some data)
end if;
but when i change the generic value then i have to manipulate the if condition also,i dnt want to do it, i only want to change the value of n,
what will be my syntax in the 'if' condition