STRUCTURE - The definition of the Architecture

The STRUCTURE section of the project definition describes which entities from the entity library are to be included in the architecture description and how many of them there are. It also deals with how the entities and connected together.

AENTITY - Architecture Entity

Synopsis

The AENTITY construct provides a mechanism for adding components from the entity library to the architecture description.

Syntax

AENTITY typename inst_name ( DESCRIPTION ( "description" ) ) Example:

AENTITY cache Primary_Cache (DESCRIPTION ("A primary cache instance"))


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 )

Example

CLINK ( CPU.cpu4[to_memory]->Memory.main_memory4[from_cpu], 3 )