SEG7 LAB

7-SEGMENT DISPLAY
Binary
1000
Decimal
8
Hex
0x8
A1
B1
C1
D1
E1
F1
G1
DP0
INPUT CONTROLS
value8/ 15
TRUTH TABLE
16 rows × 8 outputslive7 active segments
Rows start at
row
col A
all
InputsSegment outputs (click to edit: 0 → 1 → X)
·Preview
00000
00011
00102
00113
01004
01015
01106
01117
10008
10019
1010
1011
1100
1101
1110
1111

Every row shows a live preview (after the Hex column) of what the display renders for that input — its segments are directly clickable to toggle 0 ↔ 1, and dragging a preview onto another row copies that pattern (inputs are excluded and never change). Keyboard equivalent: Tab to a row, Enter to select it, C to copy its outputs and V on another row to paste them. Input variables are A B C D — click a variable header to rename it. Rows are listed starting from 0000. The shift tools rotate values within the selected row, within the selected segment column (click a segment header to pick it), or across the whole table — every change instantly re-derives the K-maps, Boolean expressions, logic circuit and display.

KARNAUGH MAP
 
AB
00
01
11
10
00
01
11
10

Prime groups (4 in cover · 4 primes)

  • B·D4 cellsm(0,2,8,10) essential
  • C8 cellsm(3,2,7,6,15,14,11,10) essential
  • B·D4 cellsm(5,7,13,15) essential
  • A8 cellsm(12,13,15,14,8,9,11,10) essential
A=B·D+C+B·D+A4T · 6L
BOOLEAN EXPRESSIONS

Σm = (0, 2, 3, 5, 6, 7, 8, 9)ΠM = (1, 4)d = (10, 11, 12, 13, 14, 15)

Minimized with Quine-McCluskey over the minterms and don't-cares — 4 prime implicant(s) found; canonical form would need 8 terms / 32 literals.

Syntax: variables A B C D; operators + (OR), · / * / juxtaposition (AND), ^ (XOR), ! ~ ¬ or trailing ' (NOT), parentheses, constants 0/1. Verify compares against the truth table on all defined cells; Apply rewrites defined cells (don't-cares are kept).

LOGIC CIRCUIT
SOP · 5 gates · depth 4

SEGMENT UNDER EDIT

LIVE OUTPUTm8 · 1000
A = 1
B (0) → NOT B input 1D (0) → NOT D input 1NOT B (1) → AND input 1NOT D (1) → AND input 2B (0) → AND input 1D (0) → AND input 2AND (1) → OR input 1C (0) → OR input 2AND (0) → OR input 3A (1) → OR input 4OR (1) → OUT input 1A1Input A = 1. Drag to move; click or press Enter to toggle.B0Input B = 0. Drag to move; click or press Enter to toggle.C0Input C = 0. Drag to move; click or press Enter to toggle.D0Input D = 0. Drag to move; click or press Enter to toggle.NOTNOT gate — click or press Enter to inspect, drag to moveNOTNOT gate — click or press Enter to inspect, drag to moveANDAND gate — K-map group B'D' · 4 cells · essential. Click or press Enter to inspect, drag to move.ANDAND gate — K-map group BD · 4 cells · essential. Click or press Enter to inspect, drag to move.OROR gate — click or press Enter to inspect, drag to moveSEGMENTA1Segment A output = 1
logic 1 (active path)logic 0selected gate's pathclick inputs to toggle · click gates to inspect · drag to rearrange · wheel zooms at the cursor · arrows pan · +/− zoom · 0 fit
Gate reference (AND · OR · NOT · NAND · NOR · XOR · XNOR)
ANDY = A·B
ORY = A + B
NOTY = A'
NANDY = (A·B)'
NORY = (A+B)'
XORY = A ⊕ B
XNORY = (A ⊕ B)'
ANDOutputs 1 only when every input is 1.
OROutputs 1 when at least one input is 1.
NOTInverts its single input.
XOROutputs 1 when an odd number of inputs are 1.