Guest_imported
New member
- Jan 1, 1970
- 0
Hi,
My query is regarding passing generic value to the instances. I know how it is done normally ( using
generic map while instantiating or while binding
component in configuration ). But my problem is a little
different. I want to know how to pass a generic value to an entity which is not instantiated anywhere ( its the top level entity ). This top level entity is the testbench entity which is not instantiated but has a generic. I want to pass the generic value in the configuration of this top level entity. When I want to change the generic value I will just change the configuration file.
Regards,
Sharan
My query is regarding passing generic value to the instances. I know how it is done normally ( using
generic map while instantiating or while binding
component in configuration ). But my problem is a little
different. I want to know how to pass a generic value to an entity which is not instantiated anywhere ( its the top level entity ). This top level entity is the testbench entity which is not instantiated but has a generic. I want to pass the generic value in the configuration of this top level entity. When I want to change the generic value I will just change the configuration file.
Regards,
Sharan