|
| 1 | +<!-- |
| 2 | +
|
| 3 | +author: Sebastian Zug & André Dietrich & Fabian Bär |
| 4 | +email: sebastian.zug@informatik.tu-freiberg.de & andre.dietrich@informatik.tu-freiberg.de & fabian.baer@student.tu-freiberg.de |
| 5 | +version: 0.0.2 |
| 6 | +language: de |
| 7 | +narrator: Deutsch Female |
| 8 | +
|
| 9 | +import: https://raw.githubusercontent.com/liascript-templates/plantUML/master/README.md |
| 10 | +
|
| 11 | +--> |
| 12 | + |
| 13 | +# Rechnerarithmetik |
| 14 | + |
| 15 | +**TU Bergakademie Freiberg - Wintersemester 2020 / 21** |
| 16 | + |
| 17 | +Link auf die aktuelle Vorlesung im Versionsmanagementsystem GitHub |
| 18 | + |
| 19 | +[https://github.com/TUBAF-IfI-LiaScript/VL_EingebetteteSysteme/blob/09_Rechnerarithmetik](https://github.com/TUBAF-IfI-LiaScript/VL_EingebetteteSysteme/blob/master/09_Rechnerarithmetik.md) |
| 20 | + |
| 21 | +Die interaktive Form ist unter [diesem Link](https://liascript.github.io/course/?https://raw.githubusercontent.com/TUBAF-IfI-LiaScript/VL_EingebetteteSysteme/master/09_Rechnerarithmetik.md#1) zu finden |
| 22 | + |
| 23 | +## Hypothetische ALU mit 8 Funktionen |
| 24 | + |
| 25 | +```text @plantUML |
| 26 | +@startuml |
| 27 | +ditaa |
| 28 | + Daten Daten |
| 29 | + | | |
| 30 | + | | |
| 31 | ++--------------|---------------+ | |
| 32 | +| +------+ | | | |
| 33 | +| | | | : | Funktionsauswahl |
| 34 | +| | V V V V ||| |
| 35 | +| | +----+-----+-----+ +----+-----+-----+ ||| |
| 36 | +| | |cBFB Register A | |cBFB Register B | ||| Registerauswahl |
| 37 | +| | +---+------------+ +---------+------+ ||| | |
| 38 | +| | | | ||| | |
| 39 | +| | | +------------------+ ||| | |
| 40 | +| | | | | ||| | |
| 41 | +| | +--------+-----------+ | ||| | |
| 42 | +| | | | | | ||| | |
| 43 | +| | V V V V ||| | |
| 44 | +| | +----------------+ +----------------+ ||| | |
| 45 | +| | |c808 |<- |c808 |<--+|| | |
| 46 | +| | | Multiplexer |<- | Multiplexer |<---+| | |
| 47 | +| | | |<- | |<----+ | |
| 48 | +| | ++-+-+-+-+-+-+-+-+ ++-+-+-+-+-+-+-+-+ | |
| 49 | +| | | | | | | | | | | | | | | | | | | |
| 50 | +| | | | | | | | | | V V V V V V V V | |
| 51 | +| | | | | | | | | +----------------------------------+ | |
| 52 | +| | | | | | | | +-----------------------------+ | | |
| 53 | +| | | | | | | +------------------------+ | | | |
| 54 | +| | | | | | +-------------------+ | | | | |
| 55 | +| | | | | +--------------+ | | | | | |
| 56 | +| | | | +---------+ | | | | | | |
| 57 | +| | | +----+ | | | | | | | |
| 58 | +| | | | | | | | | | | |
| 59 | +| | | | | | | | | | | | | | | | | | | |
| 60 | +| | V V V V V V V V V V V V V V V V | |
| 61 | +| | +----+ +----+ +----+ +----+ +----+ +----+ +----+ +----+ | |
| 62 | +| | | 000| | 001| | 010| | 011| | 100| | 101| | 110| | 111| | |
| 63 | +| | |cFF4| |cFF4| |cFF4| |cFF4| |cFF4| |cFF4| |cFF4| |cFF4| | |
| 64 | +| | | OR | |AND | |EXOR| |ADD | |SUB | |MUL | |DIV | | SL | | |
| 65 | +| | +-+--+ +-+--+ +-+--+ +-+--+ +-+--+ +-+--+ +-+--+ +-+--+ | |
| 66 | +| | : : : : : : : : | |
| 67 | +| | +------+------+------+---+--+------+------+------+ | |
| 68 | +| | | | |
| 69 | +| | V | |
| 70 | +| | +----------+----------+ | |
| 71 | +| | |cCCB DeMuxer/Selektor|<-----------------+ |
| 72 | +| | +---+-+---------------+ |
| 73 | +| | : : |
| 74 | +| +---------------------+ | |
| 75 | +| | |
| 76 | ++-------------------------+ |
| 77 | +@enduml |
| 78 | +``` |
| 79 | +@plantUML |
| 80 | + |
| 81 | +Abstrakte Darstellung |
| 82 | + |
| 83 | +```text @plantUML |
| 84 | +@startuml |
| 85 | +ditaa |
| 86 | + +-----+-----+ |
| 87 | + | A | B | |
| 88 | + Daten +-----+-----+ |
| 89 | +<--------->+cFF4 | |
| 90 | + | | |
| 91 | + Kontrolle | ALU | |
| 92 | +---------->+ | |
| 93 | + | | |
| 94 | + Status | | |
| 95 | +<----------+ | |
| 96 | + +-----------+ |
| 97 | +@enduml |
| 98 | +``` |
| 99 | +@plantUML |
| 100 | + |
| 101 | +## Herausforderung Datenzugriff |
| 102 | + |
| 103 | +```text @plantUML |
| 104 | +@startuml |
| 105 | +ditaa |
| 106 | + +------------------+ |
| 107 | + |c44F | |
| 108 | + | Speicher | |
| 109 | + | | |
| 110 | + +-----------+------+ |
| 111 | + ^ | |
| 112 | + | | |
| 113 | ++----------+ Adresse | | +-----+-----+ |
| 114 | +|cF88 +-----------+ | | A | B | |
| 115 | +| | | Daten +-----+-----+ |
| 116 | +| | | <--------->+cFF4 | |
| 117 | +| Steuer- | | | | |
| 118 | +| werk | | Kontrolle | ALU | |
| 119 | +| | +-------------->+ | |
| 120 | +| | | | |
| 121 | ++----------+ +-----------+ |
| 122 | +@enduml |
| 123 | +``` |
| 124 | +@plantUML |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | +```text @plantUML |
| 129 | +@startuml |
| 130 | +ditaa |
| 131 | + +------------------+ |
| 132 | + |c44F | |
| 133 | + | Speicher | |
| 134 | + | | |
| 135 | + +---------+-+------+ |
| 136 | + ^ | ^ |
| 137 | + | | | |
| 138 | ++----------+ Adresse | | | +-----+-----+ |
| 139 | +|cF88 +-----------+ | | | A | B | |
| 140 | +| | | | Daten +-----+-----+ |
| 141 | +| | Befehl | +-------------->+cFF4 | |
| 142 | +| Steuer- |<------------+ | | |
| 143 | +| werk | Kontrolle | ALU | |
| 144 | +| +------------------------------>+ | |
| 145 | +| | | | |
| 146 | +| | Status | | |
| 147 | +| |<------------------------------+ | |
| 148 | ++----------+ +-----------+ |
| 149 | +@enduml |
| 150 | +``` |
| 151 | +@plantUML |
| 152 | + |
| 153 | +```text @plantUML |
| 154 | +@startuml |
| 155 | +ditaa |
| 156 | + +------------------+ |
| 157 | + |c88F | |
| 158 | + | Speicher | |
| 159 | + | | |
| 160 | + +---------+-+------+ |
| 161 | + ^ | ^ |
| 162 | + | | | |
| 163 | ++----------+ Adresse | | | +-----+-----+ |
| 164 | +|cF88 +-----------+ | | | A | B | |
| 165 | +| | | | Daten +-----+-----+ |
| 166 | +| | Befehl | +-------------->+cFF4 | |
| 167 | +| Steuer- |<------------+ | | |
| 168 | +| werk | Kontrolle | ALU | |
| 169 | +| +------------------------------>+ | |
| 170 | +| | | | |
| 171 | +| | Status | | |
| 172 | +| |<------------------------------+ | |
| 173 | +| | | | |
| 174 | +| | Kontrolle | | |
| 175 | +| +-------------+ Daten | | |
| 176 | +| | | +-------------->| | |
| 177 | +| | Status | | | | |
| 178 | +| |<----------+ | | | | |
| 179 | ++----------+ | | | +-----------+ |
| 180 | + | | | |
| 181 | + | V V |
| 182 | + +-------+-----------+ |
| 183 | + |c8F8 | |
| 184 | + | Ein/Ausgabe | |
| 185 | + | | |
| 186 | + +-------------------+ |
| 187 | +@enduml |
| 188 | +``` |
| 189 | +@plantUML |
| 190 | + |
| 191 | +## 1945: Von-Neumann Architektur |
| 192 | + |
| 193 | +```text @plantUML |
| 194 | +@startuml |
| 195 | +ditaa |
| 196 | + ^ | |
| 197 | + | V |
| 198 | ++-+----+ +----------------------------+ |
| 199 | +|c8F8 | |c88F Speicherwerk | |
| 200 | +| |<-->| +--------+ +--------+ | |
| 201 | +| | | |Programm| | Daten | | |
| 202 | +| | | +--------+ +--------+ | |
| 203 | +| | +------+---------------------+ |
| 204 | +| | ^ | ^ |
| 205 | +| E/A- | : | | |
| 206 | +| Werk | | V V |
| 207 | +| | +---+------+ +------------+ |
| 208 | +| | |cF88 | | Rechenwerk | |
| 209 | +| | | | |cFF4 | |
| 210 | +| | | |<-=-+ +--------+ | |
| 211 | +| |<-=-+Steuerwerk| | |Register| | |
| 212 | +| | | +-=->| +--------+ | |
| 213 | +| | | | | | ALU | | |
| 214 | +| | | | | +--------+ | |
| 215 | ++------+ +----------+ +------------+ |
| 216 | +@enduml |
| 217 | +``` |
| 218 | +@plantUML |
0 commit comments