Menu

Theme

Component reference · Reference · CHECKED ON 5.0.0

The Logisim 7-segment display: pin map, decoders and the Hex Digit Display

The 7-Segment Display has eight 1-bit inputs: four along the top (from the left: g, f, a, b) and four along the bottom (from the left: e, d, c, decimal point), as measured on the default 5.0.0 component. To show a 4-bit number without wiring segments, use the Hex Digit Display, which decodes 0 to F itself. To drive the 7-segment display from a number, add a decoder: a ROM, gates, or the built-in BCD to seven segment part.
FOR
Students wiring displays for counters and clocks
CHECKED
11 Nov 2026
Checked against Logisim-evolution 5.0.0 on 1 machines
On this page

Pin map

7-Se1. Segment Ain 12. Segment Bin 13. Segment Cin 14. Segment Din 15. Segment Ein 16. Segment Fin 17. Segment Gin 18. Decimal pointin 1
The 7-Segment Display with its eight inputs, drawn from our measured geometry (F44). crosshair = the loc Logisim stores
Ports as a table
#PortDirectionWidthOffset from anchor
1Segment Ain1(20, 0)
2Segment Bin1(30, 0)
3Segment Cin1(20, 60)
4Segment Din1(10, 60)
5Segment Ein1(0, 60)
6Segment Fin1(10, 0)
7Segment Gin1(0, 0)
8Decimal pointin1(30, 60)
Position Segment Port at (x, y)
Top, 1st g (0, 0)
Top, 2nd f (10, 0)
Top, 3rd a (20, 0)
Top, 4th b (30, 0)
Bottom, 1st e (0, 60)
Bottom, 2nd d (10, 60)
Bottom, 3rd c (20, 60)
Bottom, 4th decimal point (30, 60)

The tooltips 5.0.0 shows are Segment A to Segment G and Decimal point. A 1 lights a segment. We did not test the Active On High? attribute that reverses this.

Fastest: the Hex Digit Display

The Hex Digit Display has one 4-bit data input and a decimal-point input. It shows 0 to F.

LAB lab-lnx · Linux lab5.0.02026-11-11

Logisim-evolution 5.0.0 with a 4-bit input pin N reading 1011 wired to a Hex Digit Display. The display shows the letter b in red segments.

N = 1011 on a Hex Digit Display shows b (F89). Linux lab, 5.0.0.lab-lnx-le500-hexdigit-b-01
A 4-bit input pin reading 1011 wired to a Hex Digit Display that shows the letter b in red.

Drive a 7-segment display from a number

Built-in decoder

The BFH mega functions library has a BCD to seven segment decoder. Its seven outputs sit at the same positions as the display’s a to g inputs, and it has no decimal-point output.

The built-in decoder, all 16 inputs, from a tty table of 5.0.0.
#Nabcdefg
00001111110
00010110000
00101101101
00111111001
01000110011
01011011011
01101011111
01111110000
10001111111
10011111011
1010UUUUUUU
1011UUUUUUU
1100UUUUUUU
1101UUUUUUU
1110UUUUUUU
1111UUUUUUU

Download circ-7seg-bcd-builtin.circ. A TTL 7447 is the chip-level equivalent (TTL 7400 series).

ROM lookup

A 16-word ROM holds the segment bits. We use bit 0 = a, bit 6 = g and bit 7 = decimal point. A splitter fans the ROM word out to the display pins.

The ROM contents we used (0 to F), checked in 5.0.0 by test vector. The word is hex; bit 0 is segment a.
#NSegment word
0x00x3f
0x10x6
0x20x5b
0x30x4f
0x40x66
0x50x6d
0x60x7d
0x70x7
0x80x7f
0x90x6f
0xa0x77
0xb0x7c
0xc0x39
0xd0x5e
0xe0x79
0xf0x71

LAB lab-lnx · Linux lab5.0.02026-11-11

Logisim-evolution 5.0.0 with a 16 by 8 ROM driving a 7-segment display through a splitter. The input reads 0000, the ROM output reads 00111111 and the display shows a zero.

The ROM decoder with N = 0000: the output word is 00111111 (0x3f) and the display shows 0 (F89).lab-lnx-le500-7seg-rom-decoder-01
A ROM driving a 7-segment display through a splitter: input 0000, ROM output 00111111, display shows zero.
circ-7seg-rom-decoder · mainscroll to see all
884bNnROMtablenw8bWwwe0e1e2e3e4e5e6e77-See0e1e2e3e4e5e6e7
The ROM decoder circuit: ROM, a splitter and the display. CC BY 4.0 · SHA-256 23e5eac42cda
Describe this circuit

Components: Input pin N; ROM table; Output pin W; Splitter 1; 7-Segment Display 1.

  • Input pin N connects to ROM table (net N, n), 8 bits wide.
  • ROM table connects to Output pin W, Splitter 1 (net w, W), 8 bits wide.
  • Splitter 1 connects to 7-Segment Display 1 (net e0).
  • Splitter 1 connects to 7-Segment Display 1 (net e1).
  • Splitter 1 connects to 7-Segment Display 1 (net e2).
  • Splitter 1 connects to 7-Segment Display 1 (net e3).
  • Splitter 1 connects to 7-Segment Display 1 (net e4).
  • Splitter 1 connects to 7-Segment Display 1 (net e5).
  • Splitter 1 connects to 7-Segment Display 1 (net e6).
  • Splitter 1 connects to 7-Segment Display 1 (net e7).

Download circ-7seg-rom-decoder.circ. To make the contents for your own bit order, use the memory image generator. We did not test a gate-level decoder for this page; see Combinational Analysis.

Common anode, common cathode and Active On High?

Logisim has no anode or cathode pin. The Active On High? attribute is for the same job: untick it if your decoder outputs 0 for a lit segment, as a 7447 does. We did not test both settings.

Two, three or more digits

Split the value into digits before the displays. The BFH library has a Binary to BCD part with a 9-bit input and three 4-bit outputs for units, tens and hundreds (port names, F44). We did not test it. For a counting clock see Digital clock.

Version differences

Feature2.7.15.0.0
Display port positions2.7.1: yessame positions in our port data5.0.0: yesa (20,0) ... dp (30,60)
Hex Digit Display decimal-point port2.7.1: partialat (10,0) in our port data5.0.0: partialat (20,0)
BFH BCD to seven segment decoder2.7.1: nonot in 2.7.15.0.0: yestested (F89)

See also all components.

On a real board the display is mapped in the FPGA guide window.

Frequently asked questions

Which pin is which segment on the Logisim 7-segment display?

Top row from the left: g, f, a, b. Bottom row from the left: e, d, c, decimal point. Hovering over a pin shows its segment name (F44).

How do I show a 4-bit number on a Logisim display?

Wire it to a Hex Digit Display, which shows 0 to F. In our test 1011 showed b. For a 7-segment display add a decoder.

What does the BCD to seven segment decoder show for 10 to 15?

Nothing: all seven outputs were floating (U) in our test, so the display stays off.

Common anode or common cathode?

Logisim has no such pin. The display has an Active On High? attribute for the same job. We did not test it.

How do I show two or three digits?

Split the value into digits first. The BFH library has a Binary to BCD part with a 9-bit input and three 4-bit outputs; we did not test it.

Sources

  1. 7-segment tests on Logisim-evolution 5.0.0, logisim.dev lab data: test-data/lab9-2026-11-11-7seg/, src/content/circuits/circ-7seg-*
  2. Measured port positions and names, logisim.dev lab data: test-data/lab2-2026-11-09-components/component-port-names-le500.tsv

Try: , , ,