Advertisement
Guest User

unit2

a guest
May 26th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.87 KB | None | 0 0
  1.  
  2. Unit 2
  3.  
  4. The ARM architecture
  5. ARM (Advance RISC Machines)
  6. Is the most widely used 32-bit RISC instruction set architecture. The relative simplicity makes it suitable for low power devices. Used extensively in consumer electronics, mobile phones, hand held game consoles, calculators etc.
  7. ARM design philosophy:
  8. -Small processor for lower power consumption (for embedded systems)
  9. -High code density for limited memory and physical size restrictions
  10. -The ability to use show and low-cost memory
  11. -Reduced die size for reducing manufacture cost and accommodating more peripherals
  12. Fixed length 32-bit architecture
  13. Processor can run in either ARM state or in Thumb state.
  14. Instruction Set of most ARMs:
  15. ARM state : all instructions are 32 bits wide, all instructions must be word aligned (32 bits or 4 bytes)
  16. Thumb state: all instructions are 16 bits wide, all instructions must be half word aligned (16 bits or 2 bytes)
  17. Processor Modes
  18. -User: The only non-privileged mode.
  19. -FIQ: entered when a high priority (fast) interrupt is raised
  20. -IRQ: entered when a low priority (normal) interrupt is raised
  21. -Supervisor: entered on reset and when a software interrupt instruction is executed
  22. -Abort: used to handle memory access violations
  23. -Undefined: used to handle undefined instructions
  24. -System: priviledged mode using the same registers as user mode
  25. Features of the ARM Instruction Set:
  26. -LOAD/STORE architecture
  27. -Conditional execution of every instruction
  28. -Load and store multiple register
  29. -Very dense 16-bit compressed instruction set (Thumb)
  30. Pipelining: Initially implemented a 3 stage pipeline organization (up to ARM7):
  31. Fetch-Decode-Execute
  32. The drawback is that every data transfer instruction causes a pipeline β€œstall”.
  33. 5-stage Pipeline Organization (implemented in ARM9TDMI)
  34. -Fetch: the instruction is fetched from the memory and placed in the instruction pipeline
  35. -Decode: the instruction is decoded and register operands read from the register files
  36. -Execute: An operand is shifted and the ALU result generated.
  37. -Buffer/Data: Data memory is accessed if required. Otherwise the ALU is simply buffered for one cycle.
  38. -Write back: the results generated by the instruction are written back to the register file, including any data loaded from memory.
  39. Results: better balance pipeline with minimized latencies between stages, which can run at faster clock speed.
  40. Regarding Structural Hazards (some combinations of instruction cannot be accommodated because of resource conflict) is using separate instruction and data memories. ARM has moved from the von-Neumann architecture to the Harvard architecture in ARM9 (implemented 5-stage pipleline and separate data and instruction memory).
  41. Little/Big Endian: ARM can be set up to access data in either little-endian or big-endian forma, default to little-endian
  42. Coprocessors:
  43. Up to 16 coprocessors can be defined. Expands the ARM instruction set.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement