Hex Digit Display

Library: Input/Output
Introduced: 2.2.0
Appearance:

Behavior

Using a seven-segment display, shows the hexadecimal digit corresponding to the four-bit input. If any of the inputs are not 0/1 (either floating or error), then the display shows a dash ('-'). A separate one-bit input controls the display of the decimal point.

Pins

South edge, first from left (input, bit width 4)
This input is interpreted as an unsigned four-bit number, and the corresponding hexadecimal digit is displayed. If any of the bits are floating or error, then a dash ('-') is displayed.
South edge, second from left (input, bit width 1)
Controls the decimal point. If this is left unconnected, the decimal point remains off.

Properties

On Color
The color with which to draw the display segments and decimal point when they are on.
Off Color
The color with which to draw the display segments and decimal point when they are off.
Background
The color with which to draw the display's background (transparent by default).
Label
The text within the label associated with the component.
Label Location
The location of the label relative to the component.
Label Font
The font with which to render the label.

Poke Tool Behavior

None.

FPGA Synthesis

Supports VHDL and Verilog synthesis.

Up to Library Reference