CLINK - Communication links between entities
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.
The entities must have already been defined in the entity library section of the project
definition and the instance of each entity involved must have been
defined either as an AENTITY in the STRUCTURE section of the project definition or as a
CHILD in a COMPOUND
entity.
Syntax
CLINK ( src_type.src_inst[src_port]->dest_type.dest_inst[dest_port], link_width )
- src_type str - The type name of the source entity to
be connected.
- src_inst str - The instance name of the source
entity to be connected. The type and instance name combination must 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.
- dest_inst str - The instance name of the destination
entity to be connected. The type and instance name combination must 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. If the width is 0, the
link is not drawn and packets travelling along the link are not
displayed.
Example
CLINK (
CPU.cpu4[to_memory]->Memory.main_memory4[from_cpu], 3 )