Miscellaneous Block Models


Central_Utilites      


File: general_blocks/Central_Utilities.sim
Description
Central_Utilities - This box is a useful "catch-all" box to include in General_Block simulations. It automatically sets the simulator's animation mode and debugging levels to nominal values for General_Blocks. In the future, it may perform other needed centralized functions to General_Blocks. Include exactly *one* Central_Utilities box in a given General_Block simulation. Central_Utilities has no input or output ports. It stands alone by itself.

Ports

Input Ports
Output Ports
Parameters

SystemCall

File: general_blocks/Miscellaneous/SystemCall.sim
Description
The model executes a given command on the system shell.
The value returned by the command is placed on the port out.
Ports
Input Ports
Output Ports
Parameters

Dijkstra

File: general_blocks/Miscellaneous/Dijkstra.sim
Description
The model computes the least-cost routing table for the specified src,
according to the least-cost algorithm commonly know as the Dijkstra algorithm.
Ports
Input Ports
Output Ports
Parameters

TimeBetweenTriggers

File: general_blocks/Miscellaneous/TimeBetween.sim
Description
Each time the input to the model is enabled, the model calculates the elapsed time since the last
time the input was enabled and sends the value out to the output port elapsed.
Ports
Input Ports
Output Ports
Parameters

PrintEnvelope

File: general_blocks/Miscellaneous/Print_token.sim
Description
Developers Debugging Aid, the model prints contents and type of any data structure on the input in.
Ports
Input Ports
Output Ports
Parameters

Print_real

File: general_blocks/Miscellaneous/Print_real.sim
Description
The model prints out the real input on the port in.
Ports
Input Ports
Output Ports
Parameters

Print_int

File: general_blocks/Miscellaneous/Print_int.sim
Description
The model prints out the integer input on the port in.
Ports
Input Ports
Output Ports
Parameters

Print_message


File: general_blocks/Miscellaneous/Print_message.sim
Description
The model prints the input on the port in  to the screen and passes the input to the port out.
Ports
Input Ports
Output Ports
Parameters