W
Weng Tianxiang
Guest
Hi,
I want to know how to generate variable labels for same component
within a loop.
The following is the code I am writing:
component A port (
...
);
end component;
begin
for I in 5 to 0 generate
xxx : A port map (
...
);
end generate;
I don't know how to put variable I into the label xxx.
Thank you.
Weng
I want to know how to generate variable labels for same component
within a loop.
The following is the code I am writing:
component A port (
...
);
end component;
begin
for I in 5 to 0 generate
xxx : A port map (
...
);
end generate;
I don't know how to put variable I into the label xxx.
Thank you.
Weng