A port is either an input, an output, or an input/output, depending on the value of the "Port Type" attribute. Ports are represented graphically as arrows, with the position of the arrowhead relative to the component’s pin indicating whether it is an input or an output. In the case of an input, the arrowhead is located at the pin, in the case of an output, it is located on the opposite side of the pin.
Ports show the current signal during simulation. Depending on the value of the attributes "Bit Width" and "Representation", different numbers of digits are required. Antares arranges the digits in blocks of 4 digits on top of each other, with lower digits at the bottom/right and higher digits at the top/left.
During simulation, input ports can be used like a switch, but only if they are part of the main circuits, i.e. the outermost circuit. If Antares would allow the user to change the signal of an input of a subcircuit, there would be a conflict with the signal passed to the input by the surrounding circuit.
In case of ports with binary value representation, you can click on a digit to toggle its value. When you click while holding down the Alt key, the digit ist set to "undefined ie. floating". Digits of ports with hexadecimal value representation cannot be changed using the mouse.
Note that you can also use the keyboard to alter the signal of an input port. The digit that currently has the focus is highlighted with a dashed rectangle. The keys you can use to alter the input signal depends on the the value of the "representation" attributes: For binary representations, you can use the 0 and 1 keys, whereas for hexadecimal representation, you can use all keys from 0..9 and from A..F. Use the key Z to set the digit to "undefined", or the key X to set it to the "error" value.
A port component has only one pin, the bit width of which is determined by the attribute "Bit Width".
The name of the port displayed on the opposite side of the pin. Antares uses the name to connect the pins of a subcircuit symbol to the ports of the subcircuit. For this reason the name must not be empty, and it must be unique within the subcircuit. For the same reason the name cannot be translated into multiple languages (at least in the current version of Antares).
- Port Type
Defines whether the port is an input, an output, or both an input and an output.
- Bit Width
The number of bits that can be transmitted simultaneously through this port.
Determines whether the value of the current signal is represented in binary or hexadecimal.
Defines the behavior of a port when used as a switch by the user during simulation. If this attribute is set, the port remains in its state when the mouse button is released.