Skip to main content

RISC Architecture - The Computer with Speed in Mind



The M series chip in MacBooks have brought about a revolution. Now we have processors providing higher speed, with lower battery usage. No wonder we hear ARM based laptops running 18 to 24 hours, on a single charge. This has even disrupted legacy chips like x86/x64 from market monopoly.


Behind the Scenes

All this is made possible by a chip architecture known as RISC. The acronym for Reduced Instruction Set Computer.  As the name suggests, here less is more. Lower instruction set leads to less complexity and higher performance. Data is stored in registers and executed result in memory.


The Cycle

Every instruction execution goes through the following stages

  1. Instruction fetch: In this stage, the processor fetch code for execution, from registers
  2. Instruction decode: The code is then decoded, and analyzed
  3. Operand fetch: The operands required is retrieved from registers
  4. Instruction execution: The code is executed by the processor.
  5. Result storage: The final data is stored in register or memory
Here the RISC schema uses a concept called pipelining to improve efficiency. Each instruction takes one clock cycle to complete. Through parallel computation, multiple instructions are started and run on various stages of execution. For example, when one instruction is decoded, another begins the fetch stage, while the third would have completed execution. 
There is no limit to how many instructions can be run at any given time. It primarily depends on the hardware and memory capability.

Other Points
  • Frequently used operand is stored in CPU register.
  • More number of registers can be utilized to reduce memory traffic
  • Reduced register to memory operations

Uses
  1. Used in mobile phones, tablets and laptops
  2. Used in smart devices (Internet of things) where power consumption needs to be low.



Additional Information





 

Comments

Popular posts from this blog

Man In The Middle Attack - EavesDropping in the Digital World

    This is a term used to describe a cyber attack where a hacker acts as middleman, during data transfer between user and an application. The app can be a financial or an E commerce website, Software as a Service (SaaS) etc. The hacker can intercept data passed via the browser to the website, and collect sensitive information such as account and credit card details, user login etc. To put it into context, it is like a postman who reads all the letters addressed to you, then reseals the same, on delivery. This way no one suspects a foul play.   Interception This is the first phase of the attack. Here the hacker establishes a connection with the target device whether a PC, Laptop or Smart phone. This is done   through various methods   like   Free WiFi  : Here a WiFi hot spot is set up  which is not password protected. When a user logs in to the network, they are in essence connecting to the hacker's system. Now any data transfer occurs via this co...

Internet of Things-Connection Redefined

  Imagine driving home after a long day of work. En route the car instructs the residence to automatically turn on the lights, prepare a hot bath, and download the latest Netflix series. While this may seem like a line from a SciFi script, the future is more realistic than ever. Welcome to the world of IoT or Internet of Things. Though not as popular as its famous counterpart, Artificial Intelligence, its penetration into the consumer market is indeed extensive. What is IoT...... It is the term used to describe a   device, or set of devices which are connected to the internet,   and also communicate with each other. They can share data obtained from various sensors to a central hub, analyze it using  AI, and take appropriate actions. For example, a smart thermostat can read the room temperature, analyze the same, and adjust the heating system without any human intervention. Another example would be a smart camera which provides video footage when a movement is detect...

Bluetooth - You are Connected

       We are entering the era of Internet of Things (IoT) devices, where each device connects remotely to one another, and the world wide web. This makes them smart in the way of integration to Artificial Intelligence, Machine learning and Data analysis. There are number of network protocols that facilitate this peer to peer communication be it ZigBee, Matter etc. More on that later.    What is Bluetooth  Invented  in 1994 by Ericsson and widely used, Bluetooth allows for short distance communication, within 10 meter radius. The data speed is between 1 Mbps and 3 Mbps. The bandwidth is in the range of 2.4 GHz to 2.485 GHz.   Frequency Hopping Unfold Spectrum This is the underlying tech used in Bluetooth. Data signals by default have low frequency, and high bandwidth. This makes them prone to distortion, affecting long distance transmission. Also the receiving antennas  have to be large in size which is a limitation for mobile phone...