S
sebs
Hi,
In my toplevel testbench I'd like to only change one generic of a
component somewhere in my design. This component has many generics
that have no default binding. They are all set by the hierarchy
above.
so in my testbench I want to do something like the following in order
to change only the generic g_Segment, but leave the rest alone.
configuration blub of my_tb is
for tb
for C_data_src: data_src
for behav
for C_segment : segment
use entity work.segment
generic map (g_Segments => 10);
end for;
end for;
end for;
end configuration blub;
Unfortunately Modelsim complains about all generics that have no
default value ... "Formal generic ... has OPEN or no actual
association with it." Although all generics are defined in the
architecture where C_segment is instantiated. Why would i need to
define all generics in the generic map of the configuration, when I
want to only override one of them?
In my toplevel testbench I'd like to only change one generic of a
component somewhere in my design. This component has many generics
that have no default binding. They are all set by the hierarchy
above.
so in my testbench I want to do something like the following in order
to change only the generic g_Segment, but leave the rest alone.
configuration blub of my_tb is
for tb
for C_data_src: data_src
for behav
for C_segment : segment
use entity work.segment
generic map (g_Segments => 10);
end for;
end for;
end for;
end configuration blub;
Unfortunately Modelsim complains about all generics that have no
default value ... "Formal generic ... has OPEN or no actual
association with it." Although all generics are defined in the
architecture where C_segment is instantiated. Why would i need to
define all generics in the generic map of the configuration, when I
want to only override one of them?