M
MariuszK
Guest
Hello,
I have question:
If Argument of case is generic from entity, then after synthesis
generated code will be equal to
Q<= romValueArray2(iConvAdress); ????
------------------------------------------
entity xxxx is
generic(
sectionCount :integer := 2; -- section count
);
.......................
architecture xxx_arch of xxx is
begin
process(ADDRESS)
variable iConvAdress:integer:=0;
begin
case sectionCount is
when 2 =>
Q<= romValueArray2(iConvAdress);
when 4 =>
Q<= romValueArray4(iConvAdress);
......................
I have question:
If Argument of case is generic from entity, then after synthesis
generated code will be equal to
Q<= romValueArray2(iConvAdress); ????
------------------------------------------
entity xxxx is
generic(
sectionCount :integer := 2; -- section count
);
.......................
architecture xxx_arch of xxx is
begin
process(ADDRESS)
variable iConvAdress:integer:=0;
begin
case sectionCount is
when 2 =>
Q<= romValueArray2(iConvAdress);
when 4 =>
Q<= romValueArray4(iConvAdress);
......................