User Tools

Site Tools


hw:lab:pld:rozwiazania_7seg

This is an old revision of the document!


Rozwiazanie 7 seg

Przyjęta konwencja segmentów (ogólnie obowiązująca na świecie)

segment a

Segment a (o1) powinien byc zapalony dla cyfr : 0,2,3,5,6,7,8,9

i3 i2 \ i1 i0 00 01 11 10
00 1 (0) 0 (1) 1 (3) 1 (2)
01 0 (4) 1 (5) 1 (7) 1 (6)
11 x (C) x (D) x (F) x (E)
10 1 (8) 1 (9) x (B) x (A)

o1 = i3 + i1 + !i3*!i2*!i0 + i0*!i1 *i2*!i3

implmentacja

i0 !i0 i1 !i1 i2 !i2 i3 !i3 i4 !i4 i5 !i5 i6 !i6 i7 !i7 o0 !o0 o1 !o1 o2 !o2 o3 !o3 o4 !o4 o5 !o5 o6 !o6 o7 !o7
and0 x
and1 x
and2 x x x
and3 x x x x
and4
and5
and6
and7

segment b

Segment b (o2) powinien byc zapalony dla cyfr : 0,1,2,3,4,7,8,9

i3 i2 \ i1 i0 00 01 11 10
00 1 (0) 0 (1) 1 (3) 1 (2)
01 0 (4) 1 (5) 1 (7) 1 (6)
11 x (C) x (D) x (F) x (E)
10 1 (8) 1 (9) x (B) x (A)

o1 = i3 + i1 + !i3*!i2*!i0 + i0*!i1 *i2*!i3

/services/www/http/wiki/data/attic/hw/lab/pld/rozwiazania_7seg.1299254825.txt.gz · Last modified: 2019/03/08 14:06 (external edit)