Connect signals attached to LEDs on hardware board
SoC Blockset / Hardware Logic I/O
The LED block indicates the status of a signal. The hardware logic signals connected to an LED block are equivalent to the signals connected to the light emitting diodes (LED) on the hardware board.
LED— Input signal
Input signal from the hardware logic. Each LED has a port, named
LED1 to LED
x is Number of LEDs.
Hardware board— View selected hardware
This parameter is read-only. To choose a hardware board and configure board parameters, see Hardware Implementation Pane.
View LEDs location— View LEDs
To view a diagram of the location of the LEDs on the selected hardware board, click the View LEDs location button.
This button is enabled only when you select specific Xilinx or Intel boards. For more information about these boards, refer to Supported Third-Party Tools and Hardware.
IO logic— IO logic indicator
This parameter is read-only. Indicates the IO logic level on the selected hardware board.
When the IO logic parameter is shown as Active Low, the LED block accepts active low signals and represents the port names prefixed with letter n. For example, nLED1.
Number of LEDs— LED selection
1(default) | list of integers in the range [1, n]
To specify the required number of LED ports, select a value from the
Number of LEDs list.
the number of available LEDs on the specified hardware board. For example, if you select
4 from the list, the block shows four LED ports.
To use only the
nth LED, set the Number of
LEDs parameter to
n and leave the unused LED
To automatically generate HDL code for your design, and execute on an SoC device, use the SoC Builder tool. See Generate SoC Design.