A last-in-last-out passive resource component.
AcceptsSTMM_TRANSACTION_TYPE
transactions on the INPUT port, and processes them in a last-in-first-out scheme.
●
RELEASE_ – The component also accepts
STMM_TRANSACTION_TYPE
transactions on theRELEASE_
port and processes them immediately.
●
USAGE – This port specifies the amount of resource used by a transaction based on the transaction class.
● If there is enough of the resource available (AVAIL) to process an input transaction, the resource is allocated, and ALLOCD is set to the input transaction.
● If there are insufficient resources, the input transaction is placed in the LIFO queue until sufficient resources are available.
● When a transaction arrives on theRELEASE
_ port, the resources associated with the transaction are released (based on the value of USAGE), and FREED is set to the release transaction.When you insert theSTM_LIFO_PASSIVE
component into an activity chart, the component is represented by the following graphic image.
If you set ANALYZE, the following statistics are gathered:
Available resource
units
INPUT arrival
interval
Release arrival
interval
Number of allocated
inputs
Number of freed
releases
Time between input
and freed
To access these values in the panels or in the simulation monitor, use the following naming convention: <Component_Name>^value_nameCLEAR
clears the statistics.UPDATE
makes sure the statistics values are up-to-date. In some cases, the statistics are only updated when events are triggered within the resource, soUPDATE
ensures the statistics are up-to-date regardless of the triggering events.