summaryrefslogtreecommitdiffstats
path: root/Bachelor/Digitaltechnik 2
diff options
context:
space:
mode:
authorSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
committerSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
commit33613a85afc4b1481367fbe92a17ee59c240250b (patch)
tree670b842326116b376b505ec2263878912fca97e2 /Bachelor/Digitaltechnik 2
downloadStudium-master.tar.gz
Studium-master.tar.bz2
add new repoHEADmaster
Diffstat (limited to 'Bachelor/Digitaltechnik 2')
-rw-r--r--Bachelor/Digitaltechnik 2/Auszug_Handbuch.pdfbin0 -> 73043 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/Board.pdfbin0 -> 683941 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/DTII_Wiedholung_100506.pdfbin0 -> 1593100 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/Digitaltechnik II_1.pdfbin0 -> 397257 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/Digitaltechnik II_2.pdfbin0 -> 152945 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/Digitaltechnik II_3.pdfbin0 -> 214064 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/Digitaltechnik II_4.pdfbin0 -> 537610 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/Digitaltechnik II_5.pdfbin0 -> 456062 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/Digitaltechnik II_6.pdfbin0 -> 241528 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/Digitaltechnik II_7.pdfbin0 -> 189963 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/Digitaltechnik II_8.pdfbin0 -> 341821 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/Praktikum1.pdfbin0 -> 12947 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/Praktikum2.pdfbin0 -> 13602 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/Praktikum3.pdfbin0 -> 14400 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/Praktikum4.pdfbin0 -> 15030 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/Praktikum5.pdfbin0 -> 22972 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/Praktikumsregeln.pdfbin0 -> 11723 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_1.pdfbin0 -> 360886 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_10.pdfbin0 -> 864867 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_11.pdfbin0 -> 303438 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_2.pdfbin0 -> 120599 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_3.pdfbin0 -> 154446 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_4.pdfbin0 -> 148683 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_5.pdfbin0 -> 481119 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_6.pdfbin0 -> 403552 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_7.pdfbin0 -> 407944 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_8.pdfbin0 -> 188306 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_9.pdfbin0 -> 465303 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/2032.pdfbin0 -> 301759 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/Hausarbeit_Minipraktikum-6.pdfbin0 -> 56081 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/Praktikum6.pdfbin0 -> 43001 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/abel.ex1-Dateien/abel.gifbin0 -> 35215 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/abel.ex1-Dateien/abel_002.gifbin0 -> 2373 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/abel.ex1-Dateien/abel_003.gifbin0 -> 33939 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/abel.ex1.html176
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/abel.ex2-Dateien/abel.gifbin0 -> 34067 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/abel.ex2-Dateien/abel_002.gifbin0 -> 2702 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/abel.ex2.html169
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/abel.ex3-Dateien/abel.gifbin0 -> 2373 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/abel.ex3-Dateien/abel_002.gifbin0 -> 28354 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/abel.ex3-Dateien/abel_003.gifbin0 -> 2896 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/abel.ex3.html158
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/abel.primer-Dateien/abel.gifbin0 -> 4011 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/abel.primer.html1613
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/abel_samples.zipbin0 -> 1537 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/abel_samples.zip_FILES/add1b.abl26
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/abel_samples.zip_FILES/count4b1.abl25
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/abel_samples.zip_FILES/count4b2.abl71
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/intro2k.pdfbin0 -> 44087 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/ispLever_Kurzanleitung.pdfbin0 -> 11658 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/p6.odtbin0 -> 43198 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/p6a1-state.diabin0 -> 1343 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/p6a1-state.pngbin0 -> 4748 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/p6a1-statetab.odsbin0 -> 10928 bytes
-rwxr-xr-xBachelor/Digitaltechnik 2/SS07/P6/p6a1.abl95
-rwxr-xr-xBachelor/Digitaltechnik 2/SS07/P6/p6a1b.abl41
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/p6a2-state.diabin0 -> 1821 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/p6a2-state.pngbin0 -> 8880 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/P6/p6a2-statetab.odsbin0 -> 11494 bytes
-rwxr-xr-xBachelor/Digitaltechnik 2/SS07/P6/p6a2.abl96
-rwxr-xr-xBachelor/Digitaltechnik 2/SS07/P6/p6a2.xcf53
-rwxr-xr-xBachelor/Digitaltechnik 2/SS07/P6/p6a2b.abl51
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/Praktikum1.pdfbin0 -> 13177 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/Praktikum2.pdfbin0 -> 14004 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/Praktikum3.pdfbin0 -> 40551 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/Praktikum4.pdfbin0 -> 40922 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/Praktikum5.pdfbin0 -> 48821 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/Schaltnetze und Minimierung.pdfbin0 -> 270028 bytes
-rwxr-xr-xBachelor/Digitaltechnik 2/SS07/dt2_mayer_praktikum_ss05.pdfbin0 -> 1008785 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p2a1-nor.sim343
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p2a1.odsbin0 -> 34563 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p2a2.odsbin0 -> 28894 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p2a3.pngbin0 -> 7506 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p2a4.pngbin0 -> 6878 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p3.odtbin0 -> 73431 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p3.pdfbin0 -> 571610 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p3a2.sim140
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p3a3.pngbin0 -> 8080 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p3a3.sim221
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p3a4.odsbin0 -> 24746 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p3a4.sim284
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p3a4b.sim341
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p4.odtbin0 -> 169607 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p4.pdfbin0 -> 382703 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p4a1.pngbin0 -> 4548 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p4a1.sim318
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p4a2.odsbin0 -> 14511 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p4a2.sim353
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p4a2a.pngbin0 -> 6376 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p4a2b.pngbin0 -> 6973 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p4a2b.sim382
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p4a3-statedia.pngbin0 -> 13749 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p4a3.diabin0 -> 3067 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p4a3.odsbin0 -> 37070 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p4a3.pngbin0 -> 13510 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p4a3.sim608
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p4a4-statedia.pngbin0 -> 13968 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p4a4.diabin0 -> 3129 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p4a4.odsbin0 -> 37950 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p4a4.pngbin0 -> 14316 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p4a4.sim690
-rw-r--r--Bachelor/Digitaltechnik 2/SS07/p5.odtbin0 -> 9240 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/Treiberbaustein.pdfbin0 -> 34103 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/Vorbemerkungen.pdfbin0 -> 38168 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/dt2-1.pdfbin0 -> 209801 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/dt2-2.pdfbin0 -> 141604 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/dt2-3.pdfbin0 -> 163666 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/dt2-4.pdfbin0 -> 204497 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/dt2-5.pdfbin0 -> 174265 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/dt2-6.pdfbin0 -> 212381 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/dt2.pdfbin0 -> 3380943 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/prk4a4.dsimbin0 -> 14540 bytes
-rw-r--r--Bachelor/Digitaltechnik 2/prk4a4.pngbin0 -> 17022 bytes
113 files changed, 6254 insertions, 0 deletions
diff --git a/Bachelor/Digitaltechnik 2/Auszug_Handbuch.pdf b/Bachelor/Digitaltechnik 2/Auszug_Handbuch.pdf
new file mode 100644
index 0000000..c7361fa
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/Auszug_Handbuch.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/Board.pdf b/Bachelor/Digitaltechnik 2/Board.pdf
new file mode 100644
index 0000000..ca43009
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/Board.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/DTII_Wiedholung_100506.pdf b/Bachelor/Digitaltechnik 2/DTII_Wiedholung_100506.pdf
new file mode 100644
index 0000000..5799a5a
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/DTII_Wiedholung_100506.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/Digitaltechnik II_1.pdf b/Bachelor/Digitaltechnik 2/Digitaltechnik II_1.pdf
new file mode 100644
index 0000000..228c7b3
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/Digitaltechnik II_1.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/Digitaltechnik II_2.pdf b/Bachelor/Digitaltechnik 2/Digitaltechnik II_2.pdf
new file mode 100644
index 0000000..4ba8c91
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/Digitaltechnik II_2.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/Digitaltechnik II_3.pdf b/Bachelor/Digitaltechnik 2/Digitaltechnik II_3.pdf
new file mode 100644
index 0000000..0e1c4fb
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/Digitaltechnik II_3.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/Digitaltechnik II_4.pdf b/Bachelor/Digitaltechnik 2/Digitaltechnik II_4.pdf
new file mode 100644
index 0000000..db935d5
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/Digitaltechnik II_4.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/Digitaltechnik II_5.pdf b/Bachelor/Digitaltechnik 2/Digitaltechnik II_5.pdf
new file mode 100644
index 0000000..57a3bea
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/Digitaltechnik II_5.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/Digitaltechnik II_6.pdf b/Bachelor/Digitaltechnik 2/Digitaltechnik II_6.pdf
new file mode 100644
index 0000000..dfd649a
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/Digitaltechnik II_6.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/Digitaltechnik II_7.pdf b/Bachelor/Digitaltechnik 2/Digitaltechnik II_7.pdf
new file mode 100644
index 0000000..60e66d8
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/Digitaltechnik II_7.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/Digitaltechnik II_8.pdf b/Bachelor/Digitaltechnik 2/Digitaltechnik II_8.pdf
new file mode 100644
index 0000000..47725b8
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/Digitaltechnik II_8.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/Praktikum1.pdf b/Bachelor/Digitaltechnik 2/Praktikum1.pdf
new file mode 100644
index 0000000..43ea2c9
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/Praktikum1.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/Praktikum2.pdf b/Bachelor/Digitaltechnik 2/Praktikum2.pdf
new file mode 100644
index 0000000..08ebd37
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/Praktikum2.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/Praktikum3.pdf b/Bachelor/Digitaltechnik 2/Praktikum3.pdf
new file mode 100644
index 0000000..4370ef4
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/Praktikum3.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/Praktikum4.pdf b/Bachelor/Digitaltechnik 2/Praktikum4.pdf
new file mode 100644
index 0000000..9030185
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/Praktikum4.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/Praktikum5.pdf b/Bachelor/Digitaltechnik 2/Praktikum5.pdf
new file mode 100644
index 0000000..7a61ebb
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/Praktikum5.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/Praktikumsregeln.pdf b/Bachelor/Digitaltechnik 2/Praktikumsregeln.pdf
new file mode 100644
index 0000000..aa02e2d
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/Praktikumsregeln.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_1.pdf b/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_1.pdf
new file mode 100644
index 0000000..5911fbb
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_1.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_10.pdf b/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_10.pdf
new file mode 100644
index 0000000..92029cc
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_10.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_11.pdf b/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_11.pdf
new file mode 100644
index 0000000..c9c2169
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_11.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_2.pdf b/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_2.pdf
new file mode 100644
index 0000000..cfaac93
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_2.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_3.pdf b/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_3.pdf
new file mode 100644
index 0000000..ecb3a16
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_3.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_4.pdf b/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_4.pdf
new file mode 100644
index 0000000..979e04e
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_4.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_5.pdf b/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_5.pdf
new file mode 100644
index 0000000..3f4b486
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_5.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_6.pdf b/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_6.pdf
new file mode 100644
index 0000000..ca4b222
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_6.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_7.pdf b/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_7.pdf
new file mode 100644
index 0000000..98732ed
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_7.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_8.pdf b/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_8.pdf
new file mode 100644
index 0000000..b04d16f
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_8.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_9.pdf b/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_9.pdf
new file mode 100644
index 0000000..0192fb6
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/Digitaltechnik _II_9.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/2032.pdf b/Bachelor/Digitaltechnik 2/SS07/P6/2032.pdf
new file mode 100644
index 0000000..7a5ea91
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/2032.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/Hausarbeit_Minipraktikum-6.pdf b/Bachelor/Digitaltechnik 2/SS07/P6/Hausarbeit_Minipraktikum-6.pdf
new file mode 100644
index 0000000..c0cfaa0
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/Hausarbeit_Minipraktikum-6.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/Praktikum6.pdf b/Bachelor/Digitaltechnik 2/SS07/P6/Praktikum6.pdf
new file mode 100644
index 0000000..44d8753
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/Praktikum6.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex1-Dateien/abel.gif b/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex1-Dateien/abel.gif
new file mode 100644
index 0000000..bf13ed1
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex1-Dateien/abel.gif
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex1-Dateien/abel_002.gif b/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex1-Dateien/abel_002.gif
new file mode 100644
index 0000000..172aa05
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex1-Dateien/abel_002.gif
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex1-Dateien/abel_003.gif b/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex1-Dateien/abel_003.gif
new file mode 100644
index 0000000..c23381c
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex1-Dateien/abel_003.gif
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex1.html b/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex1.html
new file mode 100644
index 0000000..ec42f09
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex1.html
@@ -0,0 +1,176 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<html><head><title>Example of a Mealy Machine: string recognizer</title>
+
+
+
+ <meta name="GENERATOR" content="User-Agent: Mozilla/3.0Gold (Macintosh; I; 68K)">
+ <meta name="Author" content="J. Van der Spiegel"></head><body>
+
+<h1 align="center"><i><font size="+1">University of Pennsylvania</font></i>
+</h1>
+
+<center><p><i><font size="+1">Department of Electrical Engineering </font></i><br>
+<br>
+</p></center>
+
+<center><p><b>Finite State Machine implemented as a Mealy Machine: </b></p></center>
+
+<center><p><b>a non-resetting sequence recognizer.</b><br>
+</p></center>
+
+<p>The following state diagram (Fig. 1) describes a finite state machine
+with one input X and one output Z. The FSM asserts its output Z when it
+recognizes the following input bit sequence: "1011". The machine
+will keep checking for the proper bit sequence and does not reset to the
+initial state after it has recognized the string. As an example the input
+string X= "..1011011..." will cause the output to go high twice:
+Z = "..0001001.." . When the machine is in the state S3 the output
+will go high after the arrival of a "1" at the input. Thus the
+output is associated with the <i>transitions</i> as indicated on the state
+diagram.</p>
+
+<center><p><br>
+<img src="abel.ex1-Dateien/abel_002.gif" height="101" width="262"><br>
+<br>
+</p></center>
+
+<p>Figure 1: State diagram, describing the sequence detector implemented
+as a Mealy machine. The number in italics underneath the states indicate
+which part of the sequence the state remembers.<br>
+</p>
+
+<p>This state diagram can be described in ABEL code given in Listing 1.
+The output is described with the "<font face="Courier">With</font>"
+keyword to indicate that the output will change when the input goes to
+one. <br>
+</p>
+
+<p><font color="#000000">Listing 1: ABEL source code for the Mealy Machine
+implementation of the sequence detector described in Fig. 1</font><br>
+</p>
+
+<ul>
+<p><font size="-1"><font face="Courier"><font color="#000000">module Seqdet1</font></font>
+</font></p>
+</ul>
+
+<ul>
+<p><font face="Courier"><font color="#000000"><font size="-1">Title 'Sequence
+Detector 1011 with Mealy Machine'</font></font></font><br>
+</p>
+
+<p><font face="Courier"><font color="#000000"><font size="-1">Declarations<br>
+"Input and output signals</font></font></font></p>
+
+<p><font size="-1"><font face="Courier"><font color="#000000">X, CLOCK, RST
+PIN;</font></font> <br>
+<font face="Courier"><font color="#000000">Z PIN istype 'com';</font></font>
+&nbsp;<br>
+<font face="Courier"><font color="#000000">Q1, Q0 PIN istype 'reg';</font></font>
+</font></p>
+
+<p><font size="-1"><font face="Courier"><font color="#000000">"State
+register definitions</font></font> <br>
+<font face="Courier"><font color="#000000">" and assignments of state
+values</font></font> </font></p>
+
+<p><font size="-1"><font face="Courier"><font color="#000000">SREG = [Q1,Q0];</font></font>
+<br>
+<font face="Courier"><font color="#000000">S0 = [0,0];</font></font> <br clear="right">
+<font face="Courier"><font color="#000000">S1 = [0,1];</font></font> <br>
+<font face="Courier"><font color="#000000">S2 = [1,0];</font></font> <br>
+<font face="Courier"><font color="#000000">S3 = [1,1];</font></font></font><br>
+</p>
+
+<p><font face="Courier"><font color="#000000"><font size="-1">Equations<br>
+"Define the clock signal for the state machine</font></font></font></p>
+
+<p><font size="-1"><font face="Courier"><font color="#000000">[Q1,Q0].AR
+= RST;</font></font> <br>
+<font face="Courier"><font color="#000000">[Q1,Q0].CLK =CLOCK;</font></font></font><br>
+</p>
+
+<p><font size="-1"><font face="Courier"><font color="#000000">"Define
+state diagram</font></font> </font></p>
+
+<p><font size="-1"><font face="Courier"><font color="#000000">STATE_DIAGRAM
+SREG</font></font> </font></p>
+
+<p><font size="-1"><font face="Courier"><font color="#000000">STATE S0: IF
+X THEN S1 ELSE S0;</font></font> <br>
+<font face="Courier"><font color="#000000">STATE S1: IF X THEN S1 ELSE
+S2;</font></font> <br>
+<font face="Courier"><font color="#000000">STATE S2: IF X THEN S3 ELSE
+S0;</font></font> <br>
+<font face="Courier"><font color="#000000">STATE S3: IF X THEN S1 WITH
+Z=1; ELSE S2;</font></font></font><br>
+</p>
+
+<p><font face="Courier"><font color="#000000"><font size="-1">end Seqdet1</font></font></font><br>
+</p>
+</ul>
+
+<p>The ouput is specified with the "With" keyword. The corresponding
+simulation is shown in Figure 2. </p>
+
+<center><p><br>
+<br>
+<img src="abel.ex1-Dateien/abel_003.gif" height="333" width="548"><br>
+</p></center>
+
+<center><p>Figure 2: Simulation of the sequence detector for "1011"
+described with the state diagram of Fig. 1. (Screen clip from Xilinx XACTstep(TM)
+Foundation software)<br>
+</p></center>
+
+<p>Notice that the output Z asserts as soon as the input is "1"
+when in state S3. Comparing this output with the one obtained for a <a href="http://www.ese.upenn.edu/rca/software/abel/abel.ex2.html">Moore
+machine</a> of the same sequence detector may let a casual observer think
+that there is a timing problem as the output seems to asserts already after
+the "101" input sequence. However, when one looks at the output
+carefully one concludes that the waveform is correct. One has to realize
+that the outputs are valid at the end of the state time (just before the
+positive clock-edge) while the valid inputs are sampled just before the
+positive clock edge as indicated in Figure 3 below. The input sequence
+"1011" gives indeed an output sequence of "0001". </p>
+
+<center><p><img src="abel.ex1-Dateien/abel.gif" height="332" width="547"></p></center>
+
+<center><p>Figure 3: Output waveform of the Mealy machine (sequence detector
+for "1011") with valid inputs and outputs indicated. (Screen
+clip from Xilinx XACTstep(TM) Foundation software)</p></center>
+
+<p>One notices that there is a glitch in the output after the input sequence
+10111010. However this occurs at a moment that the output is not valid
+(the output is valid just before the positive clock edge). The valid output
+sequence is than 000100000 as expected. </p>
+
+<p>This example indicates that one has to be very careful with the timing
+when using a Mealy machine. Outputs can show glitches and are only valid
+at the end of a state time (i.e. just before the the positive clock edge
+for a positive edge triggered flip-flop or just before the negative clock
+transition for a negative egde triggered flip-flop). On the other hand
+a Mealy machine can often be implemented with fewer states that a Moore
+machine as can be seen from the <a href="http://www.ese.upenn.edu/rca/software/abel/abel.ex2.html">Moore example</a>.
+An alternative way to prevent glitches and to make the ouput of a Mealy
+machine synchronous with the clock, it to use a synchronous Mealy machine.
+The implementation of the sequence detector as a synchronous Mealy machine
+is given in the <a href="http://www.ese.upenn.edu/rca/software/abel/abel.ex3.html">next example</a>.<br>
+</p>
+
+<p>
+</p><hr width="100%"><font size="-1">Back to ABEL Primer <a href="http://www.ee.upenn.edu/rca/software/abel/abel.primer.html#Contents">Contents</a>
+| To to <a href="http://www.ee.upenn.edu/rca/software/xilinx/foundation/commistakes.html">Common
+Mistakes</a> list | Go to the <a href="http://www.ee.upenn.edu/rca">EE
+Undergraduate Lab</a> Homepage | Go to <a href="http://www.ee.upenn.edu/rca/software/xilinx.html">Xilinx
+Lab Tutorial</a> Homepage | Go to the <a href="http://www.ee.upenn.edu/rca/software/xilinx/foundation/foundation.sch1.html">Foundation
+Tutorial</a> page | Go to <a href="http://www.seas.upenn.edu/%7Eee200/">EE200
+</a>or <a href="http://www.seas.upenn.edu/%7Eee200/lab/lab.html">EE200 Lab</a>
+Homepage |</font><p></p>
+
+<p>
+</p><hr width="100%">Created by J. Van der Spiegel: November 16, 1997; Updated
+by J. Van der Spiegel: Dec. 30, 1997.<p></p>
+
+
+</body></html> \ No newline at end of file
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex2-Dateien/abel.gif b/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex2-Dateien/abel.gif
new file mode 100644
index 0000000..136bbc7
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex2-Dateien/abel.gif
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex2-Dateien/abel_002.gif b/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex2-Dateien/abel_002.gif
new file mode 100644
index 0000000..9d3ea2c
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex2-Dateien/abel_002.gif
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex2.html b/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex2.html
new file mode 100644
index 0000000..006cd54
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex2.html
@@ -0,0 +1,169 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<html><head><title>Finite State Machine (Moore) example: string detector</title>
+
+
+
+ <meta name="GENERATOR" content="User-Agent: Mozilla/3.0Gold (Macintosh; I; PPC)">
+ <meta name="Author" content="J. Van der Spiegel"></head><body>
+
+<h1 align="center"><i><font size="+1">University of Pennsylvania</font></i>
+</h1>
+
+<center><p><i><font size="+1">Department of Electrical Engineering </font></i><br>
+<br>
+</p></center>
+
+<center><p><b>Finite State Machine implemented as a Moore Machine: </b></p></center>
+
+<center><p><b>a non-resetting sequence recognizer.</b><br>
+</p></center>
+
+<p>The following state diagram (Fig. 1) describes a finite state machine
+with one input X and one output Z. The FSM asserts its output Z when it
+recognizes the following input bit sequence: "1011". The machine
+will keep checking for the proper bit sequence and does not reset to the
+initial state after it has recognized the string. As an example the input
+string X= "..1011011..." will cause the output to go high twice:
+Z = "..0001001.." . The output will asserts only when it is in
+state S4 (after having seen the sequence 1011). The FSM is thus a Moore
+machine.<br>
+<br>
+</p>
+
+<center><p><img src="abel.ex2-Dateien/abel_002.gif" height="94" width="336"></p></center>
+
+<p>Figure 1: State diagram, describing the sequence detector implemented
+as a Moore machine. The number in italics underneath the states indicate
+which part of the sequence the state remembers.<br>
+</p>
+
+<p>This state diagram can be described in ABEL code given in Listing 1.
+The output is described after the STATE Si: statement. <br>
+</p>
+
+<p><font color="#000000">Listing 1: ABEL source code for the Moore machine
+implementation of the sequence detector described in Fig. 1</font><br>
+</p>
+
+<ul>
+<p><font size="-1"><font face="Courier"><font color="#000000">module Seqdet2</font></font>
+<br>
+<font face="Courier"><font color="#000000">Title 'Sequence detector implemented
+as Moore machine'<br>
+Declarations<br>
+"input and output signals</font></font></font></p>
+
+<p><font size="-1"><font face="Courier"><font color="#000000">X, CLOCK, RST
+PIN;</font></font> <br>
+<font face="Courier"><font color="#000000">Z PIN istype 'com';</font></font>
+<br>
+<font face="Courier"><font color="#000000">Q2, Q1, Q0 PIN istype 'reg';</font></font>
+</font></p>
+
+<p><font size="-1"><font face="Courier"><font color="#000000">"State
+register declarations</font></font> </font></p>
+
+<p><font size="-1"><font face="Courier"><font color="#000000">SREG = [Q2,Q1,Q0];</font></font>
+<br>
+<font face="Courier"><font color="#000000">S0 = [0,0,0];</font></font>
+<br>
+<font face="Courier"><font color="#000000">S1 = [0,0,1];</font></font>
+<br>
+<font face="Courier"><font color="#000000">S2 = [0,1,0];</font></font>
+<br>
+<font face="Courier"><font color="#000000">S3 = [0,1,1];</font></font>
+<br>
+<font face="Courier"><font color="#000000">S4 = [1,0,0];</font></font></font><br>
+</p>
+
+<p><font face="Courier"><font color="#000000"><font size="-1">Equations<br>
+"Definition of the state machine clock signal</font></font></font></p>
+
+<p><font size="-1"><font face="Courier"><font color="#000000">[Q2,Q1,Q0].AR
+= RST;</font></font> <br>
+<font face="Courier"><font color="#000000">[Q2,Q1,Q0].CLK = CLOCK;</font></font></font><br>
+</p>
+
+<p><font size="-1"><font face="Courier"><font color="#000000">"Define
+state diagram</font></font> <br>
+<font face="Courier"><font color="#000000">STATE_DIAGRAM SREG</font></font>
+</font></p>
+
+<p><font size="-1"><font face="Courier"><font color="#000000">STATE S0: Z=0;</font></font>
+</font></p>
+
+<ul>
+<p><br>
+<font size="-1"><font face="Courier"><font color="#000000">IF X THEN S1 ELSE
+S0;</font></font> </font></p>
+</ul>
+
+<p><font size="-1"><font face="Courier"><font color="#000000">STATE S1: Z=0;</font></font>
+</font></p>
+
+<ul>
+<p><font size="-1"><font face="Courier"><font color="#000000">IF X THEN S1
+ELSE S2;</font></font> </font></p>
+</ul>
+
+<p><font face="Courier"><font color="#000000"><font size="-1">STATE S2: Z=0;
+</font></font></font></p>
+
+<ul>
+<p><font size="-1"><font face="Courier"><font color="#000000">IF X THEN S3
+ELSE S0;</font></font> </font></p>
+</ul>
+
+<p><font size="-1"><font face="Courier"><font color="#000000">STATE S3: Z=0;</font></font>
+</font></p>
+
+<ul>
+<p><font size="-1"><font face="Courier"><font color="#000000">IF X THEN S4
+ELSE S2;</font></font> </font></p>
+</ul>
+
+<p><font size="-1"><font face="Courier"><font color="#000000">STATE S4: Z=1;</font></font>
+</font></p>
+
+<ul>
+<p><font size="-1"><font face="Courier"><font color="#000000">IF X THEN S1
+ELSE S2;</font></font> </font></p>
+</ul>
+
+<p><font face="Courier"><font color="#000000"><font size="-1">end Seqdet2</font></font></font><br>
+</p>
+</ul>
+
+<p>The corresponding simulation is shown in Figure 2. </p>
+
+<center><p><br>
+<img src="abel.ex2-Dateien/abel.gif" height="334" width="537"><br>
+<br>
+</p></center>
+
+<center><p>Figure 2: Simulation of the sequence detector (for "1011")
+described with the state diagram of Fig. 1. (Screen clip from Xilinx XACTstep(TM)
+Foundation software)<br>
+</p></center>
+
+<p>One notices that the output asserts after the input sequence 1011 as
+specified.<br>
+</p>
+
+<p>
+</p><hr width="100%"><font size="-1">Back to ABEL Primer <a href="http://www.ee.upenn.edu/rca/software/abel/abel.primer.html#Contents">Contents</a>
+| To to <a href="http://www.ee.upenn.edu/rca/software/xilinx/foundation/commistakes.html">Common
+Mistakes</a> list | Go to the <a href="http://www.ee.upenn.edu/rca">EE
+Undergraduate Lab</a> Homepage | Go to <a href="http://www.ee.upenn.edu/rca/software/xilinx.html">Xilinx
+Lab Tutorial</a> Homepage | Go to the <a href="http://www.ee.upenn.edu/rca/software/xilinx/foundation/foundation.sch1.html">Foundation
+Tutorial</a> page | Go to <a href="http://www.seas.upenn.edu/%7Eee200/">EE200
+</a>or <a href="http://www.seas.upenn.edu/%7Eee200/lab/lab.html">EE200 Lab</a>
+Homepage |</font><p></p>
+
+<p>
+</p><hr width="100%">Created by J. Van der Spiegel: November 16, 1997. Updated
+by J. Van der Spiegel, Nov. 19, 1997.<br>
+<p></p>
+
+
+</body></html> \ No newline at end of file
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex3-Dateien/abel.gif b/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex3-Dateien/abel.gif
new file mode 100644
index 0000000..172aa05
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex3-Dateien/abel.gif
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex3-Dateien/abel_002.gif b/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex3-Dateien/abel_002.gif
new file mode 100644
index 0000000..8e1a5c4
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex3-Dateien/abel_002.gif
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex3-Dateien/abel_003.gif b/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex3-Dateien/abel_003.gif
new file mode 100644
index 0000000..c0baf6b
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex3-Dateien/abel_003.gif
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex3.html b/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex3.html
new file mode 100644
index 0000000..75bb32e
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/abel.ex3.html
@@ -0,0 +1,158 @@
+<html><head>
+
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <meta name="GENERATOR" content="Mozilla/4.04 (Macintosh; I; PPC) [Netscape]">
+ <meta name="Author" content="J. Van der Spiegel"><title>Example of a Mealy Machine: string recognizer</title></head><body>
+
+<center>
+<h1>
+<i><font size="+1">University of Pennsylvania</font></i></h1></center>
+
+<center><i><font size="+1">Department of Electrical Engineering</font></i></center>
+
+<center></center>
+
+<center><b>Finite State Machine implemented as a <font color="#0500e8">Synchronous</font>
+Mealy Machine:</b></center>
+
+<center></center>
+
+<center><b>a non-resetting sequence recognizer.</b></center>
+
+
+<p>The following state diagram (Fig. 1) describes the same finite state
+machine as in the <a href="http://www.ese.upenn.edu/rca/software/abel/abel.ex1.html">previous example:</a> a sequence
+detector with one input X and one output Z. The FSM asserts its output
+Z when it recognizes the following input bit sequence: "1011". The machine
+will keep checking for the proper bit sequence and does not reset to the
+initial state after it has recognized the string. In contrast to the previous
+example, the machine will be implemented as a synchronous Mealy Machine.
+This will ensure that the output changes at the clock transition and will
+prevent glitches which were possible with the Mealy Machine implementation
+(see previous example).
+</p><center>&nbsp;</center>
+
+<center></center>
+
+<center><img src="abel.ex3-Dateien/abel.gif" height="101" width="262"></center>
+
+
+<p>Figure 1: State diagram, describing the sequence detector ("1011") implemented
+as a Mealy machine. The number in italics underneath the states indicate
+which part of the sequence the state remembers.
+
+</p><p>This state diagram can be defined in ABEL code given in Listing 1. The
+output is described with the "<font face="Courier">With</font>" keyword
+to indicate that the output will change when the input goes to one. The
+difference with the regular Mealy machine, is that the output Z is now
+also clocked (see e.g. the statement, <font color="#000000"><font face="Courier"><font size="-1">[Q1,Q0,Z].CLK
+=CLOCK). </font></font>Also, in the State Diagram section, the "WITH Z:=0"
+makes use of the registered assignment ":=" operator.</font>
+
+</p><p><font color="#000000">Listing 1: ABEL source code for the Mealy Machine
+implementation of the sequence detector described in Fig. 1</font>
+</p><ul><font size="-1"><font face="Courier"><font color="#000000">module Syncdet1</font></font></font></ul>
+
+<ul><font face="Courier"><font color="#000000"><font size="-1">Title 'Sequence
+Detector 1011 with a Synchronous Mealy Machine'</font></font></font>
+
+<p><font face="Courier"><font color="#000000"><font size="-1">Declarations</font></font></font>
+<br><font face="Courier"><font color="#000000"><font size="-1">"Input and
+output signals</font></font></font>
+
+</p><p><font size="-1"><font face="Courier"><font color="#000000">X, CLOCK, RST
+PIN;</font></font></font>
+<br><font size="-1"><font face="Courier"><font color="#000000">Z PIN istype
+'reg';</font></font></font>
+<br><font size="-1"><font face="Courier"><font color="#000000">Q1, Q0 PIN
+istype 'reg';</font></font></font>
+
+</p><p><font size="-1"><font face="Courier"><font color="#000000">"State register
+definitions</font></font></font>
+<br><font size="-1"><font face="Courier"><font color="#000000">" and assignments
+of state values</font></font></font>
+
+</p><p><font size="-1"><font face="Courier"><font color="#000000">SREG = [Q1,Q0];</font></font></font>
+<br><font size="-1"><font face="Courier"><font color="#000000">S0 = [0,0];</font></font></font>
+<br><font size="-1"><font face="Courier"><font color="#000000">S1 = [0,1];</font></font></font>
+<br><font size="-1"><font face="Courier"><font color="#000000">S2 = [1,0];</font></font></font>
+<br><font face="Courier"><font color="#000000"><font size="-1">S3 = [1,1];</font></font></font>
+
+</p><p><font face="Courier"><font color="#000000"><font size="-1">Equations</font></font></font>
+<br><font face="Courier"><font color="#000000"><font size="-1">"Define the
+clock signal for the state machine</font></font></font>
+
+</p><p><font size="-1"><font face="Courier"><font color="#000000">[Q1,Q0,Z].AR
+= RST;</font></font></font>
+<br><font face="Courier"><font color="#000000"><font size="-1">[Q1,Q0,Z].CLK
+=CLOCK;</font></font></font>
+
+</p><p><font size="-1"><font face="Courier"><font color="#000000">"Define state
+diagram</font></font></font>
+
+</p><p><font size="-1"><font face="Courier"><font color="#000000">STATE_DIAGRAM
+SREG</font></font></font>
+
+</p><p><font size="-1"><font face="Courier"><font color="#000000">STATE S0: IF
+X THEN S1 ELSE S0;</font></font></font>
+<br><font size="-1"><font face="Courier"><font color="#000000">STATE S1:
+IF X THEN S1 ELSE S2;</font></font></font>
+<br><font size="-1"><font face="Courier"><font color="#000000">STATE S2:
+IF X THEN S3 ELSE S0;</font></font></font>
+<br><font face="Courier"><font color="#000000"><font size="-1">STATE S3:
+IF X THEN S1 WITH Z:=1; ELSE S2;</font></font></font>
+
+</p><p><font face="Courier"><font color="#000000"><font size="-1">end Syncdet1</font></font></font></p></ul>
+The ouput is specified with the "With" keyword. The corresponding simulation
+is shown in Figure 2.
+<center>&nbsp;</center>
+
+<center>&nbsp;</center>
+
+<center></center>
+
+<center><img src="abel.ex3-Dateien/abel_002.gif" height="253" width="535"></center>
+
+<center></center>
+
+<center>Figure 2: Simulation of the sequence detector for "1011" described
+with the state diagram of Fig. 1, implemented as a synchronous Mealy machine.
+(Screen clip from Xilinx XACTstep(TM) Foundation software)</center>
+
+
+<p>Notice that the output Z is valid after the positive clock edge (in
+response to the input value just before the positive clock edge). The output
+asserts at the positive clock edge when the input has gone through the
+sequence "1011". Notice also that the glitch which was present in the non-synchronous
+Mealy machine is gone.
+
+</p><p>This timing in a synchronous Mealy machine is thus less critical than
+in a non-synchronous machine. The price one pays for this, is additional
+hardware. Making the output synchronous requires additional flip-flops
+as is illustrated by the blue box (Output Registers) in the generic block
+diagram of a synchronous Mealy machine in Figure 3.
+</p><center></center>
+
+<center><img src="abel.ex3-Dateien/abel_003.gif" height="121" width="333"></center>
+
+<center></center>
+
+<center>Figure 3: Synchronous Mealy Machine.</center>
+
+
+<p>
+</p><hr width="100%"><font size="-1">Back to ABEL Primer <a href="http://www.ee.upenn.edu/rca/software/abel/abel.primer.html#Contents">Contents</a>
+| To to <a href="http://www.ee.upenn.edu/rca/software/xilinx/foundation/commistakes.html">Common
+Mistakes</a> list | Go to the <a href="http://www.ee.upenn.edu/rca">EE
+Undergraduate Lab</a> Homepage | Go to <a href="http://www.ee.upenn.edu/rca/software/xilinx.html">Xilinx
+Lab Tutorial</a> Homepage | Go to the <a href="http://www.ee.upenn.edu/rca/software/xilinx/foundation/foundation.sch1.html">Foundation
+Tutorial</a> page | Go to <a href="http://www.seas.upenn.edu/%7Eee200/">EE200
+</a>or <a href="http://www.seas.upenn.edu/%7Eee200/lab/lab.html">EE200 Lab</a>
+Homepage |</font>
+
+<p>
+</p><hr width="100%">Created by <a href="mailto:%20jan@ee.upenn.edu">J. Van der
+Spiegel</a>: December 30, 1997; Updated by J. Van der Spiegel: December
+30, 1997.
+
+</body></html> \ No newline at end of file
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/abel.primer-Dateien/abel.gif b/Bachelor/Digitaltechnik 2/SS07/P6/abel.primer-Dateien/abel.gif
new file mode 100644
index 0000000..1a3f10d
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/abel.primer-Dateien/abel.gif
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/abel.primer.html b/Bachelor/Digitaltechnik 2/SS07/P6/abel.primer.html
new file mode 100644
index 0000000..14667a2
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/abel.primer.html
@@ -0,0 +1,1613 @@
+<!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en">
+<html><head>
+
+
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <meta name="GENERATOR" content="Mozilla/4.5 [en]C-NECCK (Win98; U) [Netscape]">
+ <meta name="Author" content="J. Van der Spiegel">
+ <meta name="Description" content="Overview of ABEL Hardware Description Language">
+ <meta name="KeyWords" content="ABEL, HDL, Digial Design"><title>HDL-ABEL Primer</title></head><body>
+
+<center>
+<h1>
+<i>University of Pennsylvania<br>
+</i><b><font size="+1"><a href="http://www.ee.upenn.edu/">Department of Electrical
+Engineering</a></font></b></h1></center>
+
+<center>
+<h1>
+ABEL-HDL Primer</h1></center>
+
+<h2>
+<font size="+1">ABEL Primer</font>&nbsp;<a name="Contents"></a><font size="+1">Contents</font></h2>
+
+<ul>
+<li>
+1. <a href="#Introduction">Introduction</a></li>
+
+<li>
+2. <a href="#structure">Basic structure of an ABEL source file</a></li>
+
+<li>
+3. <a href="#Declarations">Declarations</a> (module, pin, node, constants)</li>
+
+<li>
+4. <a href="#Numbers">Numbers</a></li>
+
+<li>
+5. <a href="#Directives">Directives</a></li>
+
+<li>
+6. <a href="#Sets">Sets</a></li>
+
+<ul>
+<li>
+a. <a href="#Indexing">Indexing or accessing a set</a></li>
+
+<li>
+b. <a href="#Set%20Operations">Set operations</a></li>
+</ul>
+
+<li>
+6. <a href="#Operators">Operators</a></li>
+
+<ul>
+<li>
+a. <a href="#Logical">Logical Operators</a></li>
+
+<li>
+b. <a href="#Arithmetic">Arithmetic operators</a></li>
+
+<li>
+c. <a href="#Relational">Relational operators</a></li>
+
+<li>
+d. <a href="#Assignment">Assignment operators</a></li>
+
+<li>
+e. <a href="#priority">Operator priority</a></li>
+</ul>
+
+<li>
+8. <a href="#Logic">Logic description</a></li>
+
+<ul>
+<li>
+a. <a href="#Equations">Equations</a></li>
+
+<ul>
+<li>
+<a href="#%22When-Then-Else%22">When-Then-Else statement</a></li>
+</ul>
+
+<li>
+b. <a href="#Truth">Truth Table</a></li>
+
+<li>
+c. <a href="#State">State Description</a></li>
+
+<ul>
+<li>
+<a href="#State">State_diagram</a></li>
+
+<li>
+<a href="#If-Else-Then">If-Then-Else statement</a></li>
+
+<li>
+<a href="#with">With statement</a></li>
+
+<li>
+<a href="#Case">Case statement</a></li>
+</ul>
+
+<li>
+d. <a href="#extensions">Dot extensions</a></li>
+</ul>
+
+<li>
+9. <a href="#vectors">Test vectors</a></li>
+
+<li>
+10. <a href="#Property">Device Specific (Property) Statements</a></li>
+
+<li>
+11. <a href="#Miscellaneous">Miscellaneous</a></li>
+
+<ul>
+<li>
+a. <a href="#Active-low">Active-low declarations</a></li>
+</ul>
+
+<li>
+12. Examples</li>
+
+<ul>
+<li>
+<a href="http://www.ese.upenn.edu/rca/software/abel/abel.ex2.html">Moore Finite State Machine</a></li>
+
+<li>
+<a href="http://www.ese.upenn.edu/rca/software/abel/abel.ex1.html">Mealy Finite State Machine</a></li>
+
+<li>
+<a href="http://www.ese.upenn.edu/rca/software/abel/abel.ex3.html">Synchronous Mealy Finite State Machine</a></li>
+</ul>
+
+<li>
+<a href="http://www.ee.upenn.edu/rca/software/xilinx/foundation/commistakes.html">Common
+Mistakes</a></li>
+
+<li>
+<a href="#References">References</a></li>
+
+<li>
+<a href="#Acknowledgement">Acknowledgement</a></li>
+</ul>
+
+<h2>
+1&nbsp;<a name="Introduction"></a>Introduction</h2>
+ABEL (Advanced Boolean Equation Language) allows you to enter behavior-like
+descriptions of a logic circuit. ABEL is an industry-standard hardware
+description language (HDL) that was developed by Data I/O Corporation for
+programmable logic devices (PLD). There are other hardware description
+languages such as VHDL and Verilog. ABEL is a simpler language than VHDL
+which is capable of describing systems of larger complexity.
+<p>ABEL can be used to describe the behavior of a system in a variety of
+forms, including logic equations, truth tables, and state diagrams using
+C-like statements. The ABEL compiler allows designs to be simulated and
+implemented into PLDs such as PALs, CPLDs and FPGAs.
+</p><p>Following is a brief overview of some of the features and syntax of
+ABEL. It is not intended to be a complete discussion of all its features.
+This ABEL primer will get you started with writing ABEL code. In case you
+are familiar with ABEL, this write-up can serve as a quick reference of
+the most often used commands. For more advanced features, please consult
+an ABEL manual or the Xilinx on-line documentation.
+</p><h2>
+2. Basic&nbsp;<a name="structure"></a>structure of an ABEL source file</h2>
+An ABEL source file consists of the following elements.
+<ul>
+<li>
+Header:<b> </b>including Module, Options and Title</li>
+
+<li>
+Declarations: Pin, Constant, Node, Sets, States. Library.</li>
+
+<li>
+Logic Descriptions: Equations, Truth-table, State_diagram</li>
+
+<li>
+Test Vectors: Test_vectors</li>
+
+<li>
+End</li>
+</ul>
+Keywords (words recognized by ABEL such as commands, e.g. goto, if, then,
+module, etc.) are not case sensitive. User-supplied names and labels (identifier)
+can be uppercase, lowercase or mixed-case, but <u>are case-sensitive</u>
+(input1 is different from Input1).
+<p>A typical&nbsp;<a name="template"></a>template is given below.
+</p><ul><b><font face="Courier">module</font></b> <i>module name</i>
+<p>[<b><font face="Courier">title</font></b> <i>string</i>]
+</p><p>[deviceID <b><font face="Courier">device</font></b> deviceType;]
+</p><p><i>pin declarations</i>
+</p><p><i>other declarations</i>
+</p><p><b><font face="Courier">equations</font></b>
+</p><p><i>equations</i>
+</p><p>[<b><font face="Courier">Test_Vectors</font></b>]
+</p><p><i>test vectors</i>
+</p><p><b><font face="Courier">end</font></b> <i>module name</i></p></ul>
+The following source file is an&nbsp;<a name="example"></a>example of a
+half adder:
+<ul><font face="Courier"><b>module</b> <i>my_first_circuit;</i></font>
+<br><font face="Courier"><b>title</b> <i>'ee200 assignment 1'</i></font>
+<br><font face="Courier">EE200XY <b>device</b> 'XC4003E';</font>
+<br>&nbsp;
+<br>&nbsp;
+<p><font face="Courier">" input pins</font>
+<br><font face="Courier">A, B pin 3, 5;</font>
+</p><p><font face="Courier">" output pins</font>
+<br><font face="Courier">SUM, Carry_out pin 15, 18 istype 'com';</font>
+</p><p><b><font face="Courier">equations</font></b>
+</p><p><font face="Courier">SUM = (A &amp; !B) # (!A &amp; B) ;</font>
+<br><font face="Courier">Carry_out = A &amp; B;</font>
+</p><p><font face="Courier"><b>end</b> <i>my_first_circuit;</i></font>
+<br>&nbsp;
+<br>&nbsp;</p></ul>
+A brief explanation of the statements follow. For a more detailed discussion
+see the following sections or consult an ABEL-HDL manual. When using ABEL
+with the Xilinx CAD software, you can use the ABEL wizard which will give
+a template of the basic structure and insert some of the keywords. Also
+the Language Assistant in the ABEL editor provides on-line help. Go to
+the TOOLS -&gt;LANGUAGE ASSISTANT menu. The Language templates give a description
+of most ABEL commands, syntax, hierarchy, etc, while the Synthesis template
+gives examples of typical circuits.
+<h2>
+3.&nbsp;<a name="Declarations"></a>Declarations</h2>
+<b><font face="Courier">Module</font></b>: each source files starts with
+a module statement followed by a module name (identifier). Large source
+files often consist of multiple modules with their own title, equations,
+end statement, etc.
+<p><b><font face="Courier">Title</font></b>: is <u>optional</u> and can
+be used to identify the project. The title name must be between single
+quotes. The title line is ignored by the compiler but is handy for documentation.
+</p><p><b><i>String</i></b>: is a series of ASCII characters enclosed by single
+quotes. Strings are used for TITLE, OPTIONS statements, and in pin, node
+and attribute declarations.
+</p><p><b><font face="Courier">device</font></b>: this declaration is <u>optional</u>
+and associates a device identifier with a specific programmable logic device.
+The device statement must end with a semicolon. When you are using the
+Xilinx CAD system to compile the design, it is better not to put the device
+statement in the source file to keep your design independent of the device.
+When you create a new project in Xilinx you will specify the device type
+(can also be changed in the Project Manager window using the Project Information
+button). The format is as follows:
+</p><ul>device_id <font face="Courier">device</font> 'real_device';
+<p>Example: MY_DECODER <font face="Courier">device </font>'XC4003E';
+<br>&nbsp;
+<br>&nbsp;</p></ul>
+<b><i>comments</i></b>: comments can be inserted anywhere in the file and
+begin with a double quote and end with another double quote or the end
+of the line, whatever comes first.
+<p><b><font face="Courier">pin</font></b>: pin declarations tell the compiler
+which symbolic names are associated with the devices external pins. Format:
+</p><ul><font face="Courier">[!]pin_id pin [pin#] [istype 'attributes'] ;</font></ul>
+One can specify more than one pin per line:
+<ul>[!]pin_id , pin_id, pin_id <font face="Courier">pin [</font>pin#, [pin#,
+[pin#]]] [<font face="Courier">istype</font> 'attributes'];
+<p>Example:
+</p><p><font face="Courier">IN1, IN2, A1 pin 2, 3, 4;</font>
+</p><p><font face="Courier">OUT1 pin 9 istype 'reg';</font>
+</p><p><font face="Courier">ENABLE pin;</font>
+</p><p><font face="Courier">!Chip_select pin 12 istype 'com';</font>
+</p><p><font face="Courier">!S0..!S6 pin istype 'com';</font>
+<br>&nbsp;
+<br>&nbsp;</p></ul>
+You do not need to specify the pin. Pin numbers can be specified later
+by using a "user constraint file " when doing the compilation using Xilinx
+CAD. This has the advantage that our design is more general and flexible.
+The ! indicates an active low (the signal will be inverted). The <font face="Courier">istype
+</font>is an optional attribute assignment for a pin such as 'com' to indicate
+that the output is a combinational signal or 'reg' for a clocked signal
+(registered with a flip flop). This attribute is only for output pins.
+<p><b><font face="Courier">node</font></b>: node declarations have the
+same format as the pin declaration. Nodes are internal signals which are
+not connected to external pins.
+</p><ul>Example:
+<p>tmp1 <font face="Courier">node [istype</font> 'com'];
+<br>&nbsp;
+<br>&nbsp;</p></ul>
+<b>other declarations</b> allows one to define constants, sets, macros
+and expressions which can simplify the program. As an example a constant
+declaration has the following format:
+<ul>id [, id],... = expr [, expr].. ;
+<p>Examples:
+</p><p><font face="Courier">A = 21;</font>
+</p><p><font face="Courier">C=2*7;</font>
+</p><p><font face="Courier">ADDR = [1,0,11];</font>
+</p><p><font face="Courier">LARGE = B &amp; C;</font>
+</p><p><font face="Courier">D = [D3, D2, D1, D0];</font>
+</p><p><font face="Courier">D = [D3..D0];</font></p></ul>
+The last two equations are equivalent. The use of ".." is handy to specify
+a range. The last example makes use of vector notations. Any time you use
+D in an equation, it will refer to the vector [D3, D2, D1. D0].
+<h2>
+4.&nbsp;<a name="Numbers"></a>Numbers</h2>
+Numbers can be entered in four different bases: binary, octal, decimal
+and hexadecimal. The default base is decimal. Use one of the following
+symbols (upper or lower case allowed) to specify the base. When no symbol
+is specified it is assumed to be in the <u>decimal</u> base. You can change
+the default base with the Directive "Radix" as explained in the next section.
+<br>&nbsp;
+<table border="1">
+<tbody><tr>
+<td width="148"><b>BASE NAME</b></td>
+
+<td width="148"><b>BASE</b></td>
+
+<td width="148"><b>Symbol.</b></td>
+</tr>
+
+<tr>
+<td width="148">Binary</td>
+
+<td width="148">2</td>
+
+<td width="148">^b&nbsp;</td>
+</tr>
+
+<tr>
+<td width="148">Octal</td>
+
+<td width="148">8</td>
+
+<td width="148">^o&nbsp;</td>
+</tr>
+
+<tr>
+<td width="148">Decimal</td>
+
+<td width="148">10</td>
+
+<td width="148">^d (default)&nbsp;</td>
+</tr>
+
+<tr>
+<td width="148">Hexadecimal</td>
+
+<td width="148">16</td>
+
+<td width="148">^h&nbsp;</td>
+</tr>
+</tbody></table>
+
+<p>Examples:
+<br>&nbsp;
+<table>
+<tbody><tr>
+<td width="140">
+<ul><b>Specified in ABEL</b></ul>
+</td>
+
+<td width="140"><b>Decimal Value</b></td>
+</tr>
+
+<tr>
+<td width="140">
+<ul>35</ul>
+</td>
+
+<td width="140">
+<ul>35</ul>
+</td>
+</tr>
+
+<tr>
+<td width="140">
+<ul>^h35</ul>
+</td>
+
+<td width="140">
+<ul>53</ul>
+</td>
+</tr>
+
+<tr>
+<td width="140">
+<ul>^b101</ul>
+</td>
+
+<td width="140">
+<ul>5</ul>
+</td>
+</tr>
+</tbody></table>
+
+</p><h2>
+5.&nbsp;<a name="Directives"></a>Directives</h2>
+Directives allow advanced manipulation of the source file and processing,
+and can be placed anywhere needed in a file.
+<p><b>@ALTERNATE</b>
+<br><i>Syntax</i>
+<br>@alternate
+<br>&nbsp;
+<br>@ALTERNATE enables an alternate set of operators. Using the <a href="#Logical">alternate
+operator</a> set precludes use of the ABEL-HDL addition (+), multiplication
+(*) and division (/) operators because they represent the OR, AND and NOT
+logical operators in the alternate set. The standard operator still work
+when @ALTERNATE is in effect. The alternate operators remain in effect
+until the @STANDARD directive is used or the end of the module is reached.
+</p><p><b>@RADIX</b>
+<br><i>Syntax</i>
+<br>@radix <i>expr</i> ;
+<br><i>Expr:&nbsp;</i> A valid expression that produces the number 2, 8,
+10 or 16 to indicate a new default base number.
+</p><p>The @Radix directive changes the default base. The default is base 10
+(decimal). The newly-specified default base stays in effect until another
+@radix directive is issued or until the end of the module is reached. Note
+that when a new @radix is issued, the specification of the new base must
+be in the current base format
+</p><p>Example
+</p><blockquote>@radix 2;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+&#8220;change default base to binary
+<br>&#8230;
+<br>@radix 1010;&nbsp;&nbsp;&nbsp;&nbsp; &#8220;change back from binary&nbsp;
+to decimal</blockquote>
+
+<p><br><b>@STANDARD</b>
+<br><i>Syntax</i>
+<br>@standard
+</p><p>The @standard option resets the operators to the ABEL-HDL standard.
+The alternate set is chosen with the @alternative directive.
+<br>&nbsp;
+<br>&nbsp;
+</p><h2>
+</h2>
+
+<h2>
+6.&nbsp;<a name="Sets"></a>Sets</h2>
+A set is a collection of signals or constants used to reference a group
+of signals by one name. A set is very handy to simplify logic expressions.
+Any operation that is applied to a set is applied to each element.
+<p>A set is a list of constants or signals separated by commas or the range
+operator (..) put between square brackets (required).
+</p><ul>Examples:</ul>
+
+<table>
+<tbody><tr>
+<td width="140">
+<ul><font face="Courier">[D0,D1,D2,D4,D5]</font></ul>
+</td>
+
+<td width="234"></td>
+</tr>
+
+<tr>
+<td width="140">
+<ul><font face="Courier">[D0..D6]</font></ul>
+</td>
+
+<td width="234">" incrementing range&nbsp;</td>
+</tr>
+
+<tr>
+<td width="140">
+<ul><font face="Courier">[b6..b0]</font></ul>
+</td>
+
+<td width="234">" decrementing range&nbsp;</td>
+</tr>
+
+<tr>
+<td width="140">
+<ul><font face="Courier">[D7..D15]</font></ul>
+</td>
+
+<td width="234"></td>
+</tr>
+
+<tr>
+<td width="140">
+<ul><font face="Courier">[b1,b2,a0..a3]</font></ul>
+</td>
+
+<td width="234">" range within a larger set</td>
+</tr>
+
+<tr>
+<td width="140">
+<ul><font face="Courier">[!S7..!S0]</font></ul>
+</td>
+
+<td width="234">"decrementing range of active -low signals</td>
+</tr>
+</tbody></table>
+
+<p>However, the following is not allowed: <tt>[D0, X];</tt>
+</p><ul>in which X is also a set <tt>X = [X3..X0]</tt>; Instead one can write:
+<p><tt>[D0, X3..X0]</tt>;</p></ul>
+
+<h3>
+a.&nbsp;<a name="Indexing"></a>Indexing or accessing a set</h3>
+Indexing allows you to access elements within a set. Use numerical values
+to indicate the set index. The number refers to the bit position in the
+set starting with 0 for the least significant bit of the set. Here are
+some examples.
+<ul><font face="Courier">D1 = [D15..D0]; "set declaration</font>
+<p><font face="Courier">X2 = [X3..X0]; "set declaration</font>
+</p><p><font face="Courier">X2 := D1[3..0]; "makes X2 equal to [D3, D2, D1,
+D0]</font>
+</p><p><font face="Courier">X2 := D1[7..4]; "makes X2 equal to [D7, D6, D5,
+D4]</font></p></ul>
+To access one element in the set, use the following syntax:
+<ul><font face="Courier">OUT = (X[2] == 1);</font></ul>
+Here a comparator operator (==) is used to convert the single-element (X[2])
+into a bit value equivalent to X2. The comparator (==) gives a"1" or "0"
+depending if the comparison is True or False. Notice the
+<i>difference
+between the assignment operator (=) and the equal operator (==)</i>. The
+assignment operator is used in equations rather than in expressions. Equations
+assign the value of an expression to the output signals.
+<h3>
+b.&nbsp;<a name="Set Operations"></a>Set operations</h3>
+Most of the operations can be applied to a set and are performed on each
+element of the set according to the rules of Boolean algebra. Operations
+are performed according to the <a href="#priority">operator's priority</a>;
+operators with the same priority are performed from left to right (unless
+one uses parentheses). Here are a couple of examples.
+<br>&nbsp;
+<br>&nbsp;
+<p>Example 1:
+</p><ul><font face="Courier">Signal = [D2,D1,D0]; "declaration of Signal set</font>
+<p><font face="Courier">Signal = [1,0,1] &amp; [0,1,1];" results in Signal
+being "equal to [0,0,1]</font></p></ul>
+Example 2:
+<ul><font face="Courier">[A,B] = C &amp; D;</font></ul>
+this is equivalent to two statements:
+<ul><font face="Courier">A = C &amp; D;</font>
+<p><font face="Courier">B = C &amp; D;</font></p></ul>
+Example 3:
+<ul><font face="Courier">[A1,B1] = [D1,D2] &amp; [C3,C2];</font>
+<p><font face="Courier">is equivalent to: [A1,B1] = [D1 &amp; C3, D2 &amp;
+C2];</font>
+</p><p><font face="Courier">thus A1 = D1 &amp; C3, and B1= D2 &amp; C2.</font></p></ul>
+Example 4:
+<ul><font face="Courier">X &amp; [A,B,C];</font></ul>
+which is equivalent to
+<ul>[X&amp;A, X&amp;B, X&amp;C];</ul>
+However consider the following expression
+<ul><font face="Courier">2 &amp; [A,B,C];</font></ul>
+now the number "2" is first converted into a binary representation and
+padded with zeros (0010) if necessary. Thus the above equation is equivalent
+to:
+<ul><font face="Courier">[0 &amp; A, 1 &amp; B, 0 &amp; C];</font></ul>
+Example 5:
+<ul><font face="Courier">A=[A2,A1,A0]; "set declaration</font>
+<p><font face="Courier">B=[B2,B1,B0]; "set declaration</font>
+</p><p><font face="Courier">A # B;</font> is equivalent to <font face="Courier">[A2
+# B2, A1 # B1, A0 # B0];</font>
+</p><p><font face="Courier">!A;</font> is equivalent to <font face="Courier">[!A2,!A1,!A0];</font></p></ul>
+Example 6:
+<ul><font face="Courier">[b3,b2,b1,b0] = 2;"is equivalent to b3=0,b2=0,b1=1,b0=0.</font></ul>
+The number "2" is converted into binary and padded with zeros (0010).
+<p>Example 7: Sets are also handy to specify logic equations. Suppose you
+need to specify the equation:
+</p><ul><font face="Courier">Chip_Sel = !A7 &amp; A6 &amp; A5;</font></ul>
+This can be done using sets. First define a constant Addr set.:
+<ul><font face="Courier">Addr = [A7,A6,A5];" declares a constant set Addr.</font></ul>
+One can then use the following equation to specify the address:
+<ul><font face="Courier">Chip_Sel = Addr == [0,1,1];</font></ul>
+which is equivalent to saying:
+<ul><font face="Courier">Chip_Sel = !A7 &amp; A6 &amp; A5;</font></ul>
+Indeed, if A7=0, A6=1 and A5=1, the expression Addr ==[0,1,1] is true (or
+1) and thus Chip_Sel will be true (or 1). Another way to write the same
+equation is:
+<ul><font face="Courier">Chip_Sel = Addr == 3; " decimal 3 is equal to
+011.</font></ul>
+The above expressions are very helpful when working with a large number
+of variables (ex. a 16 bit address).
+<p>Example 8:
+</p><p>For the same constants as in the example above, the expression,
+</p><ul><font face="Courier">3 &amp; Addr;</font></ul>
+which is equivalent to
+<ul><font face="Courier">[0,1,1] &amp; [A7,A6,A5]</font>
+<p><font face="Courier">[0 &amp; A7, 1 &amp; A6, 1 &amp; A5]</font>
+</p><p><font face="Courier">[0,A6,A5].</font></p></ul>
+However, the following statement is different:
+<ul><font face="Courier">3 &amp; (Addr == 1);</font></ul>
+which is equivalent to:
+<ul><font face="Courier">3 &amp; (!A7 &amp; !A6 &amp; A5).</font></ul>
+However, the relational operator (==) gives <u>only one bit</u>, so that
+the rest of the equation evaluates also to one bit, and the "3" is truncated
+to "1":. Thus the above equation is equal to:
+<ul><font face="Courier">1&amp; !A7 &amp; !A6 &amp; A5.</font></ul>
+
+<h2>
+7.&nbsp;<a name="Operators"></a>Operators</h2>
+There are four basic types of operators: logical, arithmetic, relational
+and assignment..
+<h3>
+a.&nbsp;<a name="Logical"></a>Logical Operators</h3>
+The table below gives the logical operators. They are performed bit by
+bit. With the <a href="#Directives">@ALTERNATIVE directive</a>, one can
+use the alternative set of operators as indicated in the table.
+<br>&nbsp;
+<table border="1">
+<tbody><tr>
+<td width="148"><b>Operator (default)</b></td>
+
+<td width="148"><b>Description&nbsp;</b></td>
+
+<td width="148"><b>Alternate operator</b></td>
+</tr>
+
+<tr>
+<td width="148">!</td>
+
+<td width="148">NOT (ones complement)</td>
+
+<td width="148">/</td>
+</tr>
+
+<tr>
+<td width="148">&amp;</td>
+
+<td width="148">AND</td>
+
+<td width="148">*&nbsp;</td>
+</tr>
+
+<tr>
+<td width="148">#</td>
+
+<td width="148">OR</td>
+
+<td width="148">+</td>
+</tr>
+
+<tr>
+<td width="148">$</td>
+
+<td width="148">XOR: exclusive or</td>
+
+<td width="148">:+:&nbsp;</td>
+</tr>
+
+<tr>
+<td width="148">!$</td>
+
+<td width="148">XNOR: exclusive nor</td>
+
+<td width="148">:*:</td>
+</tr>
+</tbody></table>
+
+<h3>
+b.&nbsp;<a name="Arithmetic"></a>Arithmetic operators</h3>
+The table below gives the arithmetic operators. Note that the last four
+operators are not allowed with sets. The minus sign can have different
+meanings: used between two operands it indicates subtraction (or adding
+the twos complement), while used with one operator it indicates the twos
+complement.
+<br>&nbsp;
+<table border="1">
+<tbody><tr>
+<td width="118"><b>Operator</b></td>
+
+<td width="121"><b>Example</b></td>
+
+<td width="204"><b>Description</b></td>
+</tr>
+
+<tr>
+<td width="118">-</td>
+
+<td width="121">-D1</td>
+
+<td width="204">Twos complement (negation)&nbsp;</td>
+</tr>
+
+<tr>
+<td width="118">-</td>
+
+<td width="121">C1-C2</td>
+
+<td width="204">Subtraction&nbsp;</td>
+</tr>
+
+<tr>
+<td width="118">+</td>
+
+<td width="121">A+B</td>
+
+<td width="204">Addition&nbsp;</td>
+</tr>
+
+<tr>
+<td colspan="3" width="443">
+<center><b><i>The following operators are not used with sets:&nbsp;</i></b></center>
+</td>
+</tr>
+
+<tr>
+<td width="118">*</td>
+
+<td width="121">A*B</td>
+
+<td width="204">Multiplication&nbsp;</td>
+</tr>
+
+<tr>
+<td width="118">/</td>
+
+<td width="121">A/B</td>
+
+<td width="204">Unsigned integer division&nbsp;</td>
+</tr>
+
+<tr>
+<td width="118">%</td>
+
+<td width="121">A%B</td>
+
+<td width="204">Modulus: remainder of A/B&nbsp;</td>
+</tr>
+
+<tr>
+<td width="118">&lt;&lt;</td>
+
+<td width="121">A&lt;&lt;B</td>
+
+<td width="204">Shift A left by B bits&nbsp;</td>
+</tr>
+
+<tr>
+<td width="118">&gt;&gt;</td>
+
+<td width="121">A&gt;&gt;B</td>
+
+<td width="204">Shift B right by B bits&nbsp;</td>
+</tr>
+</tbody></table>
+
+<h3>
+c.&nbsp;<a name="Relational"></a>Relational operators</h3>
+These operators produce a Boolean value of <u>True (-1) or False (0).</u>
+The logical true value of -1 in twos complement is represented by all ones
+(i.e.<i>all bits will be ones</i>: ex. for a 16 bit word all bits are one:
+-1 is represented by 1111 1111 1111 1111).
+<br>&nbsp;
+<table border="1">
+<tbody><tr>
+<td width="148"><b>Operator&nbsp;</b></td>
+
+<td width="148"><b>Example</b></td>
+
+<td width="148"><b>Description&nbsp;</b></td>
+</tr>
+
+<tr>
+<td width="148">==</td>
+
+<td width="148">A==B or 3==5 (false)</td>
+
+<td width="148">Equal</td>
+</tr>
+
+<tr>
+<td width="148">!=</td>
+
+<td width="148">A!=B or 3 != 5 (true)&nbsp;</td>
+
+<td width="148">Not equal</td>
+</tr>
+
+<tr>
+<td width="148">&lt;</td>
+
+<td width="148">A&lt;B or 3 &lt; 5 (true)&nbsp;</td>
+
+<td width="148">Less than</td>
+</tr>
+
+<tr>
+<td width="148">&lt;=</td>
+
+<td width="148">A&lt;=B or 3 &lt;= 5 (true)&nbsp;</td>
+
+<td width="148">Less than or equal</td>
+</tr>
+
+<tr>
+<td width="148">&gt;</td>
+
+<td width="148">A&gt;B or -1 &gt; 5 (true)&nbsp;</td>
+
+<td width="148">Greater than</td>
+</tr>
+
+<tr>
+<td width="148">&gt;=</td>
+
+<td width="148">A&gt;=B or !0 &gt;= 5 (true)&nbsp;</td>
+
+<td width="148">Greater than or equal</td>
+</tr>
+</tbody></table>
+
+<br>&nbsp;
+<p><i><font color="#914a19">Relational operators are unsigned</font></i>.
+Be careful: !0 is the one complement of 0 or 11111111 (8 bits data) which
+is 255 in unsigned binary. Thus !0 &gt; 9 is true. The expression -1&gt;5 is
+true for the same reason.
+</p><p>A relational expression can be used whenever a number can be used. The
+-1 or 0 will be substituted depending on the logical result. As an example
+:
+</p><ul>A = B !$ (C == D);</ul>
+A will be equal to B if C is equal to D (true or 11111...; B XNOR 1 equals
+B), otherwise, A will be equal to the complement of B (if C is not equal
+to B (false or 0)).
+<h3>
+d.&nbsp;<a name="Assignment"></a>Assignment operators</h3>
+These operators are used in equations to assign the value of an expression
+to output signals. There are two types of assignment operators: combinational
+and registered. In a combinational operator the assignment occurs immediately
+without any delay. The registered assignment occurs at the next clock pulse
+associated with the output. As an example, one can define a flip-flop with
+the following statements:
+<ul><font face="Courier">Q1 pin istype 'reg';</font>
+<p><font face="Courier">Q1 := D;</font></p></ul>
+The first statement defines the Q1 flip-flop by using the 'reg' as istype
+(registered output). The second statement tells that the output of the
+flip-flop will take the value of the D input at the next clock transition.
+<br>&nbsp;
+<table border="1">
+<tbody><tr>
+<td width="221"><b>Operator</b></td>
+
+<td width="221"><b>Description</b></td>
+</tr>
+
+<tr>
+<td width="221">=</td>
+
+<td width="221">Combinational assignment&nbsp;</td>
+</tr>
+
+<tr>
+<td width="221">:=</td>
+
+<td width="221">Registered assignment</td>
+</tr>
+</tbody></table>
+
+<h3>
+e. Operator&nbsp;<a name="priority"></a>priority</h3>
+The priority of each operator is given in the following table, with priority
+1 the highest and 4 the lowest. Operators with the same priority are performed
+from left to right.
+<br>&nbsp;
+<table border="1">
+<tbody><tr>
+<td width="148"><b>Priority</b></td>
+
+<td width="148"><b>Operator</b></td>
+
+<td width="148"><b>Description&nbsp;</b></td>
+</tr>
+
+<tr>
+<td width="148">1</td>
+
+<td width="148">-</td>
+
+<td width="148">Negation (twos complement)&nbsp;</td>
+</tr>
+
+<tr>
+<td width="148">1</td>
+
+<td width="148">!</td>
+
+<td width="148">NOT&nbsp;</td>
+</tr>
+
+<tr>
+<td width="148">2</td>
+
+<td width="148">&amp;</td>
+
+<td width="148">AND&nbsp;</td>
+</tr>
+
+<tr>
+<td width="148">2</td>
+
+<td width="148">&lt;&lt;</td>
+
+<td width="148">shift left&nbsp;</td>
+</tr>
+
+<tr>
+<td width="148">2</td>
+
+<td width="148">&gt;&gt;</td>
+
+<td width="148">shift right&nbsp;</td>
+</tr>
+
+<tr>
+<td width="148">2</td>
+
+<td width="148">*</td>
+
+<td width="148">multiply&nbsp;</td>
+</tr>
+
+<tr>
+<td width="148">2</td>
+
+<td width="148">/</td>
+
+<td width="148">unsigned division&nbsp;</td>
+</tr>
+
+<tr>
+<td width="148">2</td>
+
+<td width="148">%</td>
+
+<td width="148">modulus&nbsp;</td>
+</tr>
+
+<tr>
+<td width="148">3</td>
+
+<td width="148">+</td>
+
+<td width="148">add&nbsp;</td>
+</tr>
+
+<tr>
+<td width="148">3</td>
+
+<td width="148">-</td>
+
+<td width="148">subtract&nbsp;</td>
+</tr>
+
+<tr>
+<td width="148">3</td>
+
+<td width="148">#</td>
+
+<td width="148">OR</td>
+</tr>
+
+<tr>
+<td width="148">3</td>
+
+<td width="148">$</td>
+
+<td width="148">XOR&nbsp;</td>
+</tr>
+
+<tr>
+<td width="148">3</td>
+
+<td width="148">!$</td>
+
+<td width="148">XNOR&nbsp;</td>
+</tr>
+
+<tr>
+<td width="148">4</td>
+
+<td width="148">==</td>
+
+<td width="148">equal&nbsp;</td>
+</tr>
+
+<tr>
+<td width="148">4</td>
+
+<td width="148">!=</td>
+
+<td width="148">not equal&nbsp;</td>
+</tr>
+
+<tr>
+<td width="148">4</td>
+
+<td width="148">&lt;</td>
+
+<td width="148">less then&nbsp;</td>
+</tr>
+
+<tr>
+<td width="148">4</td>
+
+<td width="148">&lt;=</td>
+
+<td width="148">less then or equal&nbsp;</td>
+</tr>
+
+<tr>
+<td width="148">4</td>
+
+<td width="148">&gt;</td>
+
+<td width="148">greater than&nbsp;</td>
+</tr>
+
+<tr>
+<td width="148">4</td>
+
+<td width="148">&gt;=</td>
+
+<td width="148">greater than or equal&nbsp;</td>
+</tr>
+</tbody></table>
+
+<h2>
+8.&nbsp;<a name="Logic"></a>Logic description</h2>
+A logic design can be described in the following way.
+<ul>
+<li>
+Equations</li>
+
+<li>
+Truth Table</li>
+
+<li>
+State Description</li>
+</ul>
+
+<h3>
+a.&nbsp;<a name="Equations"></a>Equations</h3>
+Use the keyword <b><font face="Courier">equations</font></b> to begin the
+logic descriptions. Equations specify logic expressions using the <a href="#Operators">operators</a>
+described above, or "When-Then-Else" statement.
+<p>The&nbsp;<a name="&quot;When-Then-Else&quot;"></a>"When-Then-Else" statement
+is used in equations to describe a logic function. (Note: "<a href="#If-Else-Then">If
+-Then-Else</a>" is used in the State-diagram section to describe state
+progression).
+</p><p>The format of the "When-Then-Else" statement is as follows:
+</p><ul><font face="Courier">WHEN condition THEN element=expression;</font>
+<p><font face="Courier">ELSE equation;</font>
+</p><p><font face="Courier">or</font>
+</p><p><font face="Courier">WHEN condition THEN equation;</font></p></ul>
+Examples of equations:
+<ul><font face="Courier">SUM = (A &amp; !B) # (!A &amp; B) ;</font>
+<br><font face="Courier">A0 := EN &amp; !D1 &amp; D3 &amp; !D7;</font>
+<p><font face="Courier">WHEN (A == B) THEN D1_out = A1;</font>
+</p><ul>&nbsp;
+<br><font face="Courier">ELSE WHEN (A == C) THEN D1_out = A0;</font></ul>
+<font face="Courier">WHEN (A&gt;B) THEN { X1 :=D1; X2 :=D2; }</font></ul>
+One can use the braces { } to group sections together in blocks. The text
+in a block can be on one line or span many lines. Blocks are used in equations,
+state diagrams and directives.
+<h3>
+b.&nbsp;<a name="Truth"></a>Truth Tables</h3>
+The keyword <b>is <font face="Courier">truth-table </font></b>and the syntax
+is
+<ul><font face="Courier">TRUTH_TABLE ( in_ids -&gt; out_ids )</font>
+<p><font face="Courier">inputs -&gt; outputs ;</font></p></ul>
+or
+<ul><font face="Courier">TRUTH_TABLE ( in_ids :&gt; reg_ids )</font>
+<p><font face="Courier">inputs :&gt; reg_outs ;</font></p></ul>
+or
+<ul><font face="Courier">TRUTH_TABLE</font>
+<p><font face="Courier">( in_ids :&gt; reg_ids -&gt; out_ids )</font>
+</p><p><font face="Courier">inputs :&gt; reg_outs -&gt; outputs ;</font>
+<br>&nbsp;</p></ul>
+in which "-&gt;" is for combinational output and ":&gt;" for registered output.
+The first line of a truth table (between parentheses) defines the inputs
+and the output signals. The following lines gives the values of the inputs
+and outputs. Each line must end with a semicolon. The inputs and outputs
+can be single signals or sets. When sets are used as inputs or outputs,
+use the normal set notation, i.e. signals surrounded by square brackets
+and separated by commans. A don't care is represented by a ".X.".
+<p>Example 1: half adder
+</p><ul><tt><font face="Courier">TRUTH_TABLE ( [ A, B] -&gt; [Sum, Carry_out]
+)</font></tt>
+<ul>
+<ul><tt><font face="Courier">[ 0, 0 ] -&gt; [0, 0 ] ;</font></tt>
+<br><tt><font face="Courier">[ 0, 1 ] -&gt; [1, 0 ] ;</font></tt>
+<br><tt><font face="Courier">[ 1, 0 ] -&gt; [1, 0 ] ;</font></tt>
+<br><tt><font face="Courier">[ 1, 1 ] -&gt; [1, 1 ] ;</font></tt></ul>
+</ul>
+</ul>
+However, if one defines a set IN = [A,B]; and OUT = [Sum, Carry_out]; the
+truth table becomes simpler:
+<ul><tt><font face="Courier">TRUTH_TABLE (IN -&gt; OUT )</font></tt>
+<ul>
+<ul><tt><font face="Courier">0 -&gt; 0;</font></tt>
+<br><tt><font face="Courier">1 -&gt; 2;</font></tt>
+<br><tt><font face="Courier">2 -&gt; 2;</font></tt>
+<br><tt><font face="Courier">3 -&gt; 3;</font></tt></ul>
+</ul>
+</ul>
+Example 2: An excluse OR with two intputs and one enable (EN). This example
+illustrates the use of don't cares (.X.)
+<ul><tt><font face="Courier">TRUTH_TABLE ([EN, A, B] -&gt; OUT )</font></tt>
+<ul>
+<ul><tt><font face="Courier">[ 0, .X.,.X.] -&gt; .X. ;</font></tt>
+<br><tt><font face="Courier">[ 1, 0 , 0 ] -&gt; 0 ;</font></tt>
+<br><tt><font face="Courier">[ 1, 0 , 1 ] -&gt; 1 ;</font></tt>
+<br><tt><font face="Courier">[ 1, 1 , 0 ] -&gt; 1 ;</font></tt>
+<br><tt><font face="Courier">[ 1, 1 , 1 ] -&gt; 0 ;</font></tt></ul>
+</ul>
+</ul>
+Example 3: (see Example in R. Katz, section 7.2.1 and table 7.14)
+<p>Truth tables can also be used to define sequential machines. Lets implement
+a three-bit up counter which counts from 000, 001, to 111 and back to 000.
+Lets call QA, QB and QC the outputs of the flip-flops. In addition, we
+will generate an output OUT whenever the counter reaches the state 111.
+We will also reset the counter to the state 000 when the reset signal is
+high.
+</p><ul><tt><font face="Courier">MODULE CNT3;</font></tt>
+<p><tt><font face="Courier">CLOCK pin;</font> <font face="Courier">" input
+signal</font></tt>
+<br><tt><font face="Courier">RESET . pin;</font> <font face="Courier">"
+input signal</font></tt>
+<br><tt><font face="Courier">OUT pin istype 'com';</font> <font face="Courier">"
+output signal (combinational)</font></tt>
+<br><tt><font face="Courier">QC,QB,QA pin istype 'reg'; " output signal
+(registered)</font></tt>
+</p><p><tt><font face="Courier">[QC,QB,QA].CLK = CLOCK; "FF clocked on the
+CLOCK input</font></tt>
+<br><tt><font face="Courier">[QC,QB,QA].AR = RESET; "asynchronous reset
+by RESET</font></tt>
+</p><p><tt><font face="Courier">TRUTH_TABLE ) [QC, QB, QA] :&gt; [QC,QB,QA] -&gt;
+OUT)</font></tt>
+</p><ul>
+<ul>
+<ul><tt><font face="Courier">[ 0 0 0 ] :&gt; [ 0 0 1 ] -&gt; 0;</font></tt>
+<br><tt><font face="Courier">[ 0 0 1 ] :&gt; [ 0 1 0 ] -&gt; 0;</font></tt>
+<br><tt><font face="Courier">[ 0 1 0 ] :&gt; [ 0 1 1 ] -&gt; 0;</font></tt>
+<br><tt><font face="Courier">[ 0 1 1 ] :&gt; [ 1 0 0 ] -&gt; 0;</font></tt>
+<br><tt><font face="Courier">[ 1 0 0 ] :&gt; [ 1 0 1 ] -&gt; 0;</font></tt>
+<br><tt><font face="Courier">[ 1 0 1 ] :&gt; [ 1 1 0 ] -&gt; 0;</font></tt>
+<br><tt><font face="Courier">[ 1 1 0 ] :&gt; [ 1 1 1 ] -&gt; 0;</font></tt>
+<br><tt><font face="Courier">[ 1 1 1 ] :&gt; [ 0 0 0 ] -&gt; 1;</font></tt></ul>
+</ul>
+</ul>
+<tt><font face="Courier">END CNT3;</font></tt></ul>
+For the use of .DOT extensions (.CLK and .AR) see section 7d.
+<h3>
+c.&nbsp;<a name="State"></a>State Description</h3>
+The State_diagram section contains the state description for the logic
+design. This section uses the State_diagram syntax and the "If-Then-Else",
+"Goto", "Case" and "With" statements. Usually one declares symbolic state
+names in the Declaration section, which makes reading the program often
+easier.
+<p><i>State declaration</i> (in the declaration section) syntax:
+</p><ul><font face="Courier">state_id [, state_id ...] STATE ;</font></ul>
+As an example: <tt><font size="+1">SREG = [Q1, Q2];</font></tt> associates
+the state name SREG with the state defined by Q1 and Q2.
+<p><u>The <b>syntax </b>for <i>State_diagram</i> is as follows:</u>
+</p><ul><font face="Courier">State_diagram <i>state_reg</i></font>
+<p><font face="Courier">STATE <i>state_value</i> : [equation;]</font>
+</p><p><font face="Courier">[equation;]</font>
+</p><p><font face="Courier">:</font>
+</p><p><font face="Courier">:</font>
+</p><p><font face="Courier">trans_stmt ; ...</font></p></ul>
+The keyword <b><font face="Courier">state_diagram </font></b>indicates
+the beginning of a state machine description.
+<p>The STATE keyword and following statements describe one state of the
+state diagram and includes a state value or symbolic state name, state
+transition statement and an optional output equation. In the above syntax,
+</p><ul>
+<li>
+<font face="Courier">state_reg</font>: is an identifier that defines the
+signals that determine the state of the machine. This can be a symbolic
+state register that has been declared earlier in the declaration section.</li>
+
+<li>
+<font face="Courier">state_value</font>: can be an expression, a value
+or a symbolic state name of the current state;</li>
+
+<li>
+<font face="Courier">equation</font> : an equation that defines the state
+machine outputs</li>
+
+<li>
+<font face="Courier">trans_stmt</font>: the "If-Then-Else", CASE or GOTO
+statements to defines the next state, followed with optional WITH transition
+equations.</li>
+</ul>
+<a name="If-Else-Then"></a><u><b><font face="Courier">If-Then-Else</font></b>
+statement:</u>
+<p>This statement is used in the state_diagram section to describe the
+next state and to specify mutually exclusive transition conditions.
+</p><p>Syntax<font face="Courier">:</font>
+</p><ul><font face="Courier">IF expression THEN state_exp</font>
+<p><font face="Courier">[ELSE state_exp] ;</font></p></ul>
+In which state-exp can be a logic expression or a symbolic state name.
+Note that the "IF-Then-Else" statement can only be used in the state_diagram
+section (use the <a href="#%22When-Then-Else%22">"When-If-Then"</a>
+to describe logic functions". The ELSE clause is optional. The IF-Then-Else
+statements can be nexted with <tt><font size="+1">Goto, Case</font></tt>
+and <tt><font size="+1">With</font></tt> statements.
+<p>Example (after R. Katz):
+</p><p>in the declaration section we define first the state registers:
+</p><ul><font face="Courier">SREG = [Q1, Q0];</font> "definition of state registers
+<br><font face="Courier">S0 = [0, 0];</font>
+<br><font face="Courier">S1 = [1, 1];</font>
+<p><font face="Courier">state_diagram SREG</font>
+<br><font face="Courier">state S0:</font> OUT1 = 1;
+</p><ul>&nbsp;
+<br><font face="Courier">if A then S1</font>
+<br><font face="Courier">else S0;</font></ul>
+<font face="Courier">state S1: OUT2 =1;</font>
+<ul>&nbsp;
+<br><font face="Courier">if A then S0</font>
+<br><font face="Courier">else S1;</font></ul>
+</ul>
+"If-Then-Else" statements can be nested as in the following example (after
+Wakerly). We assume that one has defined the registers and states in the
+declaration section.
+<ul><font face="Courier">state_diagram MAK</font>
+<p><font face="Courier">state INIT: if RESET then INIT else LOOK;</font>
+</p><p><font face="Courier">state LOOK: if REST than INIT</font>
+</p><ul><font face="Courier">else if (X == LASTX) then OK</font>
+<br><font face="Courier">else LOOK;</font></ul>
+<font face="Courier">state OK: if RESET than INIT</font>
+<ul><font face="Courier">else if Y then OK</font>
+<br><font face="Courier">else if (X == LASTX) then OK</font>
+<br><font face="Courier">else LOOK;</font></ul>
+<font face="Courier">state OK: goto INIT;</font>
+<br>&nbsp;</ul>
+<u>"<a name="with"></a><b><font face="Courier">with</font></b>" statement:</u>
+<p>Syntax:
+</p><ul><font face="Courier">trans_stmt state_exp WITH equation</font>
+<br><font face="Courier">[equation ] ... ;</font></ul>
+in which trans_stmt can be "If-then-else", 'Goto" or a "Case" statement.
+<br><tt>state_exp</tt>: is the next state, and <tt>equation</tt> is an
+equation for the machine outputs.
+<p>This statement can be used with the "If-Then-Else", "Goto" or "Case"
+statements in place of a simple state expression. The "With" statement
+allows the output equations to be written in terms of transitions.
+</p><p>Example 1:
+</p><ul><tt><font size="+1">if X#Y==1 then S1 with Z=1 else S2;</font></tt></ul>
+In the above example, the output Z will be asserted as soon as the expression
+after the if statement evaluates to a logic 1 (or TRUE). The expression
+after the "With" keyword can be an equation that will be evaluated as soon
+as the if condition is true as in example 2:
+<p>Example 2:
+</p><ul><tt><font size="+1">if X&amp;!Y then S3 with Z=X#Y else S2 with Z=Y;</font></tt></ul>
+The "With" statement is also useful to describe output behavior of registered
+outputs, since registered outputs would lag by one clock cycle. It allows
+one also for instance to specify that a registered output should have a
+specific value after a particular transition. As an example [1],
+<p>Example 3[1]:
+</p><p><font face="Courier">state S1:</font>
+</p><ul><font face="Courier">if RST then S2 with { OUT1 := 1;</font>
+<ul><font face="Courier">Error-Adrs := ADDRESS; }</font></ul>
+<font face="Courier">else if (ADDRESS &lt;= ^hC101)</font>
+<ul><font face="Courier">then S4</font>
+<br><font face="Courier">else S1;</font></ul>
+</ul>
+Notice that one can use curly braces to control a group of outputs and
+equations after the With keyword as in the example above.
+<p>Example 3:
+</p><ul><font face="Courier">state S1: if (A &amp; B) then S2 with TK = 1</font>
+<ul><font face="Courier">else S0 with TK = 0 ;</font></ul>
+</ul>
+You have to be aware of the timing when using the "With " statement with
+combinational or asynchronous outputs (as in a Mealy machine). A Mealy
+machine changes its outputs as soon as the input changes. This may cause
+the output to change too quickly resulting in glitches. The outputs of
+a Mealy machine will be valid at the end of a state time (i.e. just before
+the clock transition). In this respect a Moore output (with synhronous
+outputs) is less prone to timing errors. An example of a <a href="http://www.ese.upenn.edu/rca/software/abel/abel.ex1.html">Mealy
+machine</a> and a <a href="http://www.ese.upenn.edu/rca/software/abel/abel.ex2.html">Moore machine</a> is available.
+<p><a name="Case"></a><b><u><font face="Courier">Case</font> </u></b><u>statement</u>
+</p><p>Syntax:
+</p><ul><font face="Courier">CASE expression : state_exp;</font>
+<p><font face="Courier">[ expression : state_exp; ]</font>
+<br><font face="Courier">:</font>
+</p><p><font face="Courier">ENDCASE ;</font></p></ul>
+expression is any valid ABEL expression and state_exp is an expression
+that indicates the next state (optionally followed by WITH statement).
+<p>Example:
+</p><ul><font face="Courier">State S0:</font>
+<ul><font face="Courier">case ( A == 0) : S1;</font>
+<ul><font face="Courier">( A == 1) : S0;</font></ul>
+</ul>
+<font face="Courier">endcase;</font></ul>
+The case statement is used to list a sequence of mutually-exclusive transition
+conditions and corresponding next states. The CASE statement conditions
+must be mutually exclusive (no two transition conditions can be true at
+the same time) or the resulting next state is unpredictable.
+<h3>
+d. Dot&nbsp;<a name="extensions"></a>extensions</h3>
+One can use dot extensions to more precisely describe the behavior of the
+circuit. The signal extensions are very handy and provide a means to refer
+specifically to internal signals and nodes associated with a primary signal.
+<p>The syntax is
+</p><ul><font face="Courier">signal_name.ext</font></ul>
+Some of the dot extensions are given in the following table. Extensions
+are not case sensitive. Some dot extensions are general purpose (also called
+architecture independent or pin-to-pin) and can used with a variety of
+device architectures. Other dot extensions are used for specific classes
+of device architectures and are called architecture-dependent or detailed
+dot extensions. In general, you can use either dot extensions.
+<br>&nbsp;
+<center><table border="1">
+<tbody><tr>
+<td width="109"><b>Dot extension</b></td>
+
+<td width="270"><b>Description</b></td>
+</tr>
+
+<tr>
+<td colspan="2" width="379"><b>Architecture independent or pin-to-pin extensions</b></td>
+</tr>
+
+<tr>
+<td width="109">.ACLR</td>
+
+<td width="270">Asynchronous register reset&nbsp;</td>
+</tr>
+
+<tr>
+<td width="109">.ASET</td>
+
+<td width="270">Asynchronous register preset&nbsp;</td>
+</tr>
+
+<tr>
+<td width="109">.CLK</td>
+
+<td width="270">Clock input to an edge-triggered flip-flop&nbsp;</td>
+</tr>
+
+<tr>
+<td width="109">.CLR</td>
+
+<td width="270">Synchronous register reset&nbsp;</td>
+</tr>
+
+<tr>
+<td width="109">.COM</td>
+
+<td width="270">Cominbational feedback from flip-flop data input&nbsp;</td>
+</tr>
+
+<tr>
+<td width="109">.FG</td>
+
+<td width="270">Register feedback</td>
+</tr>
+
+<tr>
+<td width="109">.OE</td>
+
+<td width="270">Output enable</td>
+</tr>
+
+<tr>
+<td width="109">.PIN</td>
+
+<td width="270">Pin feedback</td>
+</tr>
+
+<tr>
+<td width="109">.SET</td>
+
+<td width="270">Synchronous register preset&nbsp;</td>
+</tr>
+
+<tr>
+<td colspan="2" width="379"><b>Device Specific extensions (architecture
+dependent)</b></td>
+</tr>
+
+<tr>
+<td width="109">.D</td>
+
+<td width="270">Data input to a D Flip flop&nbsp;</td>
+</tr>
+
+<tr>
+<td width="109">.J</td>
+
+<td width="270">J input to a JK flip-flop&nbsp;</td>
+</tr>
+
+<tr>
+<td width="109">.K</td>
+
+<td width="270">K input to a JK flip-flop&nbsp;</td>
+</tr>
+
+<tr>
+<td width="109">.S</td>
+
+<td width="270">S input to a SR flip-flop&nbsp;</td>
+</tr>
+
+<tr>
+<td width="109">.R</td>
+
+<td width="270">R input to a SR flip-flop&nbsp;</td>
+</tr>
+
+<tr>
+<td width="109">.T</td>
+
+<td width="270">T input to a T flip-flop&nbsp;</td>
+</tr>
+
+<tr>
+<td width="109">.Q</td>
+
+<td width="270">Register feedback</td>
+</tr>
+
+<tr>
+<td width="109">.PR</td>
+
+<td width="270">Register preset</td>
+</tr>
+
+<tr>
+<td width="109">.RE</td>
+
+<td width="270">Register reset</td>
+</tr>
+
+<tr>
+<td width="109">.AP</td>
+
+<td width="270">Asynchronous register preset&nbsp;</td>
+</tr>
+
+<tr>
+<td width="109">.AR</td>
+
+<td width="270">Asynchronous register reset&nbsp;</td>
+</tr>
+
+<tr>
+<td width="109">.SP</td>
+
+<td width="270">Synchronous register preset&nbsp;</td>
+</tr>
+
+<tr>
+<td width="109">.SR</td>
+
+<td width="270">Synchronous register reset&nbsp;</td>
+</tr>
+</tbody></table></center>
+
+<p>The figure below illustrates some of the extensions.
+</p><p><br>
+<br>
+<br>
+</p><center>
+<p><img src="abel.primer-Dateien/abel.gif" height="226" width="621">
+</p><p>Figure 1: Illustration of DOT extensions for: (a) an architecture independent
+(pin-to-pin) and (b) arhitecture dependent D-type (or T-type) Flip Flop
+Architecture</p></center>
+
+<p>Example 1:
+</p><ul><font face="Courier">[S6..S0].OE = ACTIVE;</font></ul>
+which accesses the tri state control signal of the output buffers of the
+signals S6..S0. When ACTIVE is high, the signals will be enabled, otherwise
+a high Z output is generated.
+<p>Example 2:
+</p><ul><font face="Courier">Q.AR = reset;</font>
+<p><font face="Courier">[Z.ar, Q.ar] = reset;</font></p></ul>
+which resets to output of the registers (flip flops) to zero when reset
+is high.
+<h2>
+9. Test&nbsp;<a name="vectors"></a>vectors</h2>
+Test vectors are optional and provide a means to verify the correct operation
+of a state machine. The vectors specify the expected logical operation
+of a logic device by explicitly giving the outputs as a function of the
+inputs.
+<p>Syntax:
+</p><ul>&nbsp;
+<br><font face="Courier">Test_vectors [note]</font>
+<p><font face="Courier">(input [, input ].. -&gt; output [, output ] .. )</font>
+</p><p><font face="Courier">[invalues -&gt; outvalues ; ]</font>
+<br><font face="Courier">:</font>
+<br><font face="Courier">:</font></p></ul>
+Example:
+<ul><font face="Courier">Test_vectors</font>
+<p><font face="Courier">( [A, B] -&gt; [Sum, Carry] )</font>
+</p><p><font face="Courier">[ 0, 0 ] -&gt; [0, 0];</font>
+<br><font face="Courier">[ 0, 1 ] -&gt; [1, 0];</font>
+<br><font face="Courier">[ 1, 0 ] -&gt; [1, 0];</font>
+<br><font face="Courier">[ 1, 1 ] -&gt; [1, 1];</font></p></ul>
+One can also specify the values for the set with numeric constants as shown
+below.
+<ul><font face="Courier">Test_vectors</font>
+<p><font face="Courier">( [A, B] -&gt; [Sum, Carry] )</font>
+</p><ul><font face="Courier">0 -&gt; 0;</font>
+<br><font face="Courier">1 -&gt; 2;</font>
+<br><font face="Courier">2 -&gt; 2;</font>
+<br><font face="Courier">3 -&gt; 3;</font></ul>
+</ul>
+Don't cares (.X.), clock inputs (.C.) as well as symbolic constants are
+allowed, as shown in the following example.
+<br>&nbsp;
+<br>&nbsp;
+<ul><font face="Courier">test_vectors</font>
+<p><font face="Courier">( [CLK, RESET, A, B ] -&gt; [ Y0, Y1, Y3] )</font>
+</p><ul><font face="Courier">[.X., 1, .X.,.X.]-&gt;[ S0, 0, 0];</font>
+<br><font face="Courier">[.C., 0, 0, 1 ] -&gt; [ S0, 0, 0];</font>
+<br><font face="Courier">[.C., 1, 1, 0 ] -&gt; [ S0, 0, 1];</font></ul>
+</ul>
+
+<h2>
+10.&nbsp;<a name="Property"></a>Property Statements</h2>
+ABEL allows to give device specific statements using the property statement.
+This statement will be passed to the "Fitter" program during compilation.
+For the CPLD devices these properties include
+<ul>
+<li>
+Slew rates</li>
+
+<li>
+Logic optimizations</li>
+
+<li>
+Logic placement</li>
+
+<li>
+Power settings</li>
+
+<li>
+Preload values</li>
+</ul>
+
+<h2>
+11.&nbsp;<a name="Miscellaneous"></a>Miscellaneous</h2>
+
+<h3>
+a.&nbsp;<a name="Active-low"></a>Active-low declarations</h3>
+Active low signals are defined with a "!" operator, as shown below,
+<ul><font face="Courier">!OUT pin istype 'com' ;</font></ul>
+When this signal is used in a subsequent design description, it will be
+automatically complemented. As an example consider the following description,
+<ul><font face="Courier">module EXAMPLE</font>
+<p><font face="Courier">A, B pin ;</font>
+</p><p><font face="Courier">!OUT pin istype 'com';</font>
+</p><p><font face="Courier">equations</font>
+</p><p><font face="Courier">OUT = A &amp; !B # !A &amp; B ;</font>
+</p><p><font face="Courier">end</font></p></ul>
+In this example, the signal OUT is an XOR of A and B, i.e. OUT will be
+"1" (High, or ON) when only one of the inputs is "1", otherwise OUT is
+"0". However, the output pin is defined as !OUT , i.e. as an active-low
+signal, which means that the pin will go low "0" (Active-low or ON) when
+only one of the two inputs are "1". One could have obtained the same result
+by inverting the signal in the equations and declaring the pin to be OUT,
+as is shown in the following example. This is called <i>explicit pin-to-pin
+active-low</i> (because one uses active-low signals in the equations).
+<ul><font face="Courier">module EXAMPLE</font>
+<p><font face="Courier">A, B pin ;</font>
+</p><p><font face="Courier">OUT pin istype 'com';</font>
+</p><p><font face="Courier">equations</font>
+</p><p><font face="Courier">!OUT = A &amp; !B # !A &amp; B ;</font>
+</p><p><font face="Courier">end</font></p></ul>
+Active low can be specified for a set as well. As an example lets define
+the sets A,B and C.
+<ul><font face="Courier">A = [A2,A1,A0]; "set declaration</font>
+<br><font face="Courier">B = [B2,B1.B0]; "set declaration</font>
+<br><font face="Courier">X = [X2,X1.X0]; "set declaration</font>
+<p><font face="Courier">!X = A &amp; !B # !A &amp; B;</font></p></ul>
+The last equation is equivalent to writing
+<ul>!X0 = <font face="Courier">A0 &amp; !B0 # !A0 &amp; B0;</font>
+<br>!X1 = <font face="Courier">A1 &amp; !B1 # !A1 &amp; B1;</font>
+<br>!X2 = <font face="Courier">A2 &amp; !B2 # !A2 &amp; B2;</font></ul>
+
+<h2>
+<a name="References"></a>References</h2>
+
+<ul>
+<li>
+1. Xilinx-ABEL Design Software Reference Manual, Data I/O Corp., 1993.</li>
+
+<li>
+2. The ISP Application Guide and CPLD Data Book, Application Note XAPP075,
+1997, Xilinx, San Jose, CA, 1997.</li>
+
+<li>
+3. D. Van den Bout, "Xilinx FPGA Student Manual", Prentice Hall, Englewoods
+Cliff, NJ, 1997.</li>
+
+<li>
+4. R. Katz, "Contemporary Logic Design," Benjamin/Cummings Publ. Comp.,
+Redwood City, CA, 1995.</li>
+
+<li>
+5. J. Wakerly, "Digital Design," Prentice Hall, Englewoods Cliff, NJ, 1993.</li>
+
+<li>
+6. Xilinx Foundation Series, On-line documentation, Xilinx, San Jose, CA.</li>
+</ul>
+
+<h2>
+<a name="Acknowledgement"></a>Acknowledgement</h2>
+The support of Mr. Jason Feinsmith and the <b><i><font size="+1"><a href="http://www.xilinx.com/">Xilinx</a></font></i></b>Corporation
+is acknowledged for providing the XILINX Foundation M1(TM) Software and
+FPGA Demoboards for educational purposes.
+<h2>
+
+<hr size="4" width="100%"></h2>
+<font size="-1">Back to ABEL Primer <a href="#Contents">Contents</a> | To
+to <a href="http://www.ee.upenn.edu/rca/software/xilinx/foundation/commistakes.html">Common
+Mistakes</a> list | Go to the <a href="http://www.ee.upenn.edu/rca">EE
+Undergraduate Lab</a> Homepage | Go to <a href="http://www.ee.upenn.edu/rca/software/xilinx.html">Xilinx
+Lab Tutorial</a> Homepage | Go to the <a href="http://www.ee.upenn.edu/rca/software/xilinx/foundation/foundation.sch1.html">Foundation
+Tutorial</a> page | Go to <a href="http://www.seas.upenn.edu/%7Eee200/">EE200
+</a>or
+<a href="http://www.seas.upenn.edu/%7Eee200/lab/lab.html">EE200 Lab</a> Homepage
+| .</font>
+<hr width="100%">
+<p>Created by <a href="http://www.ee.upenn.edu/%7Ejan">J. Van der Spiegel</a>,
+&lt;jan@ee.upenn.edu&gt; Sept. 26, 1997; Updated August 13, 1999
+</p></body></html> \ No newline at end of file
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/abel_samples.zip b/Bachelor/Digitaltechnik 2/SS07/P6/abel_samples.zip
new file mode 100644
index 0000000..7c9c28a
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/abel_samples.zip
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/abel_samples.zip_FILES/add1b.abl b/Bachelor/Digitaltechnik 2/SS07/P6/abel_samples.zip_FILES/add1b.abl
new file mode 100644
index 0000000..52e7827
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/abel_samples.zip_FILES/add1b.abl
@@ -0,0 +1,26 @@
+MODULE adder_1bit
+
+TITLE 'Volladdierer mit Carry'
+
+DEClARATIONS
+ Bit_1 pin 15; // I/O 0, input
+ Bit_2 pin 16; // I/O 1, input
+ C_in pin 17; // I/O 2, input
+
+ Sum pin 29 istype 'com'; // I/O 12, output kombinatorisch
+ C_out pin 30 istype 'com'; // I/O 13, output kombinatorisch
+
+
+TRUTH_TABLE ( [Bit_1,Bit_2,C_in] -> [Sum,C_out] ) // Wahrheitstabelle des Volladdierers
+
+ [0 ,0 ,0 ] -> [0 ,0 ];
+ [0 ,0 ,1 ] -> [1 ,0 ];
+ [0 ,1 ,0 ] -> [1 ,0 ];
+ [0 ,1 ,1 ] -> [0 ,1 ];
+ [1 ,0 ,0 ] -> [1 ,0 ];
+ [1 ,0 ,1 ] -> [0 ,1 ];
+ [1 ,1 ,0 ] -> [0 ,1 ];
+ [1 ,1 ,1 ] -> [1 ,1 ];
+
+END
+
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/abel_samples.zip_FILES/count4b1.abl b/Bachelor/Digitaltechnik 2/SS07/P6/abel_samples.zip_FILES/count4b1.abl
new file mode 100644
index 0000000..257cd94
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/abel_samples.zip_FILES/count4b1.abl
@@ -0,0 +1,25 @@
+MODULE Counter_4_bit
+
+TITLE '0 ... 9, version with equations'
+
+DEClARATIONS
+ clk pin 15; " I/O 0, Eingang für den Takt
+ rst pin 16; " I/O 1, Eingang für das Reset Signal
+ ce pin 17; " I/O 2, Eingang für das Enable Signal
+ q3,q2,q1,q0 pin 29,30,31,32 istype 'reg'; " I/O 12, 13, 14, 15, Ausgang: Bits des Zählers, 15: 2^0
+ carry pin 44 istype 'reg'; // I/O 23, Ausgang für Carry
+
+" bus definition, vector, register
+ counter = [q3,q2,q1,q0];
+
+EQUATIONS
+ counter.clk = clk;
+ counter.ar = rst;
+ carry.clk = clk;
+ when (ce & (counter < 9)) then counter := counter + 1;
+ else when (ce & (counter >= 9)) then {counter := 0; carry := 1;}
+ else counter := counter;
+
+
+END
+
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/abel_samples.zip_FILES/count4b2.abl b/Bachelor/Digitaltechnik 2/SS07/P6/abel_samples.zip_FILES/count4b2.abl
new file mode 100644
index 0000000..545d92b
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/abel_samples.zip_FILES/count4b2.abl
@@ -0,0 +1,71 @@
+MODULE Counter_4_bit
+TITLE '0 ... 9, version with state diagram'
+DEClARATIONS
+ clk pin 15; " I/O 0, Eingang für den Takt
+ rst pin 16; " I/O 1, Eingang für das Reset Signal
+ ce pin 17; " I/O 2, Eingang für das Enable Signal
+ q3,q2,q1,q0 pin 29,30,31,32 istype 'reg'; " I/O 12, 13, 14, 15, Ausgang: Bits des Zählers, 15: 2^0
+ carry pin 44 istype 'reg'; // I/O 23, Ausgang für Carry
+
+" bus definition, vector, register
+ counter = [q3,q2,q1,q0];
+
+EQUATIONS
+ counter.clk = clk;
+ carry.clk = clk;
+
+STATE_DIAGRAM counter;
+ State 0:
+ if(!rst & ce) then 1; " Bei Erfüllung der Bedingung erfolgt ein Übergang in State 1
+ else 0;
+ State 1:
+ if (rst) then 0;
+ else if (ce) then 2;
+ else 1;
+ State 2:
+ if (rst) then 0;
+ else if (ce) then 3;
+ else 2;
+ State 3:
+ if (rst) then 0;
+ else if (ce) then 4;
+ else 3;
+ State 4:
+ if (rst) then 0;
+ else if (ce) then 5;
+ else 4;
+ State 5:
+ if (rst) then 0;
+ else if (ce) then 6;
+ else 5;
+ State 6:
+ if (rst) then 0;
+ else if (ce) then 7;
+ else 6;
+ State 7:
+ if (rst) then 0;
+ else if (ce) then 8;
+ else 7;
+ State 8:
+ if (rst) then 0;
+ else if (ce) then 9;
+ else 8;
+ State 9:
+ carry := 1;
+ if (rst) then 0;
+ else if (ce) then 0;
+ else 9;
+ State 10:
+ goto 0; " es erfolgt ein bedingungsloser Übergang in State 0
+ State 11:
+ goto 0;
+ State 12:
+ goto 0;
+ State 13:
+ goto 0;
+ State 14:
+ goto 0;
+ State 15:
+ goto 0;
+END
+
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/intro2k.pdf b/Bachelor/Digitaltechnik 2/SS07/P6/intro2k.pdf
new file mode 100644
index 0000000..25ee5a8
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/intro2k.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/ispLever_Kurzanleitung.pdf b/Bachelor/Digitaltechnik 2/SS07/P6/ispLever_Kurzanleitung.pdf
new file mode 100644
index 0000000..3ed22c3
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/ispLever_Kurzanleitung.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/p6.odt b/Bachelor/Digitaltechnik 2/SS07/P6/p6.odt
new file mode 100644
index 0000000..f3088c7
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/p6.odt
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/p6a1-state.dia b/Bachelor/Digitaltechnik 2/SS07/P6/p6a1-state.dia
new file mode 100644
index 0000000..fb7b6da
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/p6a1-state.dia
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/p6a1-state.png b/Bachelor/Digitaltechnik 2/SS07/P6/p6a1-state.png
new file mode 100644
index 0000000..29489f0
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/p6a1-state.png
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/p6a1-statetab.ods b/Bachelor/Digitaltechnik 2/SS07/P6/p6a1-statetab.ods
new file mode 100644
index 0000000..619fcaf
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/p6a1-statetab.ods
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/p6a1.abl b/Bachelor/Digitaltechnik 2/SS07/P6/p6a1.abl
new file mode 100755
index 0000000..739e7a5
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/p6a1.abl
@@ -0,0 +1,95 @@
+MODULE ampel1
+TITLE 'Ampelsteuerung 1, state diagram'
+DEClARATIONS
+ clk pin 15; " I/O 0, Eingang für den Takt
+ rst pin 16; " I/O 1, Eingang für das Reset Signal
+ ce pin 17; " I/O 2, Eingang für das Enable Signal
+ vg,vy,vr,fg,fr pin 25,26,27,28,29 istype 'reg'; " I/O 8,9,10,11,12
+
+" bus definition, vector, register
+ ampel = [vg,vy,vr,fg,fr];
+
+EQUATIONS
+ ampel.clk = clk;
+
+STATE_DIAGRAM ampel;
+ State 0:
+ if(!rst & ce) then 17; " Bei Erfüllung der Bedingung erfolgt ein Übergang in State 17
+ else 0;
+ State 1:
+ goto 0; " es erfolgt ein bedingungsloser Übergang in State 0
+ State 2:
+ goto 0;
+ State 3:
+ goto 0;
+ State 4:
+ goto 0;
+ State 5:
+ goto 0;
+ State 6:
+ if (rst) then 0;
+ else if (ce) then 13;
+ else 0;
+ State 7:
+ if (rst) then 0;
+ else if (ce) then 8;
+ else 7;
+ State 8:
+ if (rst) then 0;
+ else if (ce) then 9;
+ else 8;
+ State 9:
+ if (rst) then 0;
+ else if (ce) then 6;
+ else 0;
+ State 10:
+ goto 0; " es erfolgt ein bedingungsloser Übergang in State 0
+ State 11:
+ goto 0;
+ State 12:
+ goto 0;
+ State 13:
+ if (rst) then 0;
+ else if (ce) then 17;
+ else 0;
+ State 14:
+ goto 0;
+ State 15:
+ goto 0;
+ State 16:
+ goto 0;
+ State 17:
+ if (rst) then 0;
+ else if (ce) then 9;
+ else 0;
+ State 18:
+ goto 0;
+ State 19:
+ goto 0;
+ State 20:
+ goto 0;
+ State 21:
+ goto 0;
+ State 22:
+ goto 0;
+ State 23:
+ goto 0;
+ State 24:
+ goto 0;
+ State 25:
+ goto 0;
+ State 26:
+ goto 0;
+ State 27:
+ goto 0;
+ State 28:
+ goto 0;
+ State 29:
+ goto 0;
+ State 30:
+ goto 0;
+ State 31:
+ goto 0;
+
+END
+
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/p6a1b.abl b/Bachelor/Digitaltechnik 2/SS07/P6/p6a1b.abl
new file mode 100755
index 0000000..c3846ce
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/p6a1b.abl
@@ -0,0 +1,41 @@
+MODULE ampel1
+TITLE 'Ampelsteuerung 1, state diagram'
+DEClARATIONS
+ clk pin 15; " I/O 0, Eingang für den Takt
+ rst pin 16; " I/O 1, Eingang für das Reset Signal
+ ce pin 17; " I/O 2, Eingang für das Enable Signal
+ vg,vy,vr,fg,fr pin 25,26,27,28,29 istype 'reg'; " I/O 8,9,10,11,12
+ state0 node istype 'reg';
+ state1 node istype 'reg';
+
+" bus definition, vector, register
+ ampel = [vg,vy,vr,fg,fr];
+ states =[state0,state1];
+
+EQUATIONS
+ ampel.clk = clk;
+ states.clk = clk;
+
+STATE_DIAGRAM states;
+ State 0:
+ ampel:=17;
+ if(!rst & ce) then 1; " Bei Erfüllung der Bedingung erfolgt ein Übergang in State 1
+ else 0;
+ State 1:
+ ampel:=9;
+ if (rst) then 0;
+ else if (ce) then 2;
+ else 0;
+ State 2:
+ ampel:=6;
+ if (rst) then 0;
+ else if (ce) then 3;
+ else 0;
+ State 3:
+ ampel:=13;
+ if (rst) then 0;
+ else if (ce) then 0;
+ else 0;
+
+END
+
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/p6a2-state.dia b/Bachelor/Digitaltechnik 2/SS07/P6/p6a2-state.dia
new file mode 100644
index 0000000..b71dd0a
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/p6a2-state.dia
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/p6a2-state.png b/Bachelor/Digitaltechnik 2/SS07/P6/p6a2-state.png
new file mode 100644
index 0000000..749d261
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/p6a2-state.png
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/p6a2-statetab.ods b/Bachelor/Digitaltechnik 2/SS07/P6/p6a2-statetab.ods
new file mode 100644
index 0000000..4eba64e
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/p6a2-statetab.ods
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/p6a2.abl b/Bachelor/Digitaltechnik 2/SS07/P6/p6a2.abl
new file mode 100755
index 0000000..9f8f11f
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/p6a2.abl
@@ -0,0 +1,96 @@
+MODULE Ampel2
+TITLE 'Ampelsteuerung state diagram'
+DEClARATIONS
+ clk pin 15; " I/O 0, Eingang für den Takt
+ rst pin 16; " I/O 1, Eingang für das Reset Signal
+ ce pin 17; " I/O 2, Eingang für das Enable Signal
+ taste pin 18; " I/O 3, Eingang für das Tasten-Signal
+ vg,vy,vr,fg,fr pin 25,26,27,28,29 istype 'reg'; " I/O 8,9,10,11,12
+
+" bus definition, vector, register
+ ampel = [vg,vy,vr,fg,fr];
+
+EQUATIONS
+ ampel.clk = clk;
+
+STATE_DIAGRAM ampel;
+ State 0:
+ if(!rst & ce) then 17; " Bei Erfüllung der Bedingung erfolgt ein Übergang in State 17
+ else 0;
+ State 1:
+ goto 0; " es erfolgt ein bedingungsloser Übergang in State 0
+ State 2:
+ goto 0;
+ State 3:
+ goto 0;
+ State 4:
+ goto 0;
+ State 5:
+ goto 0;
+ State 6:
+ if (rst) then 0;
+ else if (ce) then 13;
+ else 0;
+ State 7:
+ if (rst) then 0;
+ else if (ce) then 8;
+ else 7;
+ State 8:
+ if (rst) then 0;
+ else if (ce) then 9;
+ else 8;
+ State 9:
+ if (rst) then 0;
+ else if (ce) then 6;
+ else 0;
+ State 10:
+ goto 0; " es erfolgt ein bedingungsloser Übergang in State 0
+ State 11:
+ goto 0;
+ State 12:
+ goto 0;
+ State 13:
+ if (rst) then 0;
+ else if (ce) then 17;
+ else 0;
+ State 14:
+ goto 0;
+ State 15:
+ goto 0;
+ State 16:
+ goto 0;
+ State 17:
+ if (rst) then 0;
+ else if (ce) then 9;
+ else 0;
+ State 18:
+ goto 0;
+ State 19:
+ goto 0;
+ State 20:
+ goto 0;
+ State 21:
+ goto 0;
+ State 22:
+ goto 0;
+ State 23:
+ goto 0;
+ State 24:
+ goto 0;
+ State 25:
+ goto 0;
+ State 26:
+ goto 0;
+ State 27:
+ goto 0;
+ State 28:
+ goto 0;
+ State 29:
+ goto 0;
+ State 30:
+ goto 0;
+ State 31:
+ goto 0;
+
+END
+
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/p6a2.xcf b/Bachelor/Digitaltechnik 2/SS07/P6/p6a2.xcf
new file mode 100755
index 0000000..5f380be
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/p6a2.xcf
@@ -0,0 +1,53 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE ispXCF SYSTEM "IspXCF.dtd" >
+<ispXCF version="15.4.3">
+ <Comment></Comment>
+ <Chain>
+ <Comm>JTAG</Comm>
+ <Device>
+ <Pos>1</Pos>
+ <Vendor>Lattice</Vendor>
+ <Family>ispLSI 2000VE</Family>
+ <Name>2032VE(VL)</Name>
+ <IDCode>0x10301043</IDCode>
+ <Package>All</Package>
+ <PON>ispLSI2032VE/VL</PON>
+ <Bypass>
+ <InstrLen>5</InstrLen>
+ <InstrVal>11111</InstrVal>
+ <BScanLen>1</BScanLen>
+ <BScanVal>0</BScanVal>
+ </Bypass>
+ <File>C:\Programme\ispTOOLS5_1_STRT\ispcpld\bin\untitled.jed</File>
+ <FileTime>06/20/07 14:58:00</FileTime>
+ <JedecChecksum>0xCA74</JedecChecksum>
+ <Operation>Erase,Program,Verify</Operation>
+ <Option>
+ <SVFVendor>JTAG STANDARD</SVFVendor>
+ <IOState>HighZ</IOState>
+ <IOVectorData>0x00000000000000000000000000</IOVectorData>
+ <OverideUES value="TRUE"/>
+ <TCKFrequency>1.000000 MHz</TCKFrequency>
+ <SVFProcessor>SVF Processor</SVFProcessor>
+ <Usercode>0xFFFFFFFF</Usercode>
+ </Option>
+ </Device>
+ </Chain>
+ <ProjectOptions>
+ <Program>SEQUENTIAL</Program>
+ <Process>ENTIRED CHAIN</Process>
+ <OperationOverride>No Override</OperationOverride>
+ <StartTAP>TLR</StartTAP>
+ <EndTAP>TLR</EndTAP>
+ <DeGlitch value="TRUE"/>
+ <VerifyUsercode value="TRUE"/>
+ <PinSetting>
+ TMS LOW;
+ TCK LOW;
+ TDI LOW;
+ TDO LOW;
+ CableEN HIGH;
+ ISPEN LOW;
+ </PinSetting>
+ </ProjectOptions>
+</ispXCF>
diff --git a/Bachelor/Digitaltechnik 2/SS07/P6/p6a2b.abl b/Bachelor/Digitaltechnik 2/SS07/P6/p6a2b.abl
new file mode 100755
index 0000000..88b56bb
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/P6/p6a2b.abl
@@ -0,0 +1,51 @@
+MODULE ampel2
+TITLE 'Ampelsteuerung 1, state diagram'
+DEClARATIONS
+ clk pin 15; " I/O 0, Eingang für den Takt
+ taste pin 18 istype 'reg'; " I/O 3, Eingang für das Enable Signal
+ vg,vy,vr,fg,fr pin 25,26,27,28,29 istype 'reg'; " I/O 8,9,10,11,12
+ state0 node istype 'reg';
+ state1 node istype 'reg';
+ state2 node istype 'reg';
+ tmp_taste node istype 'reg';
+
+" bus definition, vector, register
+ ampel = [vg,vy,vr,fg,fr];
+ states =[state0,state1,state2];
+
+EQUATIONS
+ ampel.clk = clk;
+ states.clk = clk;
+ tmp_taste.clk=clk;
+ tmp_taste.aset=taste;
+ tmp_taste.d=0;
+
+STATE_DIAGRAM states;
+ State 0:
+ ampel:=17;
+ if(tmp_taste == 1) then 1; " Bei Erfüllung der Bedingung erfolgt ein Übergang in State 1
+ else 0;
+ State 1:
+ ampel:=9;
+ goto 2;
+ State 2:
+ ampel:=5;
+ goto 3;
+ State 3:
+ ampel:=6;
+ goto 4;
+ State 4:
+ ampel:=6;
+ goto 5;
+ State 5:
+ ampel:=5;
+ goto 6;
+ State 6:
+ ampel:=13;
+ goto 0;
+ State 7:
+ ampel:=0;
+ goto 0;
+
+END
+
diff --git a/Bachelor/Digitaltechnik 2/SS07/Praktikum1.pdf b/Bachelor/Digitaltechnik 2/SS07/Praktikum1.pdf
new file mode 100644
index 0000000..3e9875e
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/Praktikum1.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/Praktikum2.pdf b/Bachelor/Digitaltechnik 2/SS07/Praktikum2.pdf
new file mode 100644
index 0000000..cb68573
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/Praktikum2.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/Praktikum3.pdf b/Bachelor/Digitaltechnik 2/SS07/Praktikum3.pdf
new file mode 100644
index 0000000..b97715c
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/Praktikum3.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/Praktikum4.pdf b/Bachelor/Digitaltechnik 2/SS07/Praktikum4.pdf
new file mode 100644
index 0000000..89c3a68
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/Praktikum4.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/Praktikum5.pdf b/Bachelor/Digitaltechnik 2/SS07/Praktikum5.pdf
new file mode 100644
index 0000000..f99b343
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/Praktikum5.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/Schaltnetze und Minimierung.pdf b/Bachelor/Digitaltechnik 2/SS07/Schaltnetze und Minimierung.pdf
new file mode 100644
index 0000000..399044c
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/Schaltnetze und Minimierung.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/dt2_mayer_praktikum_ss05.pdf b/Bachelor/Digitaltechnik 2/SS07/dt2_mayer_praktikum_ss05.pdf
new file mode 100755
index 0000000..dc6e2fa
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/dt2_mayer_praktikum_ss05.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p2a1-nor.sim b/Bachelor/Digitaltechnik 2/SS07/p2a1-nor.sim
new file mode 100644
index 0000000..e5b2620
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p2a1-nor.sim
@@ -0,0 +1,343 @@
+[/]
+Components=19
+Document Type=KSimus
+Document Version=KSimus 0.3.5
+
+[/Component 0/]
+Serial Number=15
+Type=Boolean/Input/Const True
+
+[/Component 0/Sheet/]
+Pos=176,0
+
+[/Component 1/]
+Serial Number=24
+Type=Boolean/Tristate/Gates/NOR Tristate
+
+[/Component 1/Sheet/]
+Pos=288,16
+
+[/Component 1/connPack/Input/]
+Connector Count=2
+
+[/Component 1/connPack/Input/Conn0/]
+Neg=true
+
+[/Component 1/connPack/Input/Conn1/]
+Neg=true
+
+[/Component 10/]
+Serial Number=30
+Type=Wire/Wire
+
+[/Component 10/Connections/]
+Number=2
+
+[/Component 10/Connections/Connection 0/]
+Component=7
+Connector=Output
+
+[/Component 10/Connections/Connection 1/]
+Component=25
+Connector=Input B
+
+[/Component 10/Property/]
+Type=wire/property/boolean
+
+[/Component 11/]
+Serial Number=31
+Type=Wire/Wire
+
+[/Component 11/Connections/]
+Number=6
+
+[/Component 11/Connections/Connection 0/]
+Component=15
+Connector=Output
+
+[/Component 11/Connections/Connection 1/]
+Component=24
+Connector=Enable Output
+
+[/Component 11/Connections/Connection 2/]
+Component=25
+Connector=Enable Output
+
+[/Component 11/Connections/Connection 3/]
+Component=26
+Connector=Enable Output
+
+[/Component 11/Connections/Connection 4/]
+Component=27
+Connector=Enable Output
+
+[/Component 11/Connections/Connection 5/]
+Component=28
+Connector=Enable Output
+
+[/Component 11/Property/]
+Type=wire/property/boolean
+
+[/Component 12/]
+Serial Number=33
+Type=Wire/Wire
+
+[/Component 12/Connections/]
+Number=2
+
+[/Component 12/Connections/Connection 0/]
+Component=25
+Connector=Output
+
+[/Component 12/Connections/Connection 1/]
+Component=27
+Connector=Input A
+
+[/Component 12/Property/]
+Type=wire/property/boolean tristate
+
+[/Component 13/]
+Serial Number=34
+Type=Wire/Wire
+
+[/Component 13/Connections/]
+Number=2
+
+[/Component 13/Connections/Connection 0/]
+Component=26
+Connector=Output
+
+[/Component 13/Connections/Connection 1/]
+Component=27
+Connector=Input B
+
+[/Component 13/Property/]
+Type=wire/property/boolean tristate
+
+[/Component 14/]
+Serial Number=35
+Type=Wire/Wire
+
+[/Component 14/Connections/]
+Number=2
+
+[/Component 14/Connections/Connection 0/]
+Component=5
+Connector=Output
+
+[/Component 14/Connections/Connection 1/]
+Component=24
+Connector=Input A
+
+[/Component 14/Property/]
+Type=wire/property/boolean
+
+[/Component 15/]
+Serial Number=36
+Type=Wire/Wire
+
+[/Component 15/Connections/]
+Number=2
+
+[/Component 15/Connections/Connection 0/]
+Component=27
+Connector=Output
+
+[/Component 15/Connections/Connection 1/]
+Component=28
+Connector=Input B
+
+[/Component 15/Property/]
+Type=wire/property/boolean tristate
+
+[/Component 16/]
+Serial Number=37
+Type=Wire/Wire
+
+[/Component 16/Connections/]
+Number=2
+
+[/Component 16/Connections/Connection 0/]
+Component=24
+Connector=Output
+
+[/Component 16/Connections/Connection 1/]
+Component=28
+Connector=Input A
+
+[/Component 16/Property/]
+Type=wire/property/boolean tristate
+
+[/Component 17/]
+Serial Number=38
+Type=Wire/Wire
+
+[/Component 17/Connections/]
+Number=4
+
+[/Component 17/Connections/Connection 0/]
+Component=28
+Connector=Output
+
+[/Component 17/Connections/Connection 1/]
+Component=4
+Connector=Input
+
+[/Component 17/Connections/Connection 2/]
+Component=26
+Connector=Input A
+
+[/Component 17/Connections/Connection 3/]
+Component=25
+Connector=Input A
+
+[/Component 17/Property/]
+Type=wire/property/boolean tristate
+
+[/Component 18/]
+Serial Number=32
+Type=Wire/Wire
+
+[/Component 18/Connections/]
+Number=3
+
+[/Component 18/Connections/Connection 0/]
+Component=23
+Connector=Output
+
+[/Component 18/Connections/Connection 1/]
+Component=26
+Connector=Input B
+
+[/Component 18/Connections/Connection 2/]
+Component=24
+Connector=Input B
+
+[/Component 18/Property/]
+Type=wire/property/boolean
+
+[/Component 2/]
+Serial Number=25
+Type=Boolean/Tristate/Gates/NOR Tristate
+
+[/Component 2/Sheet/]
+Pos=304,248
+
+[/Component 2/connPack/Input/]
+Connector Count=2
+
+[/Component 3/]
+Serial Number=26
+Type=Boolean/Tristate/Gates/NOR Tristate
+
+[/Component 3/Sheet/]
+Pos=296,144
+
+[/Component 3/connPack/Input/]
+Connector Count=2
+
+[/Component 4/]
+Serial Number=27
+Type=Boolean/Tristate/Gates/NOR Tristate
+
+[/Component 4/Sheet/]
+Pos=384,144
+
+[/Component 4/connPack/Input/]
+Connector Count=2
+
+[/Component 5/]
+Serial Number=28
+Type=Boolean/Tristate/Gates/NOR Tristate
+
+[/Component 5/Sheet/]
+Pos=568,120
+
+[/Component 5/connPack/Input/]
+Connector Count=2
+
+[/Component 6/]
+Color=0,255,0
+Name=Q
+Serial Number=4
+Type=Boolean/Output/LED
+
+[/Component 6/Sheet/]
+Pos=680,64
+Size=32,24
+
+[/Component 6/User/]
+Pos=0,32
+Size=24,24
+
+[/Component 7/]
+Frame Enabled=false
+Name=R
+Serial Number=5
+Type=Boolean/Input/Toggle Button
+
+[/Component 7/Sheet/]
+Pos=8,40
+Size=88,24
+
+[/Component 7/User/]
+Pos=144,64
+Size=80,24
+
+[/Component 8/]
+Frame Enabled=false
+Name=S
+Serial Number=7
+Type=Boolean/Input/Toggle Button
+
+[/Component 8/Sheet/]
+Pos=8,288
+Size=88,24
+
+[/Component 8/User/]
+Pos=144,104
+Size=80,24
+
+[/Component 9/]
+Frame Enabled=false
+Name=T
+Serial Number=23
+Type=Boolean/Input/Button
+
+[/Component 9/Sheet/]
+Pos=8,128
+Size=88,24
+
+[/Component 9/User/]
+Pos=0,64
+Size=80,24
+
+[/Document Property/]
+Last View=Sheet View
+Sheet Pos=0,0
+User Pos=0,0
+
+[/Document Property/Timing/]
+Dummy=true
+
+[/Document Property/Timing/Execution/]
+Time=100000000
+Unit=ms
+
+[/Document Property/Timing/Simulation/]
+Sychronized=true
+Time=100000000
+Unit=ms
+
+[/Document Property/Timing/Update/]
+Time=500000000
+Unit=ms
+
+[/Property/]
+Last Serial Number=49
+Sheetsize=1000,504
+Usersize=1000,504
+
+[/Property/Module/]
+Pixmap Store=Absolute
+ViewType=None
diff --git a/Bachelor/Digitaltechnik 2/SS07/p2a1.ods b/Bachelor/Digitaltechnik 2/SS07/p2a1.ods
new file mode 100644
index 0000000..86fc00b
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p2a1.ods
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p2a2.ods b/Bachelor/Digitaltechnik 2/SS07/p2a2.ods
new file mode 100644
index 0000000..8da00ea
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p2a2.ods
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p2a3.png b/Bachelor/Digitaltechnik 2/SS07/p2a3.png
new file mode 100644
index 0000000..1e1079c
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p2a3.png
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p2a4.png b/Bachelor/Digitaltechnik 2/SS07/p2a4.png
new file mode 100644
index 0000000..3746e7c
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p2a4.png
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p3.odt b/Bachelor/Digitaltechnik 2/SS07/p3.odt
new file mode 100644
index 0000000..ed88df3
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p3.odt
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p3.pdf b/Bachelor/Digitaltechnik 2/SS07/p3.pdf
new file mode 100644
index 0000000..30d8921
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p3.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p3a2.sim b/Bachelor/Digitaltechnik 2/SS07/p3a2.sim
new file mode 100644
index 0000000..e96e126
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p3a2.sim
@@ -0,0 +1,140 @@
+[/]
+Components=7
+Document Type=KSimus
+Document Version=KSimus 0.3.5
+
+[/Component 0/]
+Serial Number=1
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 0/Conn6/]
+Neg=true
+
+[/Component 0/Sheet/]
+Pos=216,112
+
+[/Component 1/]
+Serial Number=2
+Type=Boolean/Input/Const True
+
+[/Component 1/Sheet/]
+Pos=152,72
+
+[/Component 2/]
+Serial Number=6
+Type=Boolean/Gates/Clock Generator
+
+[/Component 2/High Time/]
+Time=5000000000
+Unit=s
+
+[/Component 2/Low Time/]
+Time=5000000000
+Unit=s
+
+[/Component 2/Sheet/]
+Pos=112,128
+
+[/Component 2/Start Delay/]
+Time=10000000000
+Unit=s
+
+[/Component 3/]
+Serial Number=4
+Type=Boolean/Output/LED
+
+[/Component 3/Sheet/]
+Pos=280,112
+Size=32,24
+
+[/Component 3/User/]
+Pos=0,32
+Size=24,24
+
+[/Component 4/]
+Serial Number=3
+Type=Wire/Wire
+
+[/Component 4/Connections/]
+Number=3
+
+[/Component 4/Connections/Connection 0/]
+Component=2
+Connector=Output
+
+[/Component 4/Connections/Connection 1/]
+Component=1
+Connector=J
+
+[/Component 4/Connections/Connection 2/]
+Component=1
+Connector=K
+
+[/Component 4/Property/]
+Type=wire/property/boolean
+
+[/Component 5/]
+Serial Number=5
+Type=Wire/Wire
+
+[/Component 5/Connections/]
+Number=2
+
+[/Component 5/Connections/Connection 0/]
+Component=1
+Connector=Output
+
+[/Component 5/Connections/Connection 1/]
+Component=4
+Connector=Input
+
+[/Component 5/Property/]
+Type=wire/property/boolean
+
+[/Component 6/]
+Serial Number=7
+Type=Wire/Wire
+
+[/Component 6/Connections/]
+Number=2
+
+[/Component 6/Connections/Connection 0/]
+Component=6
+Connector=Output
+
+[/Component 6/Connections/Connection 1/]
+Component=1
+Connector=Clock
+
+[/Component 6/Property/]
+Type=wire/property/boolean
+
+[/Document Property/]
+Last View=Sheet View
+Sheet Pos=0,0
+User Pos=0,0
+
+[/Document Property/Timing/]
+Dummy=true
+
+[/Document Property/Timing/Execution/]
+Time=100000000
+Unit=ms
+
+[/Document Property/Timing/Simulation/]
+Sychronized=true
+Time=100000000
+Unit=ms
+
+[/Document Property/Timing/Update/]
+Time=500000000
+Unit=ms
+
+[/Property/]
+Last Serial Number=7
+Sheetsize=1000,504
+Usersize=1000,504
+
+[/Property/Module/]
+Pixmap Store=Absolute
+ViewType=None
diff --git a/Bachelor/Digitaltechnik 2/SS07/p3a3.png b/Bachelor/Digitaltechnik 2/SS07/p3a3.png
new file mode 100644
index 0000000..f02b9fd
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p3a3.png
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p3a3.sim b/Bachelor/Digitaltechnik 2/SS07/p3a3.sim
new file mode 100644
index 0000000..08e4512
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p3a3.sim
@@ -0,0 +1,221 @@
+[/]
+Components=12
+Document Type=KSimus
+Document Version=KSimus 0.3.5
+
+[/Component 0/]
+Serial Number=1
+Type=Boolean/Gates/NOR
+
+[/Component 0/Sheet/]
+Pos=256,72
+
+[/Component 0/connPack/Input/]
+Connector Count=2
+
+[/Component 1/]
+Serial Number=2
+Type=Boolean/Gates/NOR
+
+[/Component 1/Sheet/]
+Pos=256,128
+
+[/Component 1/connPack/Input/]
+Connector Count=2
+
+[/Component 10/]
+Serial Number=9
+Type=Wire/Wire
+
+[/Component 10/Connections/]
+Number=4
+
+[/Component 10/Connections/Connection 0/]
+Component=1
+Connector=Output
+
+[/Component 10/Connections/Connection 1/]
+Component=2
+Connector=Input A
+
+[/Component 10/Connections/Connection 2/]
+Component=3
+Connector=Input A
+
+[/Component 10/Connections/Connection 3/]
+Component=11
+Connector=Input
+
+[/Component 10/Property/]
+Type=wire/property/boolean
+
+[/Component 11/]
+Serial Number=10
+Type=Wire/Wire
+
+[/Component 11/Connections/]
+Number=2
+
+[/Component 11/Connections/Connection 0/]
+Component=4
+Connector=Output
+
+[/Component 11/Connections/Connection 1/]
+Component=2
+Connector=Input B
+
+[/Component 11/Property/]
+Type=wire/property/boolean
+
+[/Component 2/]
+Serial Number=3
+Type=Boolean/Gates/AND
+
+[/Component 2/Sheet/]
+Pos=168,72
+
+[/Component 2/connPack/Input/]
+Connector Count=2
+
+[/Component 3/]
+Serial Number=4
+Type=Boolean/Gates/AND
+
+[/Component 3/Sheet/]
+Pos=168,128
+
+[/Component 3/connPack/Input/]
+Connector Count=2
+
+[/Component 4/]
+Frame Enabled=false
+Serial Number=5
+Type=Boolean/Input/Button
+
+[/Component 4/Sheet/]
+Pos=32,88
+Size=88,24
+
+[/Component 4/User/]
+Pos=0,32
+Size=80,24
+
+[/Component 5/]
+Serial Number=11
+Type=Boolean/Output/LED
+
+[/Component 5/Sheet/]
+Pos=344,72
+Size=32,24
+
+[/Component 5/User/]
+Pos=0,64
+Size=24,24
+
+[/Component 6/]
+Serial Number=12
+Type=Boolean/Output/LED
+
+[/Component 6/Sheet/]
+Pos=344,144
+Size=32,24
+
+[/Component 6/User/]
+Pos=0,96
+Size=24,24
+
+[/Component 7/]
+Serial Number=6
+Type=Wire/Wire
+
+[/Component 7/Connections/]
+Number=3
+
+[/Component 7/Connections/Connection 0/]
+Component=5
+Connector=Output
+
+[/Component 7/Connections/Connection 1/]
+Component=3
+Connector=Input B
+
+[/Component 7/Connections/Connection 2/]
+Component=4
+Connector=Input A
+
+[/Component 7/Property/]
+Type=wire/property/boolean
+
+[/Component 8/]
+Serial Number=7
+Type=Wire/Wire
+
+[/Component 8/Connections/]
+Number=4
+
+[/Component 8/Connections/Connection 0/]
+Component=2
+Connector=Output
+
+[/Component 8/Connections/Connection 1/]
+Component=1
+Connector=Input B
+
+[/Component 8/Connections/Connection 2/]
+Component=4
+Connector=Input B
+
+[/Component 8/Connections/Connection 3/]
+Component=12
+Connector=Input
+
+[/Component 8/Property/]
+Type=wire/property/boolean
+
+[/Component 9/]
+Serial Number=8
+Type=Wire/Wire
+
+[/Component 9/Connections/]
+Number=2
+
+[/Component 9/Connections/Connection 0/]
+Component=3
+Connector=Output
+
+[/Component 9/Connections/Connection 1/]
+Component=1
+Connector=Input A
+
+[/Component 9/Property/]
+Type=wire/property/boolean
+
+[/Document Property/]
+Last View=Sheet View
+Sheet Pos=0,0
+User Pos=0,0
+
+[/Document Property/Timing/]
+Dummy=true
+
+[/Document Property/Timing/Execution/]
+Time=100000000
+Unit=ms
+
+[/Document Property/Timing/Simulation/]
+Sychronized=true
+Time=100000000
+Unit=ms
+
+[/Document Property/Timing/Update/]
+Time=500000000
+Unit=ms
+
+[/Property/]
+Last Serial Number=13
+Sheetsize=1000,504
+Usersize=1000,504
+
+[/Property/Module/]
+Pixmap Store=Absolute
+ViewType=None
diff --git a/Bachelor/Digitaltechnik 2/SS07/p3a4.ods b/Bachelor/Digitaltechnik 2/SS07/p3a4.ods
new file mode 100644
index 0000000..a0eabd2
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p3a4.ods
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p3a4.sim b/Bachelor/Digitaltechnik 2/SS07/p3a4.sim
new file mode 100644
index 0000000..5b33c13
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p3a4.sim
@@ -0,0 +1,284 @@
+[/]
+Components=16
+Document Type=KSimus
+Document Version=KSimus 0.3.5
+
+[/Component 0/]
+Serial Number=1
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 0/Conn6/]
+Neg=true
+
+[/Component 0/Sheet/]
+Pos=112,96
+
+[/Component 1/]
+Serial Number=2
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 1/Conn6/]
+Neg=true
+
+[/Component 1/Sheet/]
+Pos=208,96
+
+[/Component 10/]
+Serial Number=10
+Type=Wire/Wire
+
+[/Component 10/Connections/]
+Number=4
+
+[/Component 10/Connections/Connection 0/]
+Component=9
+Connector=Output
+
+[/Component 10/Connections/Connection 1/]
+Component=1
+Connector=Clock
+
+[/Component 10/Connections/Connection 2/]
+Component=2
+Connector=Clock
+
+[/Component 10/Connections/Connection 3/]
+Component=3
+Connector=Clock
+
+[/Component 10/Property/]
+Type=wire/property/boolean
+
+[/Component 11/]
+Serial Number=11
+Type=Wire/Wire
+
+[/Component 11/Connections/]
+Number=3
+
+[/Component 11/Connections/Connection 0/]
+Component=1
+Connector=Output
+
+[/Component 11/Connections/Connection 1/]
+Component=4
+Connector=Input
+
+[/Component 11/Connections/Connection 2/]
+Component=17
+Connector=Input A
+
+[/Component 11/Property/]
+Type=wire/property/boolean
+
+[/Component 12/]
+Serial Number=12
+Type=Wire/Wire
+
+[/Component 12/Connections/]
+Number=4
+
+[/Component 12/Connections/Connection 0/]
+Component=2
+Connector=Output
+
+[/Component 12/Connections/Connection 1/]
+Component=5
+Connector=Input
+
+[/Component 12/Connections/Connection 2/]
+Component=3
+Connector=K
+
+[/Component 12/Connections/Connection 3/]
+Component=3
+Connector=J
+
+[/Component 12/Property/]
+Type=wire/property/boolean
+
+[/Component 13/]
+Serial Number=13
+Type=Wire/Wire
+
+[/Component 13/Connections/]
+Number=3
+
+[/Component 13/Connections/Connection 0/]
+Component=3
+Connector=Output
+
+[/Component 13/Connections/Connection 1/]
+Component=6
+Connector=Input
+
+[/Component 13/Connections/Connection 2/]
+Component=17
+Connector=Input B
+
+[/Component 13/Property/]
+Type=wire/property/boolean
+
+[/Component 14/]
+Serial Number=18
+Type=Wire/Wire
+
+[/Component 14/Connections/]
+Number=2
+
+[/Component 14/Connections/Connection 0/]
+Component=17
+Connector=Output
+
+[/Component 14/Connections/Connection 1/]
+Component=2
+Connector=K
+
+[/Component 14/Property/]
+Type=wire/property/boolean
+
+[/Component 15/]
+Serial Number=19
+Type=Wire/Wire
+
+[/Component 15/Connections/]
+Number=3
+
+[/Component 15/Connections/Connection 0/]
+Component=14
+Connector=Output
+
+[/Component 15/Connections/Connection 1/]
+Component=2
+Connector=J
+
+[/Component 15/Connections/Connection 2/]
+Component=1
+Connector=K
+
+[/Component 15/Property/]
+Type=wire/property/boolean
+
+[/Component 2/]
+Serial Number=3
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 2/Conn6/]
+Neg=true
+
+[/Component 2/Sheet/]
+Pos=312,104
+
+[/Component 3/]
+Serial Number=14
+Type=Boolean/Input/Const True
+
+[/Component 3/Sheet/]
+Pos=168,200
+
+[/Component 4/]
+Serial Number=17
+Type=Boolean/Gates/XNOR
+
+[/Component 4/Sheet/]
+Pos=288,200
+
+[/Component 4/connPack/Input/]
+Connector Count=2
+
+[/Component 5/]
+Serial Number=4
+Type=Boolean/Output/LED
+
+[/Component 5/Sheet/]
+Pos=512,88
+Size=32,24
+
+[/Component 5/User/]
+Pos=0,32
+Size=24,24
+
+[/Component 6/]
+Serial Number=5
+Type=Boolean/Output/LED
+
+[/Component 6/Sheet/]
+Pos=512,128
+Size=32,24
+
+[/Component 6/User/]
+Pos=0,64
+Size=24,24
+
+[/Component 7/]
+Serial Number=6
+Type=Boolean/Output/LED
+
+[/Component 7/Sheet/]
+Pos=512,168
+Size=32,24
+
+[/Component 7/User/]
+Pos=0,96
+Size=24,24
+
+[/Component 8/]
+Frame Enabled=false
+Serial Number=9
+Type=Boolean/Input/Button
+
+[/Component 8/Sheet/]
+Pos=8,168
+Size=88,24
+
+[/Component 8/User/]
+Pos=0,160
+Size=80,24
+
+[/Component 9/]
+Serial Number=8
+Type=Wire/Wire
+
+[/Component 9/Connections/]
+Number=2
+
+[/Component 9/Connections/Connection 0/]
+Component=2
+Connector=/Output
+
+[/Component 9/Connections/Connection 1/]
+Component=1
+Connector=J
+
+[/Component 9/Property/]
+Type=wire/property/boolean
+
+[/Document Property/]
+Last View=Sheet View
+Sheet Pos=0,0
+User Pos=0,0
+
+[/Document Property/Timing/]
+Dummy=true
+
+[/Document Property/Timing/Execution/]
+Time=100000000
+Unit=ms
+
+[/Document Property/Timing/Simulation/]
+Sychronized=true
+Time=100000000
+Unit=ms
+
+[/Document Property/Timing/Update/]
+Time=500000000
+Unit=ms
+
+[/Property/]
+Last Serial Number=19
+Sheetsize=1000,504
+Usersize=1000,504
+
+[/Property/Module/]
+Pixmap Store=Absolute
+ViewType=None
diff --git a/Bachelor/Digitaltechnik 2/SS07/p3a4b.sim b/Bachelor/Digitaltechnik 2/SS07/p3a4b.sim
new file mode 100644
index 0000000..4fc8ef0
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p3a4b.sim
@@ -0,0 +1,341 @@
+[/]
+Components=18
+Document Type=KSimus
+Document Version=KSimus 0.3.5
+
+[/Component 0/]
+Serial Number=1
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 0/Conn2/]
+Hide=false
+
+[/Component 0/Conn3/]
+Hide=false
+
+[/Component 0/Conn6/]
+Neg=true
+
+[/Component 0/Sheet/]
+Pos=128,96
+
+[/Component 1/]
+Serial Number=3
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 1/Conn2/]
+Hide=false
+
+[/Component 1/Conn3/]
+Hide=false
+
+[/Component 1/Conn6/]
+Neg=true
+
+[/Component 1/Sheet/]
+Pos=328,104
+
+[/Component 10/]
+Serial Number=11
+Type=Wire/Wire
+
+[/Component 10/Connections/]
+Number=3
+
+[/Component 10/Connections/Connection 0/]
+Component=1
+Connector=Output
+
+[/Component 10/Connections/Connection 1/]
+Component=4
+Connector=Input
+
+[/Component 10/Connections/Connection 2/]
+Component=17
+Connector=Input A
+
+[/Component 10/Property/]
+Type=wire/property/boolean
+
+[/Component 11/]
+Serial Number=13
+Type=Wire/Wire
+
+[/Component 11/Connections/]
+Number=3
+
+[/Component 11/Connections/Connection 0/]
+Component=3
+Connector=Output
+
+[/Component 11/Connections/Connection 1/]
+Component=6
+Connector=Input
+
+[/Component 11/Connections/Connection 2/]
+Component=17
+Connector=Input B
+
+[/Component 11/Property/]
+Type=wire/property/boolean
+
+[/Component 12/]
+Serial Number=12
+Type=Wire/Wire
+
+[/Component 12/Connections/]
+Number=4
+
+[/Component 12/Connections/Connection 0/]
+Component=2
+Connector=Output
+
+[/Component 12/Connections/Connection 1/]
+Component=5
+Connector=Input
+
+[/Component 12/Connections/Connection 2/]
+Component=3
+Connector=K
+
+[/Component 12/Connections/Connection 3/]
+Component=3
+Connector=J
+
+[/Component 12/Property/]
+Type=wire/property/boolean
+
+[/Component 13/]
+Serial Number=8
+Type=Wire/Wire
+
+[/Component 13/Connections/]
+Number=2
+
+[/Component 13/Connections/Connection 0/]
+Component=2
+Connector=/Output
+
+[/Component 13/Connections/Connection 1/]
+Component=1
+Connector=J
+
+[/Component 13/Property/]
+Type=wire/property/boolean
+
+[/Component 14/]
+Serial Number=24
+Type=Wire/Wire
+
+[/Component 14/Connections/]
+Number=4
+
+[/Component 14/Connections/Connection 0/]
+Component=20
+Connector=Output
+
+[/Component 14/Connections/Connection 1/]
+Component=1
+Connector=Set
+
+[/Component 14/Connections/Connection 2/]
+Component=2
+Connector=Set
+
+[/Component 14/Connections/Connection 3/]
+Component=3
+Connector=Reset
+
+[/Component 14/Property/]
+Type=wire/property/boolean
+
+[/Component 15/]
+Serial Number=19
+Type=Wire/Wire
+
+[/Component 15/Connections/]
+Number=3
+
+[/Component 15/Connections/Connection 0/]
+Component=14
+Connector=Output
+
+[/Component 15/Connections/Connection 1/]
+Component=2
+Connector=J
+
+[/Component 15/Connections/Connection 2/]
+Component=1
+Connector=K
+
+[/Component 15/Property/]
+Type=wire/property/boolean
+
+[/Component 16/]
+Serial Number=18
+Type=Wire/Wire
+
+[/Component 16/Connections/]
+Number=2
+
+[/Component 16/Connections/Connection 0/]
+Component=17
+Connector=Output
+
+[/Component 16/Connections/Connection 1/]
+Component=2
+Connector=K
+
+[/Component 16/Property/]
+Type=wire/property/boolean
+
+[/Component 17/]
+Serial Number=10
+Type=Wire/Wire
+
+[/Component 17/Connections/]
+Number=4
+
+[/Component 17/Connections/Connection 0/]
+Component=9
+Connector=Output
+
+[/Component 17/Connections/Connection 1/]
+Component=1
+Connector=Clock
+
+[/Component 17/Connections/Connection 2/]
+Component=2
+Connector=Clock
+
+[/Component 17/Connections/Connection 3/]
+Component=3
+Connector=Clock
+
+[/Component 17/Property/]
+Type=wire/property/boolean
+
+[/Component 2/]
+Serial Number=14
+Type=Boolean/Input/Const True
+
+[/Component 2/Sheet/]
+Pos=184,200
+
+[/Component 3/]
+Serial Number=17
+Type=Boolean/Gates/XNOR
+
+[/Component 3/Sheet/]
+Pos=304,200
+
+[/Component 3/connPack/Input/]
+Connector Count=2
+
+[/Component 4/]
+Serial Number=2
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 4/Conn2/]
+Hide=false
+
+[/Component 4/Conn3/]
+Hide=false
+
+[/Component 4/Conn6/]
+Neg=true
+
+[/Component 4/Sheet/]
+Pos=224,96
+
+[/Component 5/]
+Serial Number=4
+Type=Boolean/Output/LED
+
+[/Component 5/Sheet/]
+Pos=528,88
+Size=32,24
+
+[/Component 5/User/]
+Pos=0,32
+Size=24,24
+
+[/Component 6/]
+Serial Number=5
+Type=Boolean/Output/LED
+
+[/Component 6/Sheet/]
+Pos=528,128
+Size=32,24
+
+[/Component 6/User/]
+Pos=0,64
+Size=24,24
+
+[/Component 7/]
+Serial Number=6
+Type=Boolean/Output/LED
+
+[/Component 7/Sheet/]
+Pos=528,168
+Size=32,24
+
+[/Component 7/User/]
+Pos=0,96
+Size=24,24
+
+[/Component 8/]
+Frame Enabled=false
+Serial Number=9
+Type=Boolean/Input/Button
+
+[/Component 8/Sheet/]
+Pos=24,168
+Size=88,24
+
+[/Component 8/User/]
+Pos=0,160
+Size=80,24
+
+[/Component 9/]
+Frame Enabled=false
+Serial Number=20
+Type=Boolean/Input/Button
+
+[/Component 9/Sheet/]
+Pos=32,280
+Size=88,24
+
+[/Component 9/User/]
+Pos=0,128
+Size=80,24
+
+[/Document Property/]
+Last View=Sheet View
+Sheet Pos=0,0
+User Pos=0,0
+
+[/Document Property/Timing/]
+Dummy=true
+
+[/Document Property/Timing/Execution/]
+Time=100000000
+Unit=ms
+
+[/Document Property/Timing/Simulation/]
+Sychronized=true
+Time=100000000
+Unit=ms
+
+[/Document Property/Timing/Update/]
+Time=500000000
+Unit=ms
+
+[/Property/]
+Last Serial Number=24
+Sheetsize=1000,504
+Usersize=1000,504
+
+[/Property/Module/]
+Pixmap Store=Absolute
+ViewType=None
diff --git a/Bachelor/Digitaltechnik 2/SS07/p4.odt b/Bachelor/Digitaltechnik 2/SS07/p4.odt
new file mode 100644
index 0000000..1379850
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p4.odt
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p4.pdf b/Bachelor/Digitaltechnik 2/SS07/p4.pdf
new file mode 100644
index 0000000..0b12805
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p4.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p4a1.png b/Bachelor/Digitaltechnik 2/SS07/p4a1.png
new file mode 100644
index 0000000..d785c21
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p4a1.png
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p4a1.sim b/Bachelor/Digitaltechnik 2/SS07/p4a1.sim
new file mode 100644
index 0000000..87d26c1
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p4a1.sim
@@ -0,0 +1,318 @@
+[/]
+Components=13
+Document Type=KSimus
+Document Version=KSimus 0.3.5
+
+[/Component 0/]
+Serial Number=2
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 0/Conn2/]
+Hide=false
+Neg=true
+
+[/Component 0/Conn3/]
+Hide=false
+Neg=true
+
+[/Component 0/Conn6/]
+Neg=true
+
+[/Component 0/Sheet/]
+Pos=176,128
+
+[/Component 1/]
+Serial Number=3
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 1/Conn2/]
+Hide=false
+Neg=true
+
+[/Component 1/Conn3/]
+Hide=false
+Neg=true
+
+[/Component 1/Conn6/]
+Neg=true
+
+[/Component 1/Sheet/]
+Pos=256,128
+
+[/Component 10/]
+Serial Number=20
+Type=Wire/Wire
+
+[/Component 10/Connections/]
+Number=3
+
+[/Component 10/Connections/Connection 0/]
+Component=2
+Connector=Output
+
+[/Component 10/Connections/Connection 1/]
+Component=3
+Connector=Clock
+
+[/Component 10/Connections/Connection 2/]
+Component=1
+Connector=Input 1
+
+[/Component 10/Property/]
+Type=wire/property/boolean
+
+[/Component 11/]
+Serial Number=28
+Type=Wire/Wire
+
+[/Component 11/Connections/]
+Number=2
+
+[/Component 11/Connections/Connection 0/]
+Component=6
+Connector=Output
+
+[/Component 11/Connections/Connection 1/]
+Component=2
+Connector=Clock
+
+[/Component 11/Property/]
+Type=wire/property/boolean
+
+[/Component 12/]
+Serial Number=29
+Type=Wire/Wire
+
+[/Component 12/Connections/]
+Number=2
+
+[/Component 12/Connections/Connection 0/]
+Component=5
+Connector=Output
+
+[/Component 12/Connections/Connection 1/]
+Component=1
+Connector=Input 8
+
+[/Component 12/Property/]
+Type=wire/property/boolean
+
+[/Component 2/]
+Serial Number=4
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 2/Conn2/]
+Hide=false
+Neg=true
+
+[/Component 2/Conn3/]
+Hide=false
+Neg=true
+
+[/Component 2/Conn6/]
+Neg=true
+
+[/Component 2/Sheet/]
+Pos=344,128
+
+[/Component 3/]
+Serial Number=5
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 3/Conn2/]
+Hide=false
+Neg=true
+
+[/Component 3/Conn3/]
+Hide=false
+Neg=true
+
+[/Component 3/Conn6/]
+Neg=true
+
+[/Component 3/Sheet/]
+Pos=432,128
+
+[/Component 4/]
+Serial Number=7
+Type=Boolean/Input/Const True
+
+[/Component 4/Sheet/]
+Pos=112,80
+
+[/Component 5/]
+Serial Number=1
+Type=Boolean/Output/7 Segment Display
+
+[/Component 5/Sheet/]
+Pos=520,120
+Size=40,48
+
+[/Component 5/User/]
+Pos=0,48
+Size=32,48
+
+[/Component 6/]
+Frame Enabled=false
+Serial Number=6
+Type=Boolean/Input/Button
+
+[/Component 6/Sheet/]
+Pos=24,144
+Size=88,24
+
+[/Component 6/User/]
+Pos=0,96
+Size=80,24
+
+[/Component 7/]
+Serial Number=8
+Type=Wire/Wire
+
+[/Component 7/Connections/]
+Number=17
+
+[/Component 7/Connections/Connection 0/]
+Component=7
+Connector=Output
+
+[/Component 7/Connections/Connection 1/]
+Component=2
+Connector=J
+
+[/Component 7/Connections/Connection 10/]
+Component=2
+Connector=Reset
+
+[/Component 7/Connections/Connection 11/]
+Component=3
+Connector=Set
+
+[/Component 7/Connections/Connection 12/]
+Component=3
+Connector=Reset
+
+[/Component 7/Connections/Connection 13/]
+Component=4
+Connector=Set
+
+[/Component 7/Connections/Connection 14/]
+Component=4
+Connector=Reset
+
+[/Component 7/Connections/Connection 15/]
+Component=5
+Connector=Reset
+
+[/Component 7/Connections/Connection 16/]
+Component=5
+Connector=Set
+
+[/Component 7/Connections/Connection 2/]
+Component=2
+Connector=K
+
+[/Component 7/Connections/Connection 3/]
+Component=3
+Connector=J
+
+[/Component 7/Connections/Connection 4/]
+Component=3
+Connector=K
+
+[/Component 7/Connections/Connection 5/]
+Component=4
+Connector=J
+
+[/Component 7/Connections/Connection 6/]
+Component=4
+Connector=K
+
+[/Component 7/Connections/Connection 7/]
+Component=5
+Connector=J
+
+[/Component 7/Connections/Connection 8/]
+Component=5
+Connector=K
+
+[/Component 7/Connections/Connection 9/]
+Component=2
+Connector=Set
+
+[/Component 7/Property/]
+Type=wire/property/boolean
+
+[/Component 8/]
+Serial Number=18
+Type=Wire/Wire
+
+[/Component 8/Connections/]
+Number=3
+
+[/Component 8/Connections/Connection 0/]
+Component=4
+Connector=Output
+
+[/Component 8/Connections/Connection 1/]
+Component=5
+Connector=Clock
+
+[/Component 8/Connections/Connection 2/]
+Component=1
+Connector=Input 4
+
+[/Component 8/Property/]
+Type=wire/property/boolean
+
+[/Component 9/]
+Serial Number=19
+Type=Wire/Wire
+
+[/Component 9/Connections/]
+Number=3
+
+[/Component 9/Connections/Connection 0/]
+Component=3
+Connector=Output
+
+[/Component 9/Connections/Connection 1/]
+Component=4
+Connector=Clock
+
+[/Component 9/Connections/Connection 2/]
+Component=1
+Connector=Input 2
+
+[/Component 9/Property/]
+Type=wire/property/boolean
+
+[/Document Property/]
+Last View=Sheet View
+Sheet Pos=0,0
+User Pos=0,0
+
+[/Document Property/Timing/]
+Dummy=true
+
+[/Document Property/Timing/Execution/]
+Time=100000000
+Unit=ms
+
+[/Document Property/Timing/Simulation/]
+Sychronized=true
+Time=100000000
+Unit=ms
+
+[/Document Property/Timing/Update/]
+Time=500000000
+Unit=ms
+
+[/Property/]
+Last Serial Number=29
+Sheetsize=1000,504
+Usersize=1000,504
+
+[/Property/Module/]
+Pixmap Store=Absolute
+ViewType=None
diff --git a/Bachelor/Digitaltechnik 2/SS07/p4a2.ods b/Bachelor/Digitaltechnik 2/SS07/p4a2.ods
new file mode 100644
index 0000000..147d66a
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p4a2.ods
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p4a2.sim b/Bachelor/Digitaltechnik 2/SS07/p4a2.sim
new file mode 100644
index 0000000..03dbc14
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p4a2.sim
@@ -0,0 +1,353 @@
+[/]
+Components=15
+Document Type=KSimus
+Document Version=KSimus 0.3.5
+
+[/Component 0/]
+Serial Number=2
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 0/Conn2/]
+Hide=false
+Neg=true
+
+[/Component 0/Conn3/]
+Hide=false
+Neg=true
+
+[/Component 0/Conn6/]
+Neg=true
+
+[/Component 0/Sheet/]
+Pos=176,128
+
+[/Component 1/]
+Serial Number=3
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 1/Conn2/]
+Hide=false
+Neg=true
+
+[/Component 1/Conn3/]
+Hide=false
+Neg=true
+
+[/Component 1/Conn6/]
+Neg=true
+
+[/Component 1/Sheet/]
+Pos=256,128
+
+[/Component 10/]
+Serial Number=20
+Type=Wire/Wire
+
+[/Component 10/Connections/]
+Number=4
+
+[/Component 10/Connections/Connection 0/]
+Component=2
+Connector=Output
+
+[/Component 10/Connections/Connection 1/]
+Component=3
+Connector=Clock
+
+[/Component 10/Connections/Connection 2/]
+Component=1
+Connector=Input 1
+
+[/Component 10/Connections/Connection 3/]
+Component=30
+Connector=Input A
+
+[/Component 10/Property/]
+Type=wire/property/boolean
+
+[/Component 11/]
+Serial Number=28
+Type=Wire/Wire
+
+[/Component 11/Connections/]
+Number=2
+
+[/Component 11/Connections/Connection 0/]
+Component=6
+Connector=Output
+
+[/Component 11/Connections/Connection 1/]
+Component=2
+Connector=Clock
+
+[/Component 11/Property/]
+Type=wire/property/boolean
+
+[/Component 12/]
+Serial Number=29
+Type=Wire/Wire
+
+[/Component 12/Connections/]
+Number=3
+
+[/Component 12/Connections/Connection 0/]
+Component=5
+Connector=Output
+
+[/Component 12/Connections/Connection 1/]
+Component=1
+Connector=Input 8
+
+[/Component 12/Connections/Connection 2/]
+Component=30
+Connector=Input B
+
+[/Component 12/Property/]
+Type=wire/property/boolean
+
+[/Component 13/]
+Serial Number=34
+Type=Wire/Wire
+
+[/Component 13/Connections/]
+Number=13
+
+[/Component 13/Connections/Connection 0/]
+Component=7
+Connector=Output
+
+[/Component 13/Connections/Connection 1/]
+Component=3
+Connector=J
+
+[/Component 13/Connections/Connection 10/]
+Component=2
+Connector=K
+
+[/Component 13/Connections/Connection 11/]
+Component=5
+Connector=Set
+
+[/Component 13/Connections/Connection 12/]
+Component=5
+Connector=K
+
+[/Component 13/Connections/Connection 2/]
+Component=4
+Connector=J
+
+[/Component 13/Connections/Connection 3/]
+Component=3
+Connector=Set
+
+[/Component 13/Connections/Connection 4/]
+Component=4
+Connector=Set
+
+[/Component 13/Connections/Connection 5/]
+Component=3
+Connector=K
+
+[/Component 13/Connections/Connection 6/]
+Component=4
+Connector=K
+
+[/Component 13/Connections/Connection 7/]
+Component=2
+Connector=J
+
+[/Component 13/Connections/Connection 8/]
+Component=5
+Connector=J
+
+[/Component 13/Connections/Connection 9/]
+Component=2
+Connector=Set
+
+[/Component 13/Property/]
+Type=wire/property/boolean
+
+[/Component 14/]
+Serial Number=35
+Type=Wire/Wire
+
+[/Component 14/Connections/]
+Number=5
+
+[/Component 14/Connections/Connection 0/]
+Component=30
+Connector=Output
+
+[/Component 14/Connections/Connection 1/]
+Component=2
+Connector=Reset
+
+[/Component 14/Connections/Connection 2/]
+Component=3
+Connector=Reset
+
+[/Component 14/Connections/Connection 3/]
+Component=4
+Connector=Reset
+
+[/Component 14/Connections/Connection 4/]
+Component=5
+Connector=Reset
+
+[/Component 14/Property/]
+Type=wire/property/boolean
+
+[/Component 2/]
+Serial Number=4
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 2/Conn2/]
+Hide=false
+Neg=true
+
+[/Component 2/Conn3/]
+Hide=false
+Neg=true
+
+[/Component 2/Conn6/]
+Neg=true
+
+[/Component 2/Sheet/]
+Pos=344,128
+
+[/Component 3/]
+Serial Number=5
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 3/Conn2/]
+Hide=false
+Neg=true
+
+[/Component 3/Conn3/]
+Hide=false
+Neg=true
+
+[/Component 3/Conn6/]
+Neg=true
+
+[/Component 3/Sheet/]
+Pos=432,128
+
+[/Component 4/]
+Serial Number=7
+Type=Boolean/Input/Const True
+
+[/Component 4/Sheet/]
+Pos=112,80
+
+[/Component 5/]
+Serial Number=30
+Type=Boolean/Gates/AND
+
+[/Component 5/Conn0/]
+Neg=true
+
+[/Component 5/Sheet/]
+Pos=280,240
+
+[/Component 5/connPack/Input/]
+Connector Count=2
+
+[/Component 6/]
+Serial Number=1
+Type=Boolean/Output/7 Segment Display
+
+[/Component 6/Sheet/]
+Pos=520,120
+Size=40,48
+
+[/Component 6/User/]
+Pos=0,48
+Size=32,48
+
+[/Component 7/]
+Frame Enabled=false
+Serial Number=6
+Type=Boolean/Input/Button
+
+[/Component 7/Sheet/]
+Pos=24,144
+Size=88,24
+
+[/Component 7/User/]
+Pos=0,96
+Size=80,24
+
+[/Component 8/]
+Serial Number=18
+Type=Wire/Wire
+
+[/Component 8/Connections/]
+Number=3
+
+[/Component 8/Connections/Connection 0/]
+Component=4
+Connector=Output
+
+[/Component 8/Connections/Connection 1/]
+Component=5
+Connector=Clock
+
+[/Component 8/Connections/Connection 2/]
+Component=1
+Connector=Input 4
+
+[/Component 8/Property/]
+Type=wire/property/boolean
+
+[/Component 9/]
+Serial Number=19
+Type=Wire/Wire
+
+[/Component 9/Connections/]
+Number=3
+
+[/Component 9/Connections/Connection 0/]
+Component=3
+Connector=Output
+
+[/Component 9/Connections/Connection 1/]
+Component=4
+Connector=Clock
+
+[/Component 9/Connections/Connection 2/]
+Component=1
+Connector=Input 2
+
+[/Component 9/Property/]
+Type=wire/property/boolean
+
+[/Document Property/]
+Last View=Sheet View
+Sheet Pos=0,0
+User Pos=0,0
+
+[/Document Property/Timing/]
+Dummy=true
+
+[/Document Property/Timing/Execution/]
+Time=100000000
+Unit=ms
+
+[/Document Property/Timing/Simulation/]
+Sychronized=true
+Time=100000000
+Unit=ms
+
+[/Document Property/Timing/Update/]
+Time=500000000
+Unit=ms
+
+[/Property/]
+Last Serial Number=35
+Sheetsize=1000,504
+Usersize=1000,504
+
+[/Property/Module/]
+Pixmap Store=Absolute
+ViewType=None
diff --git a/Bachelor/Digitaltechnik 2/SS07/p4a2a.png b/Bachelor/Digitaltechnik 2/SS07/p4a2a.png
new file mode 100644
index 0000000..201e196
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p4a2a.png
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p4a2b.png b/Bachelor/Digitaltechnik 2/SS07/p4a2b.png
new file mode 100644
index 0000000..94ffc73
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p4a2b.png
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p4a2b.sim b/Bachelor/Digitaltechnik 2/SS07/p4a2b.sim
new file mode 100644
index 0000000..18d9cc1
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p4a2b.sim
@@ -0,0 +1,382 @@
+[/]
+Components=17
+Document Type=KSimus
+Document Version=KSimus 0.3.5
+
+[/Component 0/]
+Serial Number=2
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 0/Conn2/]
+Hide=false
+Neg=true
+
+[/Component 0/Conn3/]
+Hide=false
+Neg=true
+
+[/Component 0/Conn6/]
+Neg=true
+
+[/Component 0/Sheet/]
+Pos=176,128
+
+[/Component 1/]
+Serial Number=3
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 1/Conn2/]
+Hide=false
+Neg=true
+
+[/Component 1/Conn3/]
+Hide=false
+Neg=true
+
+[/Component 1/Conn6/]
+Neg=true
+
+[/Component 1/Sheet/]
+Pos=256,128
+
+[/Component 10/]
+Serial Number=19
+Type=Wire/Wire
+
+[/Component 10/Connections/]
+Number=3
+
+[/Component 10/Connections/Connection 0/]
+Component=3
+Connector=Output
+
+[/Component 10/Connections/Connection 1/]
+Component=4
+Connector=Clock
+
+[/Component 10/Connections/Connection 2/]
+Component=1
+Connector=Input 2
+
+[/Component 10/Property/]
+Type=wire/property/boolean
+
+[/Component 11/]
+Serial Number=20
+Type=Wire/Wire
+
+[/Component 11/Connections/]
+Number=4
+
+[/Component 11/Connections/Connection 0/]
+Component=2
+Connector=Output
+
+[/Component 11/Connections/Connection 1/]
+Component=3
+Connector=Clock
+
+[/Component 11/Connections/Connection 2/]
+Component=1
+Connector=Input 1
+
+[/Component 11/Connections/Connection 3/]
+Component=30
+Connector=Input A
+
+[/Component 11/Property/]
+Type=wire/property/boolean
+
+[/Component 12/]
+Serial Number=28
+Type=Wire/Wire
+
+[/Component 12/Connections/]
+Number=2
+
+[/Component 12/Connections/Connection 0/]
+Component=6
+Connector=Output
+
+[/Component 12/Connections/Connection 1/]
+Component=2
+Connector=Clock
+
+[/Component 12/Property/]
+Type=wire/property/boolean
+
+[/Component 13/]
+Serial Number=29
+Type=Wire/Wire
+
+[/Component 13/Connections/]
+Number=3
+
+[/Component 13/Connections/Connection 0/]
+Component=5
+Connector=Output
+
+[/Component 13/Connections/Connection 1/]
+Component=1
+Connector=Input 8
+
+[/Component 13/Connections/Connection 2/]
+Component=30
+Connector=Input B
+
+[/Component 13/Property/]
+Type=wire/property/boolean
+
+[/Component 14/]
+Serial Number=34
+Type=Wire/Wire
+
+[/Component 14/Connections/]
+Number=13
+
+[/Component 14/Connections/Connection 0/]
+Component=7
+Connector=Output
+
+[/Component 14/Connections/Connection 1/]
+Component=3
+Connector=J
+
+[/Component 14/Connections/Connection 10/]
+Component=2
+Connector=K
+
+[/Component 14/Connections/Connection 11/]
+Component=5
+Connector=Set
+
+[/Component 14/Connections/Connection 12/]
+Component=5
+Connector=K
+
+[/Component 14/Connections/Connection 2/]
+Component=4
+Connector=J
+
+[/Component 14/Connections/Connection 3/]
+Component=3
+Connector=Set
+
+[/Component 14/Connections/Connection 4/]
+Component=4
+Connector=Set
+
+[/Component 14/Connections/Connection 5/]
+Component=3
+Connector=K
+
+[/Component 14/Connections/Connection 6/]
+Component=4
+Connector=K
+
+[/Component 14/Connections/Connection 7/]
+Component=2
+Connector=J
+
+[/Component 14/Connections/Connection 8/]
+Component=5
+Connector=J
+
+[/Component 14/Connections/Connection 9/]
+Component=2
+Connector=Set
+
+[/Component 14/Property/]
+Type=wire/property/boolean
+
+[/Component 15/]
+Serial Number=37
+Type=Wire/Wire
+
+[/Component 15/Connections/]
+Number=2
+
+[/Component 15/Connections/Connection 0/]
+Component=30
+Connector=Output
+
+[/Component 15/Connections/Connection 1/]
+Component=36
+Connector=Set
+
+[/Component 15/Property/]
+Type=wire/property/boolean
+
+[/Component 16/]
+Serial Number=38
+Type=Wire/Wire
+
+[/Component 16/Connections/]
+Number=5
+
+[/Component 16/Connections/Connection 0/]
+Component=36
+Connector=/Output
+
+[/Component 16/Connections/Connection 1/]
+Component=2
+Connector=Reset
+
+[/Component 16/Connections/Connection 2/]
+Component=3
+Connector=Reset
+
+[/Component 16/Connections/Connection 3/]
+Component=4
+Connector=Reset
+
+[/Component 16/Connections/Connection 4/]
+Component=5
+Connector=Reset
+
+[/Component 16/Property/]
+Type=wire/property/boolean
+
+[/Component 2/]
+Serial Number=4
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 2/Conn2/]
+Hide=false
+Neg=true
+
+[/Component 2/Conn3/]
+Hide=false
+Neg=true
+
+[/Component 2/Conn6/]
+Neg=true
+
+[/Component 2/Sheet/]
+Pos=344,128
+
+[/Component 3/]
+Serial Number=5
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 3/Conn2/]
+Hide=false
+Neg=true
+
+[/Component 3/Conn3/]
+Hide=false
+Neg=true
+
+[/Component 3/Conn6/]
+Neg=true
+
+[/Component 3/Sheet/]
+Pos=432,128
+
+[/Component 4/]
+Serial Number=7
+Type=Boolean/Input/Const True
+
+[/Component 4/Sheet/]
+Pos=112,80
+
+[/Component 5/]
+Serial Number=30
+Type=Boolean/Gates/AND
+
+[/Component 5/Conn0/]
+Neg=true
+
+[/Component 5/Sheet/]
+Pos=280,240
+
+[/Component 5/connPack/Input/]
+Connector Count=2
+
+[/Component 6/]
+Serial Number=36
+Type=Boolean/Flip Flop/Mono Flop
+
+[/Component 6/High Time/]
+Time=5000000000
+Unit=s
+
+[/Component 6/Sheet/]
+Pos=336,240
+
+[/Component 7/]
+Serial Number=1
+Type=Boolean/Output/7 Segment Display
+
+[/Component 7/Sheet/]
+Pos=520,120
+Size=40,48
+
+[/Component 7/User/]
+Pos=0,48
+Size=32,48
+
+[/Component 8/]
+Frame Enabled=false
+Serial Number=6
+Type=Boolean/Input/Button
+
+[/Component 8/Sheet/]
+Pos=24,144
+Size=88,24
+
+[/Component 8/User/]
+Pos=0,96
+Size=80,24
+
+[/Component 9/]
+Serial Number=18
+Type=Wire/Wire
+
+[/Component 9/Connections/]
+Number=3
+
+[/Component 9/Connections/Connection 0/]
+Component=4
+Connector=Output
+
+[/Component 9/Connections/Connection 1/]
+Component=5
+Connector=Clock
+
+[/Component 9/Connections/Connection 2/]
+Component=1
+Connector=Input 4
+
+[/Component 9/Property/]
+Type=wire/property/boolean
+
+[/Document Property/]
+Last View=Sheet View
+Sheet Pos=0,0
+User Pos=0,0
+
+[/Document Property/Timing/]
+Dummy=true
+
+[/Document Property/Timing/Execution/]
+Time=100000000
+Unit=ms
+
+[/Document Property/Timing/Simulation/]
+Sychronized=true
+Time=100000000
+Unit=ms
+
+[/Document Property/Timing/Update/]
+Time=500000000
+Unit=ms
+
+[/Property/]
+Last Serial Number=38
+Sheetsize=1000,504
+Usersize=1000,504
+
+[/Property/Module/]
+Pixmap Store=Absolute
+ViewType=None
diff --git a/Bachelor/Digitaltechnik 2/SS07/p4a3-statedia.png b/Bachelor/Digitaltechnik 2/SS07/p4a3-statedia.png
new file mode 100644
index 0000000..0f50f0f
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p4a3-statedia.png
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p4a3.dia b/Bachelor/Digitaltechnik 2/SS07/p4a3.dia
new file mode 100644
index 0000000..4bb5d61
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p4a3.dia
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p4a3.ods b/Bachelor/Digitaltechnik 2/SS07/p4a3.ods
new file mode 100644
index 0000000..df06ba3
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p4a3.ods
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p4a3.png b/Bachelor/Digitaltechnik 2/SS07/p4a3.png
new file mode 100644
index 0000000..1b87bbb
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p4a3.png
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p4a3.sim b/Bachelor/Digitaltechnik 2/SS07/p4a3.sim
new file mode 100644
index 0000000..bb613a0
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p4a3.sim
@@ -0,0 +1,608 @@
+[/]
+Components=35
+Document Type=KSimus
+Document Version=KSimus 0.3.5
+
+[/Component 0/]
+Serial Number=6
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 0/Conn6/]
+Neg=true
+
+[/Component 0/Sheet/]
+Pos=192,104
+
+[/Component 1/]
+Serial Number=7
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 1/Conn6/]
+Neg=true
+
+[/Component 1/Sheet/]
+Pos=320,104
+
+[/Component 10/]
+Serial Number=22
+Type=Boolean/Gates/OR
+
+[/Component 10/Sheet/]
+Pos=600,624
+
+[/Component 10/connPack/Input/]
+Connector Count=2
+
+[/Component 11/]
+Serial Number=23
+Type=Boolean/Gates/OR
+
+[/Component 11/Sheet/]
+Pos=600,688
+
+[/Component 11/connPack/Input/]
+Connector Count=3
+
+[/Component 12/]
+Serial Number=36
+Type=Boolean/Gates/AND
+
+[/Component 12/Sheet/]
+Pos=688,656
+
+[/Component 12/connPack/Input/]
+Connector Count=2
+
+[/Component 13/]
+Frame Enabled=false
+Name=T
+Serial Number=1
+Type=Boolean/Input/Button
+
+[/Component 13/Sheet/]
+Pos=104,24
+Size=48,24
+
+[/Component 13/User/]
+Pos=0,32
+Size=80,24
+
+[/Component 14/]
+Serial Number=2
+Type=Boolean/Output/LED
+
+[/Component 14/Sheet/]
+Pos=248,8
+Size=32,24
+
+[/Component 14/User/]
+Pos=0,64
+Size=24,24
+
+[/Component 15/]
+Serial Number=3
+Type=Boolean/Output/LED
+
+[/Component 15/Sheet/]
+Pos=352,8
+Size=32,24
+
+[/Component 15/User/]
+Pos=0,96
+Size=24,24
+
+[/Component 16/]
+Serial Number=4
+Type=Boolean/Output/LED
+
+[/Component 16/Sheet/]
+Pos=456,8
+Size=32,24
+
+[/Component 16/User/]
+Pos=0,128
+Size=24,24
+
+[/Component 17/]
+Serial Number=5
+Type=Boolean/Output/LED
+
+[/Component 17/Sheet/]
+Pos=552,8
+Size=32,24
+
+[/Component 17/User/]
+Pos=0,160
+Size=24,24
+
+[/Component 18/]
+Serial Number=10
+Type=Wire/Wire
+
+[/Component 18/Connections/]
+Number=5
+
+[/Component 18/Connections/Connection 0/]
+Component=1
+Connector=Output
+
+[/Component 18/Connections/Connection 1/]
+Component=6
+Connector=Clock
+
+[/Component 18/Connections/Connection 2/]
+Component=7
+Connector=Clock
+
+[/Component 18/Connections/Connection 3/]
+Component=8
+Connector=Clock
+
+[/Component 18/Connections/Connection 4/]
+Component=9
+Connector=Clock
+
+[/Component 18/Property/]
+Type=wire/property/boolean
+
+[/Component 19/]
+Serial Number=12
+Type=Wire/Wire
+
+[/Component 19/Connections/]
+Number=6
+
+[/Component 19/Connections/Connection 0/]
+Component=7
+Connector=Output
+
+[/Component 19/Connections/Connection 1/]
+Component=3
+Connector=Input
+
+[/Component 19/Connections/Connection 2/]
+Component=15
+Connector=Input C
+
+[/Component 19/Connections/Connection 3/]
+Component=19
+Connector=Input B
+
+[/Component 19/Connections/Connection 4/]
+Component=21
+Connector=Input B
+
+[/Component 19/Connections/Connection 5/]
+Component=22
+Connector=Input B
+
+[/Component 19/Property/]
+Type=wire/property/boolean
+
+[/Component 2/]
+Serial Number=8
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 2/Conn6/]
+Neg=true
+
+[/Component 2/Sheet/]
+Pos=416,104
+
+[/Component 20/]
+Serial Number=13
+Type=Wire/Wire
+
+[/Component 20/Connections/]
+Number=5
+
+[/Component 20/Connections/Connection 0/]
+Component=8
+Connector=Output
+
+[/Component 20/Connections/Connection 1/]
+Component=4
+Connector=Input
+
+[/Component 20/Connections/Connection 2/]
+Component=16
+Connector=Input B
+
+[/Component 20/Connections/Connection 3/]
+Component=21
+Connector=Input A
+
+[/Component 20/Connections/Connection 4/]
+Component=23
+Connector=Input A
+
+[/Component 20/Property/]
+Type=wire/property/boolean
+
+[/Component 21/]
+Serial Number=24
+Type=Wire/Wire
+
+[/Component 21/Connections/]
+Number=3
+
+[/Component 21/Connections/Connection 0/]
+Component=9
+Connector=/Output
+
+[/Component 21/Connections/Connection 1/]
+Component=15
+Connector=Input A
+
+[/Component 21/Connections/Connection 2/]
+Component=16
+Connector=Input A
+
+[/Component 21/Property/]
+Type=wire/property/boolean
+
+[/Component 22/]
+Serial Number=25
+Type=Wire/Wire
+
+[/Component 22/Connections/]
+Number=3
+
+[/Component 22/Connections/Connection 0/]
+Component=8
+Connector=/Output
+
+[/Component 22/Connections/Connection 1/]
+Component=15
+Connector=Input B
+
+[/Component 22/Connections/Connection 2/]
+Component=22
+Connector=Input A
+
+[/Component 22/Property/]
+Type=wire/property/boolean
+
+[/Component 23/]
+Serial Number=26
+Type=Wire/Wire
+
+[/Component 23/Connections/]
+Number=2
+
+[/Component 23/Connections/Connection 0/]
+Component=15
+Connector=Output
+
+[/Component 23/Connections/Connection 1/]
+Component=6
+Connector=J
+
+[/Component 23/Property/]
+Type=wire/property/boolean
+
+[/Component 24/]
+Serial Number=28
+Type=Wire/Wire
+
+[/Component 24/Connections/]
+Number=2
+
+[/Component 24/Connections/Connection 0/]
+Component=17
+Connector=Output
+
+[/Component 24/Connections/Connection 1/]
+Component=7
+Connector=K
+
+[/Component 24/Property/]
+Type=wire/property/boolean
+
+[/Component 25/]
+Serial Number=29
+Type=Wire/Wire
+
+[/Component 25/Connections/]
+Number=6
+
+[/Component 25/Connections/Connection 0/]
+Component=9
+Connector=Output
+
+[/Component 25/Connections/Connection 1/]
+Component=5
+Connector=Input
+
+[/Component 25/Connections/Connection 2/]
+Component=6
+Connector=K
+
+[/Component 25/Connections/Connection 3/]
+Component=17
+Connector=Input B
+
+[/Component 25/Connections/Connection 4/]
+Component=18
+Connector=Input A
+
+[/Component 25/Connections/Connection 5/]
+Component=19
+Connector=Input A
+
+[/Component 25/Property/]
+Type=wire/property/boolean
+
+[/Component 26/]
+Serial Number=30
+Type=Wire/Wire
+
+[/Component 26/Connections/]
+Number=4
+
+[/Component 26/Connections/Connection 0/]
+Component=6
+Connector=Output
+
+[/Component 26/Connections/Connection 1/]
+Component=2
+Connector=Input
+
+[/Component 26/Connections/Connection 2/]
+Component=17
+Connector=Input A
+
+[/Component 26/Connections/Connection 3/]
+Component=23
+Connector=Input C
+
+[/Component 26/Property/]
+Type=wire/property/boolean
+
+[/Component 27/]
+Serial Number=31
+Type=Wire/Wire
+
+[/Component 27/Connections/]
+Number=2
+
+[/Component 27/Connections/Connection 0/]
+Component=16
+Connector=Output
+
+[/Component 27/Connections/Connection 1/]
+Component=7
+Connector=J
+
+[/Component 27/Property/]
+Type=wire/property/boolean
+
+[/Component 28/]
+Serial Number=32
+Type=Wire/Wire
+
+[/Component 28/Connections/]
+Number=2
+
+[/Component 28/Connections/Connection 0/]
+Component=18
+Connector=Output
+
+[/Component 28/Connections/Connection 1/]
+Component=8
+Connector=J
+
+[/Component 28/Property/]
+Type=wire/property/boolean
+
+[/Component 29/]
+Serial Number=33
+Type=Wire/Wire
+
+[/Component 29/Connections/]
+Number=3
+
+[/Component 29/Connections/Connection 0/]
+Component=7
+Connector=/Output
+
+[/Component 29/Connections/Connection 1/]
+Component=18
+Connector=Input B
+
+[/Component 29/Connections/Connection 2/]
+Component=23
+Connector=Input B
+
+[/Component 29/Property/]
+Type=wire/property/boolean
+
+[/Component 3/]
+Serial Number=9
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 3/Conn6/]
+Neg=true
+
+[/Component 3/Sheet/]
+Pos=512,104
+
+[/Component 30/]
+Serial Number=34
+Type=Wire/Wire
+
+[/Component 30/Connections/]
+Number=2
+
+[/Component 30/Connections/Connection 0/]
+Component=19
+Connector=Output
+
+[/Component 30/Connections/Connection 1/]
+Component=8
+Connector=K
+
+[/Component 30/Property/]
+Type=wire/property/boolean
+
+[/Component 31/]
+Serial Number=35
+Type=Wire/Wire
+
+[/Component 31/Connections/]
+Number=2
+
+[/Component 31/Connections/Connection 0/]
+Component=21
+Connector=Output
+
+[/Component 31/Connections/Connection 1/]
+Component=9
+Connector=K
+
+[/Component 31/Property/]
+Type=wire/property/boolean
+
+[/Component 32/]
+Serial Number=37
+Type=Wire/Wire
+
+[/Component 32/Connections/]
+Number=2
+
+[/Component 32/Connections/Connection 0/]
+Component=22
+Connector=Output
+
+[/Component 32/Connections/Connection 1/]
+Component=36
+Connector=Input A
+
+[/Component 32/Property/]
+Type=wire/property/boolean
+
+[/Component 33/]
+Serial Number=38
+Type=Wire/Wire
+
+[/Component 33/Connections/]
+Number=2
+
+[/Component 33/Connections/Connection 0/]
+Component=23
+Connector=Output
+
+[/Component 33/Connections/Connection 1/]
+Component=36
+Connector=Input B
+
+[/Component 33/Property/]
+Type=wire/property/boolean
+
+[/Component 34/]
+Serial Number=39
+Type=Wire/Wire
+
+[/Component 34/Connections/]
+Number=2
+
+[/Component 34/Connections/Connection 0/]
+Component=36
+Connector=Output
+
+[/Component 34/Connections/Connection 1/]
+Component=9
+Connector=J
+
+[/Component 34/Property/]
+Type=wire/property/boolean
+
+[/Component 4/]
+Serial Number=15
+Type=Boolean/Gates/AND
+
+[/Component 4/Sheet/]
+Pos=600,264
+
+[/Component 4/connPack/Input/]
+Connector Count=3
+
+[/Component 5/]
+Serial Number=16
+Type=Boolean/Gates/AND
+
+[/Component 5/Sheet/]
+Pos=600,336
+
+[/Component 5/connPack/Input/]
+Connector Count=2
+
+[/Component 6/]
+Serial Number=17
+Type=Boolean/Gates/AND
+
+[/Component 6/Sheet/]
+Pos=600,392
+
+[/Component 6/connPack/Input/]
+Connector Count=2
+
+[/Component 7/]
+Serial Number=18
+Type=Boolean/Gates/AND
+
+[/Component 7/Sheet/]
+Pos=600,440
+
+[/Component 7/connPack/Input/]
+Connector Count=2
+
+[/Component 8/]
+Serial Number=19
+Type=Boolean/Gates/AND
+
+[/Component 8/Sheet/]
+Pos=600,496
+
+[/Component 8/connPack/Input/]
+Connector Count=2
+
+[/Component 9/]
+Serial Number=21
+Type=Boolean/Gates/XOR
+
+[/Component 9/Sheet/]
+Pos=600,560
+
+[/Component 9/connPack/Input/]
+Connector Count=2
+
+[/Document Property/]
+Last View=Sheet View
+Sheet Pos=95,0
+User Pos=0,0
+
+[/Document Property/Timing/]
+Dummy=true
+
+[/Document Property/Timing/Execution/]
+Time=100000000
+Unit=ms
+
+[/Document Property/Timing/Simulation/]
+Sychronized=true
+Time=100000000
+Unit=ms
+
+[/Document Property/Timing/Update/]
+Time=500000000
+Unit=ms
+
+[/Property/]
+Last Serial Number=39
+Sheetsize=1072,784
+Usersize=1000,504
+
+[/Property/Module/]
+Pixmap Store=Absolute
+ViewType=None
diff --git a/Bachelor/Digitaltechnik 2/SS07/p4a4-statedia.png b/Bachelor/Digitaltechnik 2/SS07/p4a4-statedia.png
new file mode 100644
index 0000000..a5251f6
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p4a4-statedia.png
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p4a4.dia b/Bachelor/Digitaltechnik 2/SS07/p4a4.dia
new file mode 100644
index 0000000..5dcae76
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p4a4.dia
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p4a4.ods b/Bachelor/Digitaltechnik 2/SS07/p4a4.ods
new file mode 100644
index 0000000..e49fa57
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p4a4.ods
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p4a4.png b/Bachelor/Digitaltechnik 2/SS07/p4a4.png
new file mode 100644
index 0000000..b93c3e7
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p4a4.png
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/SS07/p4a4.sim b/Bachelor/Digitaltechnik 2/SS07/p4a4.sim
new file mode 100644
index 0000000..f59140a
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p4a4.sim
@@ -0,0 +1,690 @@
+[/]
+Components=40
+Document Type=KSimus
+Document Version=KSimus 0.3.5
+
+[/Component 0/]
+Serial Number=6
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 0/Conn6/]
+Neg=true
+
+[/Component 0/Sheet/]
+Pos=192,104
+
+[/Component 1/]
+Serial Number=7
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 1/Conn6/]
+Neg=true
+
+[/Component 1/Sheet/]
+Pos=320,104
+
+[/Component 10/]
+Serial Number=22
+Type=Boolean/Gates/OR
+
+[/Component 10/Sheet/]
+Pos=600,624
+
+[/Component 10/connPack/Input/]
+Connector Count=2
+
+[/Component 11/]
+Serial Number=23
+Type=Boolean/Gates/OR
+
+[/Component 11/Sheet/]
+Pos=600,688
+
+[/Component 11/connPack/Input/]
+Connector Count=3
+
+[/Component 12/]
+Serial Number=36
+Type=Boolean/Gates/AND
+
+[/Component 12/Sheet/]
+Pos=688,656
+
+[/Component 12/connPack/Input/]
+Connector Count=2
+
+[/Component 13/]
+Serial Number=41
+Type=Boolean/Gates/OR
+
+[/Component 13/Sheet/]
+Pos=120,240
+
+[/Component 13/connPack/Input/]
+Connector Count=2
+
+[/Component 14/]
+Serial Number=44
+Type=Boolean/Gates/OR
+
+[/Component 14/Sheet/]
+Pos=440,424
+
+[/Component 14/connPack/Input/]
+Connector Count=2
+
+[/Component 15/]
+Frame Enabled=false
+Name=T
+Serial Number=1
+Type=Boolean/Input/Button
+
+[/Component 15/Sheet/]
+Pos=104,24
+Size=48,24
+
+[/Component 15/User/]
+Pos=0,32
+Size=80,24
+
+[/Component 16/]
+Serial Number=2
+Type=Boolean/Output/LED
+
+[/Component 16/Sheet/]
+Pos=248,8
+Size=32,24
+
+[/Component 16/User/]
+Pos=0,64
+Size=24,24
+
+[/Component 17/]
+Serial Number=3
+Type=Boolean/Output/LED
+
+[/Component 17/Sheet/]
+Pos=352,8
+Size=32,24
+
+[/Component 17/User/]
+Pos=0,96
+Size=24,24
+
+[/Component 18/]
+Serial Number=4
+Type=Boolean/Output/LED
+
+[/Component 18/Sheet/]
+Pos=456,8
+Size=32,24
+
+[/Component 18/User/]
+Pos=0,128
+Size=24,24
+
+[/Component 19/]
+Serial Number=5
+Type=Boolean/Output/LED
+
+[/Component 19/Sheet/]
+Pos=552,8
+Size=32,24
+
+[/Component 19/User/]
+Pos=0,160
+Size=24,24
+
+[/Component 2/]
+Serial Number=8
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 2/Conn6/]
+Neg=true
+
+[/Component 2/Sheet/]
+Pos=416,104
+
+[/Component 20/]
+Serial Number=10
+Type=Wire/Wire
+
+[/Component 20/Connections/]
+Number=5
+
+[/Component 20/Connections/Connection 0/]
+Component=1
+Connector=Output
+
+[/Component 20/Connections/Connection 1/]
+Component=6
+Connector=Clock
+
+[/Component 20/Connections/Connection 2/]
+Component=7
+Connector=Clock
+
+[/Component 20/Connections/Connection 3/]
+Component=8
+Connector=Clock
+
+[/Component 20/Connections/Connection 4/]
+Component=9
+Connector=Clock
+
+[/Component 20/Property/]
+Type=wire/property/boolean
+
+[/Component 21/]
+Serial Number=12
+Type=Wire/Wire
+
+[/Component 21/Connections/]
+Number=6
+
+[/Component 21/Connections/Connection 0/]
+Component=7
+Connector=Output
+
+[/Component 21/Connections/Connection 1/]
+Component=3
+Connector=Input
+
+[/Component 21/Connections/Connection 2/]
+Component=15
+Connector=Input C
+
+[/Component 21/Connections/Connection 3/]
+Component=19
+Connector=Input B
+
+[/Component 21/Connections/Connection 4/]
+Component=21
+Connector=Input B
+
+[/Component 21/Connections/Connection 5/]
+Component=22
+Connector=Input B
+
+[/Component 21/Property/]
+Type=wire/property/boolean
+
+[/Component 22/]
+Serial Number=13
+Type=Wire/Wire
+
+[/Component 22/Connections/]
+Number=6
+
+[/Component 22/Connections/Connection 0/]
+Component=8
+Connector=Output
+
+[/Component 22/Connections/Connection 1/]
+Component=4
+Connector=Input
+
+[/Component 22/Connections/Connection 2/]
+Component=16
+Connector=Input B
+
+[/Component 22/Connections/Connection 3/]
+Component=21
+Connector=Input A
+
+[/Component 22/Connections/Connection 4/]
+Component=23
+Connector=Input A
+
+[/Component 22/Connections/Connection 5/]
+Component=41
+Connector=Input A
+
+[/Component 22/Property/]
+Type=wire/property/boolean
+
+[/Component 23/]
+Serial Number=24
+Type=Wire/Wire
+
+[/Component 23/Connections/]
+Number=3
+
+[/Component 23/Connections/Connection 0/]
+Component=9
+Connector=/Output
+
+[/Component 23/Connections/Connection 1/]
+Component=15
+Connector=Input A
+
+[/Component 23/Connections/Connection 2/]
+Component=16
+Connector=Input A
+
+[/Component 23/Property/]
+Type=wire/property/boolean
+
+[/Component 24/]
+Serial Number=25
+Type=Wire/Wire
+
+[/Component 24/Connections/]
+Number=3
+
+[/Component 24/Connections/Connection 0/]
+Component=8
+Connector=/Output
+
+[/Component 24/Connections/Connection 1/]
+Component=15
+Connector=Input B
+
+[/Component 24/Connections/Connection 2/]
+Component=22
+Connector=Input A
+
+[/Component 24/Property/]
+Type=wire/property/boolean
+
+[/Component 25/]
+Serial Number=26
+Type=Wire/Wire
+
+[/Component 25/Connections/]
+Number=2
+
+[/Component 25/Connections/Connection 0/]
+Component=15
+Connector=Output
+
+[/Component 25/Connections/Connection 1/]
+Component=6
+Connector=J
+
+[/Component 25/Property/]
+Type=wire/property/boolean
+
+[/Component 26/]
+Serial Number=28
+Type=Wire/Wire
+
+[/Component 26/Connections/]
+Number=2
+
+[/Component 26/Connections/Connection 0/]
+Component=17
+Connector=Output
+
+[/Component 26/Connections/Connection 1/]
+Component=7
+Connector=K
+
+[/Component 26/Property/]
+Type=wire/property/boolean
+
+[/Component 27/]
+Serial Number=30
+Type=Wire/Wire
+
+[/Component 27/Connections/]
+Number=5
+
+[/Component 27/Connections/Connection 0/]
+Component=6
+Connector=Output
+
+[/Component 27/Connections/Connection 1/]
+Component=2
+Connector=Input
+
+[/Component 27/Connections/Connection 2/]
+Component=17
+Connector=Input A
+
+[/Component 27/Connections/Connection 3/]
+Component=23
+Connector=Input C
+
+[/Component 27/Connections/Connection 4/]
+Component=44
+Connector=Input B
+
+[/Component 27/Property/]
+Type=wire/property/boolean
+
+[/Component 28/]
+Serial Number=31
+Type=Wire/Wire
+
+[/Component 28/Connections/]
+Number=2
+
+[/Component 28/Connections/Connection 0/]
+Component=16
+Connector=Output
+
+[/Component 28/Connections/Connection 1/]
+Component=7
+Connector=J
+
+[/Component 28/Property/]
+Type=wire/property/boolean
+
+[/Component 29/]
+Serial Number=32
+Type=Wire/Wire
+
+[/Component 29/Connections/]
+Number=2
+
+[/Component 29/Connections/Connection 0/]
+Component=18
+Connector=Output
+
+[/Component 29/Connections/Connection 1/]
+Component=8
+Connector=J
+
+[/Component 29/Property/]
+Type=wire/property/boolean
+
+[/Component 3/]
+Serial Number=9
+Type=Boolean/Flip Flop/JK-FF
+
+[/Component 3/Conn6/]
+Neg=true
+
+[/Component 3/Sheet/]
+Pos=512,104
+
+[/Component 30/]
+Serial Number=33
+Type=Wire/Wire
+
+[/Component 30/Connections/]
+Number=3
+
+[/Component 30/Connections/Connection 0/]
+Component=7
+Connector=/Output
+
+[/Component 30/Connections/Connection 1/]
+Component=18
+Connector=Input B
+
+[/Component 30/Connections/Connection 2/]
+Component=23
+Connector=Input B
+
+[/Component 30/Property/]
+Type=wire/property/boolean
+
+[/Component 31/]
+Serial Number=35
+Type=Wire/Wire
+
+[/Component 31/Connections/]
+Number=2
+
+[/Component 31/Connections/Connection 0/]
+Component=21
+Connector=Output
+
+[/Component 31/Connections/Connection 1/]
+Component=9
+Connector=K
+
+[/Component 31/Property/]
+Type=wire/property/boolean
+
+[/Component 32/]
+Serial Number=37
+Type=Wire/Wire
+
+[/Component 32/Connections/]
+Number=2
+
+[/Component 32/Connections/Connection 0/]
+Component=22
+Connector=Output
+
+[/Component 32/Connections/Connection 1/]
+Component=36
+Connector=Input A
+
+[/Component 32/Property/]
+Type=wire/property/boolean
+
+[/Component 33/]
+Serial Number=38
+Type=Wire/Wire
+
+[/Component 33/Connections/]
+Number=2
+
+[/Component 33/Connections/Connection 0/]
+Component=23
+Connector=Output
+
+[/Component 33/Connections/Connection 1/]
+Component=36
+Connector=Input B
+
+[/Component 33/Property/]
+Type=wire/property/boolean
+
+[/Component 34/]
+Serial Number=39
+Type=Wire/Wire
+
+[/Component 34/Connections/]
+Number=2
+
+[/Component 34/Connections/Connection 0/]
+Component=36
+Connector=Output
+
+[/Component 34/Connections/Connection 1/]
+Component=9
+Connector=J
+
+[/Component 34/Property/]
+Type=wire/property/boolean
+
+[/Component 35/]
+Serial Number=40
+Type=Wire/Wire
+
+[/Component 35/Connections/]
+Number=6
+
+[/Component 35/Connections/Connection 0/]
+Component=9
+Connector=Output
+
+[/Component 35/Connections/Connection 1/]
+Component=17
+Connector=Input B
+
+[/Component 35/Connections/Connection 2/]
+Component=18
+Connector=Input A
+
+[/Component 35/Connections/Connection 3/]
+Component=5
+Connector=Input
+
+[/Component 35/Connections/Connection 4/]
+Component=19
+Connector=Input A
+
+[/Component 35/Connections/Connection 5/]
+Component=41
+Connector=Input B
+
+[/Component 35/Property/]
+Type=wire/property/boolean
+
+[/Component 36/]
+Serial Number=42
+Type=Wire/Wire
+
+[/Component 36/Connections/]
+Number=2
+
+[/Component 36/Connections/Connection 0/]
+Component=41
+Connector=Output
+
+[/Component 36/Connections/Connection 1/]
+Component=6
+Connector=K
+
+[/Component 36/Property/]
+Type=wire/property/boolean
+
+[/Component 37/]
+Serial Number=43
+Type=Wire/Wire
+
+[/Component 37/Connections/]
+Number=2
+
+[/Component 37/Connections/Connection 0/]
+Component=6
+Connector=/Output
+
+[/Component 37/Connections/Connection 1/]
+Component=16
+Connector=Input C
+
+[/Component 37/Property/]
+Type=wire/property/boolean
+
+[/Component 38/]
+Serial Number=45
+Type=Wire/Wire
+
+[/Component 38/Connections/]
+Number=2
+
+[/Component 38/Connections/Connection 0/]
+Component=44
+Connector=Output
+
+[/Component 38/Connections/Connection 1/]
+Component=8
+Connector=K
+
+[/Component 38/Property/]
+Type=wire/property/boolean
+
+[/Component 39/]
+Serial Number=46
+Type=Wire/Wire
+
+[/Component 39/Connections/]
+Number=2
+
+[/Component 39/Connections/Connection 0/]
+Component=19
+Connector=Output
+
+[/Component 39/Connections/Connection 1/]
+Component=44
+Connector=Input A
+
+[/Component 39/Property/]
+Type=wire/property/boolean
+
+[/Component 4/]
+Serial Number=15
+Type=Boolean/Gates/AND
+
+[/Component 4/Sheet/]
+Pos=600,264
+
+[/Component 4/connPack/Input/]
+Connector Count=3
+
+[/Component 5/]
+Serial Number=16
+Type=Boolean/Gates/AND
+
+[/Component 5/Sheet/]
+Pos=600,328
+
+[/Component 5/connPack/Input/]
+Connector Count=3
+
+[/Component 6/]
+Serial Number=17
+Type=Boolean/Gates/AND
+
+[/Component 6/Sheet/]
+Pos=600,392
+
+[/Component 6/connPack/Input/]
+Connector Count=2
+
+[/Component 7/]
+Serial Number=18
+Type=Boolean/Gates/AND
+
+[/Component 7/Sheet/]
+Pos=600,440
+
+[/Component 7/connPack/Input/]
+Connector Count=2
+
+[/Component 8/]
+Serial Number=19
+Type=Boolean/Gates/AND
+
+[/Component 8/Sheet/]
+Pos=600,496
+
+[/Component 8/connPack/Input/]
+Connector Count=2
+
+[/Component 9/]
+Serial Number=21
+Type=Boolean/Gates/XOR
+
+[/Component 9/Sheet/]
+Pos=600,560
+
+[/Component 9/connPack/Input/]
+Connector Count=2
+
+[/Document Property/]
+Last View=Sheet View
+Sheet Pos=95,0
+User Pos=0,0
+
+[/Document Property/Timing/]
+Dummy=true
+
+[/Document Property/Timing/Execution/]
+Time=100000000
+Unit=ms
+
+[/Document Property/Timing/Simulation/]
+Sychronized=true
+Time=100000000
+Unit=ms
+
+[/Document Property/Timing/Update/]
+Time=500000000
+Unit=ms
+
+[/Property/]
+Last Serial Number=46
+Sheetsize=1072,784
+Usersize=1000,504
+
+[/Property/Module/]
+Pixmap Store=Absolute
+ViewType=None
diff --git a/Bachelor/Digitaltechnik 2/SS07/p5.odt b/Bachelor/Digitaltechnik 2/SS07/p5.odt
new file mode 100644
index 0000000..0ad6c82
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/SS07/p5.odt
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/Treiberbaustein.pdf b/Bachelor/Digitaltechnik 2/Treiberbaustein.pdf
new file mode 100644
index 0000000..9178d9c
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/Treiberbaustein.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/Vorbemerkungen.pdf b/Bachelor/Digitaltechnik 2/Vorbemerkungen.pdf
new file mode 100644
index 0000000..63e7cd9
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/Vorbemerkungen.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/dt2-1.pdf b/Bachelor/Digitaltechnik 2/dt2-1.pdf
new file mode 100644
index 0000000..9ba6086
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/dt2-1.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/dt2-2.pdf b/Bachelor/Digitaltechnik 2/dt2-2.pdf
new file mode 100644
index 0000000..fc4faeb
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/dt2-2.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/dt2-3.pdf b/Bachelor/Digitaltechnik 2/dt2-3.pdf
new file mode 100644
index 0000000..1c39c58
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/dt2-3.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/dt2-4.pdf b/Bachelor/Digitaltechnik 2/dt2-4.pdf
new file mode 100644
index 0000000..e545641
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/dt2-4.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/dt2-5.pdf b/Bachelor/Digitaltechnik 2/dt2-5.pdf
new file mode 100644
index 0000000..a84b7cc
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/dt2-5.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/dt2-6.pdf b/Bachelor/Digitaltechnik 2/dt2-6.pdf
new file mode 100644
index 0000000..8f693db
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/dt2-6.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/dt2.pdf b/Bachelor/Digitaltechnik 2/dt2.pdf
new file mode 100644
index 0000000..c567b24
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/dt2.pdf
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/prk4a4.dsim b/Bachelor/Digitaltechnik 2/prk4a4.dsim
new file mode 100644
index 0000000..7e4c882
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/prk4a4.dsim
Binary files differ
diff --git a/Bachelor/Digitaltechnik 2/prk4a4.png b/Bachelor/Digitaltechnik 2/prk4a4.png
new file mode 100644
index 0000000..1ce5149
--- /dev/null
+++ b/Bachelor/Digitaltechnik 2/prk4a4.png
Binary files differ