F
filmil
Guest
When making a component instance, how does one specify that one wants
to use the default value of a generic, as specified in the entity
declaration?
I thought that simply omitting the generic in question from the
generic map would do the trick. However, my compiler complains about
the generic not being given an actual value if I do such a thing.
I can work around this problem by looking inside the entity in
question and supplying the default value. But I have a feeling this
kind of defeats the purpose of generics.
f
to use the default value of a generic, as specified in the entity
declaration?
I thought that simply omitting the generic in question from the
generic map would do the trick. However, my compiler complains about
the generic not being given an actual value if I do such a thing.
I can work around this problem by looking inside the entity in
question and supplying the default value. But I have a feeling this
kind of defeats the purpose of generics.
f