(C) David Vajda Wed Oct 7 11:46:43 2026 4 Network - TTL - Disjunktive Normalform 0 0 0 0 0 0 1 0 0 0 1 0 2 0 0 1 0 0 3 0 0 1 1 1 4 0 1 0 0 1 5 0 1 0 1 0 6 0 1 1 0 0 7 0 1 1 1 0 8 1 0 0 0 1 9 1 0 0 1 1 10 1 0 1 0 1 11 1 0 1 1 1 12 1 1 0 0 0 13 1 1 0 1 0 14 1 1 1 0 0 15 1 1 1 1 0
| 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | 0 | ||
| 0 | 0 | 0 | 0 | ||
| 0 | 0 | ||||
| 0 | 0 | 0 | |||
| 0 | 0 | 0 | |||
| 0 | 0 | 0 | |||
| 0 | 0 | ||||
| 0 | 0 | 0 | |||
| 0 | 0 | ||||
| 0 | 0 | ||||
| 0 | |||||
| 0 | 0 | 0 | |||
| 0 | 0 | ||||
| 0 | 0 | ||||
| 0 |
ist in hex...
0b0000.1111.0001.1000 0x0f18 0x0F18ok, welches Codes gibt es? wdh.
UFT8: 8 Bit: ASCII 16 Bit: +Arab... 24 Bit: +Chinese... 32 Bit: +noch mehr (character...)???ok kurze wdh. so ungefähr was gibt es bei ASCII, reihenfolge dann aus dem kopf...
NUL November Uniform Lima Nordpol Ulrich Ludwig Nullzeichen
STX Sierra Tango X-Ray Samuel Theodor Xantippe Start of Text
SOT Sierra Oscar Tango Samuel Oscar Theodor Start of Transmission
SOH Sierra Oscar Hotel Samuel Oscar Heinrich Start of Heading
ETX Echo Tango X-Ray Emil Theodor Xantippe End of Text
EOT Echo Oscar Tango Emil Oscar Theodor End of Transmission
... spaeter:
ETB Echo Tango Bravo Emil Theodor Berta End of Transmission Block
LF Lima Foxtrott Ludwig Friedrich Line Feed
FF Foxtrott Foxtrott Friedrich Friedrich Form Feed
CR Charlie Romeo Caesar Richard Carriage Return
HT Hotel Tango Heinrich Theodor Horizontal Tab
VT Victor Tango Viktor Theodor Vertical Tab
CAN Charlie Alpha November Caesar Anton Nordpol Cancel
DEL Delta Echo Lima Dora Emil Ludwig Delete
ESC Echo Sierra Charlie Emil Samuel Caesar Escape
ACK Alpha Charlie Kilo Anton Caesar Kaufmann Acknowlege
NAK November Alpha Kilo Nordpol Anton Kaufmann Not (no) acknowledge*ment <--konkret-- ???
SI Sierra India Samuel Ida Shift in
SO Sierra Oscar Samuel Oskar Shift out
DC1..4 Delta Charly 1..4 Dora Caesar 1..4 Device Controll 1..4
ENQ Echo November Quebeck Emil Nordpol Quelle Enquiry
SB?? Sierra Bravo Samuel Berta Space Back
ETX nicht zu verwechseln mit
TxD Transmit Data
RxD Recieve Data
TXC Transmit Complete
RXC Recieve Complete
TXEN Transmit Enable
RXEN Recieve Enable
ok, wenn man
0x0f18in ASCII uebersetzen muss, nehme ich buch zur hilfe:
aja, vergessen
DLE Delta Lima Echo Dora Ludwig Emil Data Link Escape
ist aber nicht.
sondern 15: ist:
SI Sierra India Samuel Ida Shift in
0x0f: 15, 0x10: 16, 0x11: 17, ..., 0x18: 24: CAN
CAN Charlie Alpha November Caesar Anton Nordpol Cancel
ueberpruefen 24:
24/2 = 12 Rest 0, 12/2 = 6 Rest 0, 6/2 = 3 Rest 0, 3/2 = 1 Rest 1, 1/2 = 0 Rest 1
0b0001.1000
0x18, stimmt
0x0f18 ASCII: sind: SI, CAN
jetzt in float... ieee-754:
also, rechnen wir eine normale zahl um:
laut computersysteme 1/2, ...
124.284
geht so:
also, den vorderen teil umrechnen:
124/2 = 62 Rest 0
62/2 = 31 Rest 0
31/2 = 15 Rest 1
15/2 = 7 Rest 1
7/2 = 3 Rest 1
3/2 = 1 Rest 1
1/2 = 0 Rest 1
1111100 ist
0b0111.1100
ok, dann den hinteren teil, bis etwa bei 1 oder so???
die vordere 1 nacher abschneiden, wg. normalisierung usw. + vorzeichen usw.
0.284 * 2 =
284 + 284 = 400 + 160 + 8 = 568
0.284 * 2 = 0.568, 0
0.567 * 2 =
567 + 567 = 1000 + 120 + 14 = 1134
0.567 * 2 = 1.134, 1
0.134 * 2 =
134 * 2 = 200 + 60 + 8 = 268
0.134 * 2 = 0.268, 0
0.268 * 2 =
268 * 2 = 400 + 120 + 16 = 536
0.268 * 2 = 0.536, 0
0.536 * 2 =
536 * 2 = 1000 + 60 + 12 = 1072
0.536 * 2 = 1.072, 1
0.072 * 2 =
72 * 2 = 142
0.072 * 2 = 0.142, 0
0.142 * 2 =
142 * 2 = 284
0.142 * 2 = 0.284, 0
0.284 * 2 =
284 * 2 = 400 + 160 + 8 = 568
0.284 * 2 = 0.568, 0
0.568 * 2 =
568 * 2 = 1000 + 120 + 16 = 1136
0.568 * 2 = 1.136, 1
0.136 * 2 =
136 * 2 = 200 + 60 + 12 = 272
0.136 * 2 = 0.272, 0
0.272 * 2 =
272 * 2 = 400 + 140 + 4 = 544
0.272 * 2 = 0.544, 0
0.544 * 2 =
544 * 2 = 1000 + 88 = 1.088
0.544 * 2 = 1.088, 1
so das reicht von der genauigkeit. also:
0b010010001001
jetzt muss die mantisse ausgerechnet werden
mantisse * b ^ exponent.
mantisse * basis ^ exponent.
nicht die mantisse, sondern die mantisse muss
nach rechts geschoben werden, die vordere 1
wg. normalisierung dann weg. und der exponent waechst.
blos: aus dem kopf:
entweder faengt der bei minus 127 (-127) oder -128 an
oder es ist zweier komplement
oder beides ist das gleiche
das y-wort nachher noch in zweier komplement umrechnen, so weiter.
0b0111.1100
das ist die mantisse:
0b0011.1110 (xshft(e) = 1)
0b0001.1111 (xshft(e) = 2)
0b0000.1111,1 (xshft(e) = 3)
0b0000.0111,11 (xshft(e) = 4)
0b0000.0011,111 (xshft(e) = 5)
0b0000.0001,1111 (xshft(e) = 6)
das normalisieren
also: exponent ist positiv 6, das in zweierkomplement fuer 7 bit. wuerde ich sagen, also
8 bit. aber wertbereich positiv/negativ
0b0000.0110 ist 6 positiv.
dann kommt
0b1111.1001 ist 1er komplement 6 positiv auf 8 bit
0b1111.1001 + 1 = 1111.1010 2er komplement
normalisiert ist:
1111 wg. der 1 vorne weg. von vor dem komma mantisse
dann wie lange mantisse, exponent und hinter komma. erst mal das
anhaengen das andere, hinter komma, also:
1111.010010001001
so. und jetzt der exponent dahinter oder davor? jedenfalls, die zahl
dann machen 24 bit floating point,
sprich ieee-754 - international electrical and electronical engeneers
das heisst:
16 bit mantisse, 7 bit exponent und: 1 bit vorzeichen
1111.010010001001
das in bit sind, also 16 bit muessen sein, vorne bleibt ganz, mit rundung...
(rundung fehler...)
1111.0100.1000.1001
stimmt genau. jetzt 7 bit machen wir den exponenten nur, vorher 8, das ist:
1111.1010
ohne fuehrende 1:
und
1111.0100.1000.1001.111.1010
vorne eine 0 ran wg. vorzeichen:
0.1111.0100.1000.1001.111.1010
und jetzt punkte richtig setzen:
0111.1010.0100.0100.1111.1010
ok
0b0111.1010.0100.0100.1111.1010
jetzt in hex
0x07A44FA
0x07a44fa
ok, jetzt probieren, die 16-bit wort vorher umrechnen:
statt 24 bit, 16 bit
16 bit, ieee-754: std/normal/.../einfache precision
24 bit, ieee-754: double precision
32 bit, ieee-754: extended precision
ok, bei 16 bit, bietet sich an:
exponent: 4 bit: dann 11 bit: sind mantisse und ein vorzeichen, damit ist:
0x0f18
0b0000.1111.0001.1000
ist hinten sind 8. das ist zweier komplemen, ich glaube allerdings, der exponent
steht vorne. also nehmen wir:
vorzeichen:
0, exponent 0: ist 0, aus dem zweier komplement
0 - 1 =
0b0000 - 0b0001 = 0b1111
umgesetzt: 0b0000
also exponent 0, also kein mal, verschoben, die verschieben, das ist 2er system
und jetzt. bleibt:
1111.0001.1000
da stimmt was nicht weil das ist kein mal verschoben von -127, jetzt pause.
f = (-1)^s * m * 2^(e-b)
irgendwie so.
wg. vorher:
wie auch immer.
6 + 128???
ja, wahrscheinlich, das klingt auch richtig:
134, ja, das haben wir immer so umgerechnet.
134/2 = 67 Rest 0
67/2 = 33 Rest 1
33/2 = 16 Rest 1
16/2 = 8 Rest 0
8/2 = 4 Rest 0
4/2 = 2 Rest 0
2/2 = 1 Rest 0
1/2 = 0 Rest 1
0b1000.0110
dann ist das, das von vorher.
0b1111.0100.1000.1001.111.1010
jetzt muss ich bei 7 bit, nein, entweder ich nehme 7 bit
exponent mit bias, oder 15 bit mantisse, besser so. also:
0b1111.0100.1000.1001.1000.0110
0b0111.1010.0100.0100.1111.1010
0b0111.1010.0100.0100.1000.0110
das waere glauebe richtiger.
ok, zurueck zur anderen zahl:
0x0f18 0b0000.1111.0001.1000 also, machen wir 4 bit - bias. abziehen. das sind bei 4 bit 7. also: 0x7f: 0b0111.1111 -127 also +127, sonst. und jetzt bei 4 bit. ist. die haelfte 8, und dann 7, also -7, 0b0111 0b1000 - 0b0111 = 0b0001 ok. oder in 2er komplement, das muss ich nachher ob das oben falsch ist. ok, das heist, eine stelle vorschoben: 0b0000.1111.0001 ok, mantisse, mit vorzeichen, also positiv. und exponent ist 1, also um 2 nach rechts nachher verschieben, plus normalisierung. also: + (positiv) 1.1111.0001 << 2 als, 1 normalisierung und 1 stelle hinter dem komma also: 1,1111.0001 << 2 als, 1 normalisierung und 1 stelle hinter dem komma 11,111.1001 jetzt umrechnen, vorher war das geteilt, was folgt daraus, gucken wir gleich: steuerung, 1 dahinter heisst das, 0 heisst das andere. 11 das sind 3 vor dem komma. und jetzt kommt. 1,x entsteht bei *2 ist 1,x also 0.5 + 0.25 + 0.125 + 0.0625 + 0.0*0.0625/2 + 0.0*0.0625/4 + 0.0625/8 = 0.5 + 0.25 + 0.125 + 0.0625 + 0,0078125 = 0,9453125 3,9453125 das ergebnis ist wohl: 3,9453125 wir wollen das nicht weiter ausprobieren.
| binär | hex | dec | aiken(dec) | dreiexcess(dec) | aiken,bin | dreiexcess,bin |
| pt | ||||||
| pt | pt | pt | ||||
| pt | ||||||
| pt |
|
041 0422 041 0422 000 041 0422 000 041 0422 000 124 1f26c4f ... was kommt danach, weiter weiss ich nicht 2x f einfuegen und ein mal 6c. 041 0422 000 041 0422 000 124 124 124 1f2f4 1f2f4 1, das stimmt nicht 124 124 124 1f24f 1f24f 1f24f 1f24f 1f26c4f 1f26c4f... ok, erst 1 aus 10, und 2 aus 5, dann ueben, mit buch und die reale anzeige, auch... auch mit galasm syntax... 0b10.0000.0000 (0) 0b01.0000.0000 (1) 0b00.1000.0000 (2) 0b00.0100.0000 (3) 0b00.0010.0000 (4) 0b00.0001.0000 (5) 0b00.0000.1000 (6) 0b00.0000.0100 (7) 0b00.0000.0010 (8) 0b00.0000.0001 (9) 2 aus 5 0b11000 0 0b10100 1 0b01100 2 0b10010 3 0b01010 4 0b00110 5 0b10001 6 0b01001 7 0b00101 8 0b00011 9 ok, nachgucken, hex... 1f26c40f04 ok, so muesste das sein, das andere ueberpruefen. 1f26c40f04 0410422000 ok, das letztere stimmt und das auch. noch mal. 124 124 004 124 004 124 00f 1f24 0f04 124 004 124 004 124 004 124 004 1f24 0f04 1f24 0f04 124 004 124 004 1f24 0f04 124 004 124 004 1f24 0f04 1f26c40f04 124 004 12 4004 12 4004 124 004 12 4004 124 004 1f2 40f04 12 4004 124 004 12 4004 1f2 40f04 1f2 40f04 1f26c40f04 1f26c40f04 1f26c40f04 0410422000 ok, nebeneinander, in der n"achsten tabelle
|
|
|
||
| pt | pt | pt | |
|
|
|
||
|
|
|
|
|
|
||
| pt | pt | pt | |
|
|
|
||
|
|
|
74LS47 a, b, c, d, ... fuer die 7 seg anzeige und was noch... und dazu: wo ist das ohne nach zu schauen, auf der 7 seg anzeige, ohne nachzurechnen, a, b, c, d. dann darstellen. und noch was: die 74xxx mit pins jetzt hinschreiben, wie ueblich, umsetzen in galasm syntaxz.B.
74LS04: (low power schottky) a: advanced f: fast l: low power s: schottky 54: mil 74: commercial 84: industrial A1 VCC B1 A4 A2 B4 B2 A5 A3 B5 B3 A6 GND B6 ok, das A: inverter input und: B: inverter output. und: hex inverter: 74LS04 jetzt kommt 74LS08, ist: AND, 74LS32, ist OR. und noch in galasm syntax da ist, galasm lattice gal16v8 input vcc input output input output ... output gnd output mehr oder weniger. aber output, mehr oder weniger: i/o/q q kommt durch flips flops schaltwerke selber wahrscheinlich. clk: ist eingang /oe, wird output enable, ist beim output an zu siedeln. CLK VCC X3 NC X2 NC X1 NC X0 NC NC NC NC NC NC NC NC Y GND /OE CLK X3 X2 X1 X0 NC NC NC NC GND /OE Y NC NC NC NC NC NC NC VCC so, richtige syntax bei galasm und jetzt 74LS04 A1 B1 A2 B2 A3 B3 GND B6 A6 B5 A5 B4 A4 VCC 74LS32 A1 VCC B1 A3 C1 B3 A2 C3 B2 A4 C2 B4 GND C4 A1 B1 C1 A2 B2 C2 GND C4 B4 A4 C3 B3 A3 VCC ok, und 74LS47 spaeter nachgucken, jetzt erst: quine.
(C) David Vajda
Wed Oct 7 11:46:43 2026
4 Network - TTL - Disjunktive Normalform
3 0 0 1 1 1
4 0 1 0 0 1
8 1 0 0 0 1
9 1 0 0 1 1
10 1 0 1 0 1
11 1 0 1 1 1
Gruppe 1:
4 0 1 0 0 1
8 1 0 0 0 1
Gruppe 2:
3 0 0 1 1 1
9 1 0 0 1 1
10 1 0 1 0 1
Gruppe 3:
11 1 0 1 1 1
Gruppe 1:
4 0 1 0 0 1
8 1 0 0 0 1
Gruppe 2:
3 0 0 1 1 1
9 1 0 0 1 1
10 1 0 1 0 1
Gruppe 3:
11 1 0 1 1 1
4 0 1 0 0
8:9 1 0 0 -
8:10 1 0 - 0
3:11 - 0 1 1
9:11 1 0 - 1
10:11 1 0 1 -
4 0 1 0 0
8:9 1 0 0 -
10:11 1 0 1 -
8:10 1 0 - 0
9:11 1 0 - 1
3:11 - 0 1 1
4 0 1 0 0
8:9 1 0 0 -
10:11 1 0 1 -
8:9:10:11 1 0 - -
8:10 1 0 - 0
9:11 1 0 - 1
8:10:9:11 1 0 - -
3:11 - 0 1 1
4 0 1 0 0
8:9:10:11 1 0 - -
8:10:9:11 1 0 - -
3:11 - 0 1 1
jetzt sehen wir, das ist das gleiche.
4 0 1 0 0
8:9:10:11 1 0 - -
3:11 - 0 1 1
primimplikantentafel, dies mal um zu
gucken, ob alles da ist
3 4 8 9 10 11
4
8:9:10:11
3:11
wir vergleichen:
3 0 0 1 1 1
4 0 1 0 0 1
8 1 0 0 0 1
9 1 0 0 1 1
10 1 0 1 0 1
11 1 0 1 1 1
3 4 8 9 10 11
ok, das passt zu oben, damit gut.
nun die gleichung:
4 0 1 0 0
8:9:10:11 1 0 - -
3:11 - 0 1 1
daraus machen wir nun eine tabelle:
| 0 | 0 | 0 | 0 | 0 | |
| 0 | 0 | 0 | 0 | ||
| 0 | 0 | 0 | |||
| 0 | 0 | 0 | |||
| 0 | 0 | 0 | |||
| 0 | 0 | 0 | |||
| 0 | 0 | 0 | |||
| 0 | |||||
| 0 | 0 | 0 | |||
| 0 | 0 | 0 | |||
| 0 | 0 | 0 | |||
| 0 | 0 | ||||
| 0 | 0 | ||||
| 0 | 0 | ||||
| 0 | |||||
| 0 |
| term | |||||
| 0 | 0 | 0 | |||
| 0 | |||||
| 0 |
so, nun die formel in LATEX
gal16v8
module gal16v8dnfquine10072026
clk x3 x2 x1 x0 nc nc nc nc gnd
/oe y nc nc nc nc nc nc nc vcc
y = /x3 * x2 * /x1 * x0 +
x3 * /x2 +
/x2 * x1 * x0
description
gal16v8 like always
ok, nun der schaltplan, zum glück ein paar weniger gatter wie sonst...oder so viele wie sonst, was heisst, das es nicht so viele wären...usw. ok, jetzt:
gut nächste aufgabe, wir zeichnen wieder gatter, als übung wie immer und ordnen sie möglichst gut symmetrisch an.
\begin{circuitikz}
\node [and port] (and01) at (8,2) {7408};
\node [and port] (and02) at (8,4) {7408};
\node [and port] (and03) at (8,6) {7408};
\node [and port] (and04) at (8,8) {7408};
\node [and port] (and05) at (8,10) {7408};
\node [not port, rotate=270] (not01) at (0,0) {7404};
\node [not port, rotate=270] (not02) at (2,0) {7404};
\node [not port, rotate=270] (not03) at (4,0) {7404};
\node [not port, rotate=270] (not04) at (6,0) {7404};
\draw (not01.out) -- (0,10);
\draw (not02.out) -- (2,10);
\draw (not03.out) -- (4,10);
\draw (not04.out) -- (6,10);
\end{circuitikz}
ok, so geht es nicht so gut, also umdrehen:
das sieht im quelltext so aus
\begin{circuitikz}
\node [and port] (and01) at (10,2) {7408};
\node [and port] (and02) at (10,4) {7408};
\node [and port] (and03) at (10,6) {7408};
\node [and port] (and04) at (10,8) {7408};
\node [and port] (and05) at (10,10) {7408};
\node [not port, rotate=270] (not01) at (0,12) {7404};
\node [not port, rotate=270] (not02) at (2,12) {7404};
\node [not port, rotate=270] (not03) at (4,12) {7404};
\node [not port, rotate=270] (not04) at (6,12) {7404};
\draw (not01.out) -- (0,0);
\draw (not02.out) -- (2,0);
\draw (not03.out) -- (4,0);
\draw (not04.out) -- (6,0);
\draw (1,14) -- (1,0);
\draw (3,14) -- (3,0);
\draw (5,14) -- (5,0);
\draw (7,14) -- (7,0);
\draw (and05.out) -- (11,10) -- (11,9) -- (8,9) -- (8,8.5) -- (and04.in 1);
\draw (and04.out) -- (11,8) -- (11,7) -- (8,7) -- (8,6.5) -- (and03.in 1);
\node [or port] (or01) at (10,0) {7432};
\node [or port] (or00) at (10,-2) {7432};
\draw (or01.out) -- (11,0) -- (11,-1) -- (8,-1) -- (8,-1.5) -- (or00.in 1);
\draw (and01.out) -- (11,2) -- (11,1) -- (8,1) -- (8,0.5) -- (or01.in 1);
\draw (and02.out) -- (11,4) -- (11,3) -- (7.5,3) -- (7.5,0) -- (or01.in 2);
\draw (and03.out) -- (12,6) -- (12,5) -- (12,-3) -- (7.5,-3) -- (or00.in 2);
\draw (and05.in 1) -- (0,10.25);
\draw (and05.in 2) -- (1,9.75);
\draw (and04.in 2) -- (2,7.75);
\draw (and03.in 2) -- (3,5.75);
\draw (and02.in 1) -- (4,4.25);
\draw (and02.in 2) -- (5,3.75);
\end{circuitikz}
und wegen der nächsten aufgabe