Zum Inhalt springen
L

Das Video kommt von YouTube: erst beim Abspielen verbindet sich die Seite mit YouTube (Google).

Harvard Architecture versus Von Neumann Architecture

Computer Science Lessons5:18 115.167 Aufrufe veröffentlicht Auf YouTube

Das Wichtigste aus dem Video

Tipp auf eine Zeit – das Video springt genau dorthin.

Transkriptautomatisch erstellt · 31 Zeilen
Herunterladen
  1. 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
  2. Harvard Mark 1 instructions were stored on punched paper tape and data were stored in electromechanical counters within the
  3. CPU the principle of storing instructions and data in different places became known as the Harvard architecture before we look at the
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. data this is known as the Von Newman bottleneck the Harvard architecture improves on this by storing instructions
  12. 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
  13. there could be more instruction memory than data memory this would require a wider address bus for the instruction
  14. 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
  15. 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
  16. also be appropriate to use readon memory for the instructions but read write memory for the data the Harvard architecture is most
  17. often found in digital signal processes soall DSP applications include purpose-built hardware for audio and video processing Medical Imaging
  18. 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
  19. applications have in common is the capture and digitization of analog information followed by some form of processing of the digital signal
  20. generated for example a speech processing application might digitize a spoken instruction then filter out any interference or background noise before
  21. passing it on to an AI to be interpreted and even a modern personal computer borrows design principles from the Harvard
  22. architecture a typical CPU has several cores each with its own arithmetic and logic unit and their operation is managed by a single control
  23. unit it also contains multiple levels of cache memory cach memory temporarily stores frequently used instructions and data
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. the main benefit of this approach of course is that data and instructions can be fetched and processed simultaneously by the same
  30. 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
  31. today

Zum Nachlesen