Escolar Documentos
Profissional Documentos
Cultura Documentos
related
Attributes
Pre-defined Signal Attributes
Signal Attributes
event and last_value
Short definitions of these and
others Signal Attributes
SIGNALevent - returns True if an event occurred on this signal during this
delta
SIGNALactive - returns True if a transaction occurred this delta
SIGNALlast_event - returns the elapsed time since previous event
SIGNALlast_value - returns previous value of signal before last event
SIGNALlast_active - returns time elapsed since previous transaction
Signal Attributes that return Signals
Delayed(t), Stable, Quiet and transaction
Stable Attribute
Signalstable(time) creates a signal that is True when the reference
signal has no events for time value
Derived signal attribute
Signal -Related
Attributes
VHDL contains
a number of
predefined
attributes which
are related to
signals.
They can be
divided into two
classes:
attributes which
define signals
themselves
attributes which
are functions to
provide
information
about signals.
These attributes are signals
themselves
Examples of Using Attributes:
Detecting Edges
We use attribute
event
Measuring Pulse Width
Measuring Pulse Width (cont)
Measuring Setup Time
Delay
Parameterization
Delay Parameterization
Entities can be
made
parameterized
by the use of
GENERIC
CONSTANTS
They are
passed to an
instantiated
component by
its
environment
A generic
constant can
be used in
computation,
but remains
fixed during
simulation.
Delay
Parameterization
- Structured
Example