S
sakr
I was trying to write a configuration declaration to certain
component; when compiling that configuration, I had a warning that the
Component configuration "all : myComp" applies to no component
instantiation statements.
This an example of how my configuration declaration looks like; direct
and simple:
for myArch
for all : myComp
use entity myLib.myComp(myCompArch);
end for;
end for;
I could attribute the problem to the fact that the myComp is
instintaited inside a generate block.
genLabel : for i in 0 to i_max generate
myCompInst : component myComp
port map (
...
...
...
);
end generate genLabel;
Just to make sure I have no typos, I moved the component instintiation
outside the generate block, then compiled the configuration, and I
received no errors, or warnings, and the component binding was as I
expected.
So, my question is how to configure a compenet, when it is
instintaited inside a generate block.
Best Regards,
Mostafa Sakr
component; when compiling that configuration, I had a warning that the
Component configuration "all : myComp" applies to no component
instantiation statements.
This an example of how my configuration declaration looks like; direct
and simple:
for myArch
for all : myComp
use entity myLib.myComp(myCompArch);
end for;
end for;
I could attribute the problem to the fact that the myComp is
instintaited inside a generate block.
genLabel : for i in 0 to i_max generate
myCompInst : component myComp
port map (
...
...
...
);
end generate genLabel;
Just to make sure I have no typos, I moved the component instintiation
outside the generate block, then compiled the configuration, and I
received no errors, or warnings, and the component binding was as I
expected.
So, my question is how to configure a compenet, when it is
instintaited inside a generate block.
Best Regards,
Mostafa Sakr