ENTITY - Architecture Entity Description

Syntax

ENTITY entity_type_name library_name (
EXTENDS ( abstract_type )
DESCRIPTION ("description")
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 )
)
)

Frederic Mallet
Last modified: Thu Sep 5 11:41:44 BST 2002