CHILD - COMPENTITY's Child Declaration
Syntax
CHILD ( entity_type_name, instance_name )
Synopsis
The CHILD construct provides a mechanism for defining lower level entities in
a COMPENTITY definition. Ports that are left unconnected on lower
level entities are inherited by the higher level entity. These two ports then behave as one, so
if the top level port is then linked to another port then the lower level port is automatically
linked too. This inheritance can be performed at multiple levels resulting in three or four or
more ports all behaving as one.
- entity_type_name str - This specifies the type name of the entity to be used.
This entity must have already been defined in the entity library.
- instance_name str - The instance name of the entity name to be added.
Note that instance names must be unique for a given type of entity. The same instance name can
be given to entities of different types, but it should be avoided as it causes confusion.
Example
CHILD ( Memory_Entity, main_memory )