Queues Blocks
Simple_FIFO
File: general_blocks/Queues/simple_FIFO.sim
Description
The model implements a single priority, fixed length FIFO Queue.
Ports
Input Ports
- in Data Type:
ANY DATA STRUCTURE
- clr2snd Data Type: TRIGGER
Output Ports
- out Data Type: ANY
DATA STRUCTURE
Parameters
- MaxQlength = 10 Data
Type: INTEGER
FIFOwPriority
File: general_blocks/Queues/FIFO_wPriority.sim
Description
The model implements a fixed length priority queue.
The priority ( input port Prio) of each input data structure
can be > = 0, with 0 representing the lowest priority.
Input clr2snd causes the first element in the queue to be released.
The parameter InitialInputFlowsThrough default is set to False
, to initialize the model set to the parameter to True.
Ports
Input Ports
- Qin Data
Type: ANY DATA STRUCTURE
- Prio Data Type:
INTEGER
- clr2snd Data Type: TRIGGER
Output Ports
- out Data Type:
ANY DATA STRUCTURE
Parameters
- MaxQlength = 10
Data Type: INTEGER
- InitialInputFlowsThrough = False
FIFO_wPeek
File: general_blocks/Queues/FIFO_wPeek.sim
Description
The model implements a fixed length FIFO queue with a peek option.
Ports
Input Ports
- in Data
Type: ANY DATA STRUCTURE
- peektr Data Type:
TRIGGER
- clr2snd Data Type: TRIGGER
Output Ports
- qout Data Type:
ANY DATA STRUCTURE
- pout Data Type:
ANY DATA STRUCTURE
- not2snd Data Type:
TRIGGER
Parameters
- MaxQlength = 10
Data Type: INTEGER
- InitialInputFlowsThrough = False
Simple_LIFO
File: general_blocks/Queues/Simple_LIFO.sim
Description
The model implements a single priority, fixed length Queue with a Last
In First Out discipline.
Ports
Input Ports
- in Data
Type: ANY DATA STRUCTURE
- clr2snd Data Type: TRIGGER
Output Ports
- out Data
Type: ANY DATA STRUCTURE
Parameters
- MaxQlength = 10
Data Type: INTEGER