ENTITY - Architecture Entity Description

Syntax

ENTITY entity_type_name library_name (
EXTENDS ( abstract_type )
DESCRIPTION ("description")
INCLUDE ("compilation options")
STATES (state1, ...)

PARAMS ( modifier reference_parameter, ... )
PORTS ( port, ... )
)

Synopsis

The ENTITY construct enables the creation of a basic type of the architecture.

Example

ENTITY Cache (
DESCRIPTION ( "A generic parameterized cache" )
PARAMS (
RARRAY ( Memory, cache_contents )
RINT ( access_time, 2 )
RENUM ( Associativity, cache_assoc, 0 )
read_only RINT ( hit, 0 )
)
PORTS (
PORT ( to_cpu, LinkData, SOURCE )
PORT ( from_cpu, LinkData, DESTINATION )
PORT ( to_main_mem, LinkData, SOURCE )
PORT ( from_main_mem, LinkData, DESTINATION )
)
)

PROJECT(
PREAMBLE(
NAME "project_name"
DIRECTORY "working_directory"
AUTHOR "project_author"
VERSION ver
DESCRIPTION "project_description"
COMPILER "compiler_name"
LINK "linker_name"
LIBRARY "library_options"
EXTERN lib1, ...
)
PARAMLIB(parameter, ...)
GLOBALS(reference_parameter, ...)
ENTITYLIB( entity_definition | higher_entity_definition | mesh_entity | abstract_entity, ...)
STRUCTURE(architecture_entity | communication_channel , ... )
)


Home : Research : Groups : Hase : Manuals : Edl 

Please contact our webadmin with any comments or changes.
Unless explicitly stated otherwise, all material is copyright © The University of Edinburgh.