CLINK - A Communication Channel
Syntax
CLINK ( src_type.src_inst[src_port]->dest_type.dest_inst[dest_port], link_width )
Synopsis
The CLINK construct provides a mechanism to enable two different ports to be connected
together. The ports maybe on the same or different entities.
- src_type str - The type name of the source entity to be connected.
This entity must have already been defined in the entity library.
- src_inst str - The instance name of the source entity to be connected.
If the CLINK is declared in a COMPENTITY, then the instance must
have already been defined as a CHILD. Otherwise, if the CLINK is declared
in STRUCTURE, the instance must have already been defined as a
AENTITY.
Note the type and instance name combination should be unique.
- src_port str - The name of port on the source to be
connected.
- dest_type str - The type name of the destination entity to be connected.
This entity must have already been defined in the entity library.
- dest_inst str - The instance name of the destination entity to be connected.
If the LINK is declared in a COMPENTITY, then the instance must
have already been defined as a CHILD. Otherwise, if the LINK is declared
in STRUCTURE, the instance must have already been defined as a
AENTITY.
Note the type and instance name combination should be unique.
- dest_port str - The name of port on the destination to be
connected.
- link_width str - The width of the link in pixels. This is used when displaying
the link.
Example
CLINK ( CPU.cpu4[to_memory]->Memory.main_memory4[from_cpu], 3 )