H
hssig
Hi,
maybe someone here can explain to me how to reach the following:
I instantiate a component "cChannels" times in a generate loop. Now I
define a configuration in which all instances do have the architecture
"arch_compo_rtl".
entity bundle_compo is
end bundle_compo;
architecture arch_bundle_compo iof bundle_compo is
begin
gL: for j 0 to cChannels-1 generate
i_c: compo
port map( iEna => ls_ena(j),
iClk => Clk,
iData => ls_data(j),
oData => ls_data_rec(j)
);
end generate gK;
end arch_bundle_compo;
configuration cfg_bundle of bundle_compo is
for arch_bundle_compo
for all: i_c
use entity work.compo(arch_compo_rtl);
end for;
end for;
end configuration cfg_bundle_of bundle_compo;
My question: How can I instantiate for example 10 components with
architecture "arch_compo_rtl"
and 10 components with architecture "arch_compo_beh" without having to
define the config instances
one by one ? Is there some possibility to use some kind of loop within
the configuration ?
Cheers,
hssig
maybe someone here can explain to me how to reach the following:
I instantiate a component "cChannels" times in a generate loop. Now I
define a configuration in which all instances do have the architecture
"arch_compo_rtl".
entity bundle_compo is
end bundle_compo;
architecture arch_bundle_compo iof bundle_compo is
begin
gL: for j 0 to cChannels-1 generate
i_c: compo
port map( iEna => ls_ena(j),
iClk => Clk,
iData => ls_data(j),
oData => ls_data_rec(j)
);
end generate gK;
end arch_bundle_compo;
configuration cfg_bundle of bundle_compo is
for arch_bundle_compo
for all: i_c
use entity work.compo(arch_compo_rtl);
end for;
end for;
end configuration cfg_bundle_of bundle_compo;
My question: How can I instantiate for example 10 components with
architecture "arch_compo_rtl"
and 10 components with architecture "arch_compo_beh" without having to
define the config instances
one by one ? Is there some possibility to use some kind of loop within
the configuration ?
Cheers,
hssig