Das Video kommt von YouTube: erst beim Abspielen verbindet sich die Seite mit YouTube (Google).
Harvard Architecture versus Von Neumann Architecture
Das Wichtigste aus dem Video
Tipp auf eine Zeit – das Video springt genau dorthin.
Transkriptautomatisch erstellt · 31 Zeilen
- the Harvard architecture is named after IBM's so-called Harvard Mark 1 a computer that helped to develop the atomic bomb during World War II in the
- Harvard Mark 1 instructions were stored on punched paper tape and data were stored in electromechanical counters within the
- CPU the principle of storing instructions and data in different places became known as the Harvard architecture before we look at the
- Harvard architecture let's first consider a traditional single core computer in which the programs and the data are both stored in the main memory
- the ram this is known as the vuman architecture to fetch a program instruction or a data item into the CPU for processing the relevant memory
- address is first sent to the main memory via the address bus then an instruction or a data item is sent back to the CPU via the datab bus
- saving a data item in the memory also requires that a memory address is sent to the memory via the address bus then the data is conveyed from the CPU to the
- memory via the data bus notice that memory addresses only ever travel in One Direction but data can travel both ways the fact that program instructions and
- data share the same memory and the same buses that connect the CPU to the memory means that they have to be fetched separately an instruction to load a data
- item from the memory into the CPU for example will need two fetch execute Cycles to complete one for the instruction and one for the
- data this is known as the Von Newman bottleneck the Harvard architecture improves on this by storing instructions
- and data in separate memories and because these memories are separate they don't need to be built in the same way for example depending on the application
- there could be more instruction memory than data memory this would require a wider address bus for the instruction
- memory furthermore the instruction memory might have a bigger word width that is each location in the instruction memory could be capable of storing more
- bits than a location in the data memory consequently the instruction bus would be wider than the data bus depending on the application it might
- also be appropriate to use readon memory for the instructions but read write memory for the data the Harvard architecture is most
- often found in digital signal processes soall DSP applications include purpose-built hardware for audio and video processing Medical Imaging
- applications such as x-ray MRI and CAT scans fitness trackers and smart watches and digital assistants such as Amazon's Alexa and Google home what these DSP
- applications have in common is the capture and digitization of analog information followed by some form of processing of the digital signal
- generated for example a speech processing application might digitize a spoken instruction then filter out any interference or background noise before
- passing it on to an AI to be interpreted and even a modern personal computer borrows design principles from the Harvard
- architecture a typical CPU has several cores each with its own arithmetic and logic unit and their operation is managed by a single control
- unit it also contains multiple levels of cache memory cach memory temporarily stores frequently used instructions and data
- rather than having to make multiple requests to the ram each core has its own level one cache Which is closest to the core meaning it can be accessed very
- quickly each core also has its own level two cache which is larger than the level one cache but a little slower to access the level three cache is shared
- by all of the cores it has the biggest capacity but operates more slowly than the other two levels nevertheless all of the CPU cache
- memory is much faster than the main memory because there's no need for the instructions and data in the cache to travel along the data
- bus each level one cache is split in two some of it for instructions and some of it for data this is sometimes referred to as the modified Harvard architecture
- the main benefit of this approach of course is that data and instructions can be fetched and processed simultaneously by the same
- core so as you've seen the original design principle of the Harvard Mark 1 that is different memories for instructions and data is still relevant
- today
Zum Nachlesen
Harvard-ArchitekturDie Harvard-Architektur bezeichnet in der Informatik ein Schaltungskonzept, bei dem der Befehlsspeicher logisch und physisch vom Datenspeicher getrennt ist.
Von-Neumann-ArchitekturDie Von-Neumann-Architektur (VNA) ist ein Referenzmodell für Computer, wonach ein gemeinsamer Speicher sowohl Computerprogrammbefehle als auch Daten hält.
ArbeitsspeicherZugriffe auf den Arbeitsspeicher durch den Hauptprozessor werden zumeist über ein oder mehrere Pufferspeicher oder Cache-RAMs (kurz „Cache“) optimiert. Im Cache …
ProzessorAufbau und Funktionale Einheiten · Hauptprozessor (CPU) und Mehrprozessorkerne · Steuer- bzw. Leitwerk · Rechenwerk und Register · Datenleitungen · Caches und MMU.