Thursday, June 10, 2021

 

India's First Indigenous Microprocessor!






            The SHAKTI Processor Program, was started as an academic initiative back in 2014 by the Reconfigurable Intelligent Systems Engineering (RISE) group at IIT-Madras. It is completely Open-source. The major aim is to bridge the gap between academia and industry, to provide innovative and customized solutions.

What is SHAKTI?

                SHAKTI is an open-source initiative by the RISE group at IIT Madras. Shakti is building many processors based on the RISC-V instruction set.  The processors are based on 22nm FINFET technology. They have been broadly categorized into "Base Processors", "Multi-Core Processors" and "Experimental Processors". They currently have 3 core variants known as the E class , C class and I class. E class is for embedded application like robotic controller boards and IoT boards. C class is the controller class for mobile like applications and can run at upto 1.5 GHz. I class is the performance oriented and can run at around 2.5 Ghz clock speed . They also have plans for multi core processors that will involve combinations of C class cores and I class cores .They also have plans for a super computer class processor which will be called Parallel shakti or para shakti.

                These chips could be used in ISRO’s NavIC satellites in the future. C class cores will mostly compete with ARM . The one who design chips inside your phones . Companies like Qualcomm, Samsung and MediaTek use these designs .you must have heard words like cortex A57 or something similar. These are designed by ARM. More on that later .  2 C class processors were fabricated . One by intel based on 22 nm called RISECREEK  and the special one in India at the Chandigarh facility partly run by ISRO based on 180 nm called RIMO.


RISC-V ISA Overview


                RISC-V (pronounced “risk-five”) is a free and open Instruction Set Architecture (ISA) enabling a new era of processor innovation through open standard collaboration. RISC-V was originally designed to support computer architecture research and education. But now it has become a standard free and open architecture for industry implementations. RISC-V ISA is defined as a base integer ISA, which must be present in any implementation, plus optional extensions to the base ISA. Each base integer instruction set is characterized by the width of the integer registers and the corresponding size of the address space and by the number of integer registers. RISC-V is little-endian and comes in 32 and 64 bit flavors. For both, int is 32 bits. Pointers and long are of native register size. Signed values are always sign extended in a larger register. Unsigned 8/16-bit values are zero extended. Unsigned 32-bit values are sign-extended. RISC-V has been designed to support extensive customization and specialization. RISC-V spec has two volumes, User level Spec and Privilege level Spec.

 

Why is Shakti different ?

            Mainly because it uses the open source RISC-V instruction architecture . Intel/ AMD and ARM have their own architectures or the language with which you communicate with the processor . Intel and AMD has something called X86 and ARM uses their own . They do not share this with anyone  .If you reverse engineer and make one you will have to deal with court cases .

            RISC-V is an open source instruction  set architecture .Suppose you go to buy a car , but you are forced to buy a truck along with it . If you want to buy a car , you have to also buy the truck . This is the problem with INTEL and ARM . You cant choose what specific instructions you want to use . You have to buy them all . We can use RISC-V to make a custom chip design for our needs . As a bonus many people responsible for RISC-V are also Indian. They also have their own company called sci-five which makes designs like Shakti . The startup coming out from IIT Madras will be called InCore. Keep a note of that , will require after some time .This advantage gives us the power to design the chips of our need with good security . Will detail this later .


Applications 

The E and C-classes are the first set of indigenous processors aimed at :

  • Internet of Things (IoT)
  • Embedded 
  • Desktop markets.


  • SHAKTI vs INTEL and ARM

     

    How shakti  is different from intel and Arm?

                Mainly because it uses open source RISC-V instruction architecture. Intel and AMD use their own. They do not share this with anyone. If you reverse engineer and make you will have to deal with court cases.

                RISC-V is an open source instruction set architecture. Suppose you go to buy a car, but you are forced to buy a truck along with it. This is the problem with INTEL and ARM. You can not choose what specific instructions you want to use. You have to buy them all. We can use RISC-V to make custom chip design for our needs. As a bonus, many people responsible for RISC-V are also Indian.

     

    SHAKTI vs INTEL vs ARM

     


            In case of ARM, it compares with the A55. It is honestly unfair to do this. The reason behind this is that most processors are based on von Neumann architecture which is an old structure whereas Shakti based on Harvard structure which is newer. Basically, Neumann architecture uses the same pipe for both water and gas that is instructions and data. Whereas Harvard architecture uses separate pipes for water and gas that is data and instructions.

     

    Advantages of Shakti vs Intel vs Arm:

                    The biggest one is security. When we buy a processor from somebody abroad we only know what they tell us. We do not know what they do not tell us. And that is a big issue for national missions. Shakti whereas lets you be involved in the design process.

    Last but not least it is an Indian tech company.

Tuesday, June 1, 2021

SHAKTI vs INTEL and ARM

  

                SHAKTI- means “the power”. Shakti the first microprocessor designed and developed by IIT Madras. A group of engineers from Computer Science Department under the guidance of their professor managed to develop a built in microprocessor which can be deliberately used in mobile computing and wireless devices.Shakti is building many processors based on the RISC-V instruction set.

                Shakti is less vulnerable to systems infected with hardware Trojans. According to the team IITM Shakti processor targets clock speeds to suit for various handy-user applications like electronic devices, mobile computing, embedded low power systems and networking systems.

                In July 2018 Shakti’s team made an attempt to create first 300 chips, like RISECREEK was produced under the project Shakti which is then fabricated by Multinational chip Manufacturer Intel’s facility at Oregon, USA which was successfully booted into the LINUX OS. Now, the fabrication is done in India.

 

Types of processors:

Shakti has divided its microprocessor into 3 types:

  •  Base processors
  •  Multi processors.
  •  Experimental processors.

 

The base processor is again classified in to 3 types:

  • E-class processor which is used in embedded applications, robotic controller boards, and in IoT boards.
  • The C-class processor which is used in smartphone applications and runs at a clock frequency of 1.5 GHz
  • I-class processor it is a performance-oriented core which could be used in Laptop’s, PC’s .the range of processor is 1.5 to 2.0GHz.

 

Salient features of Shakti:

  •        The design of Shakti is unique hence it can be used in any sector.
  •       It is mainly designed for low power wireless embedded systems and networking systems.
  •        Shakti is completely designed on new RISC-V ISA (Instruction set architecture)
  •        Shakti is one of the few open-source Microprocessor’s available in electronic markets.
  •         Shakti will never be outdated as it is made with all international standards.

           

            The basic design of microprocessors heads from selecting the best ISA (instruction set Architecture). Shakti is designed on the new RISC-V ISA .it is free open-source ISA which is creating a new era in the innovation of processors.

 

Do we find any Indian competitors to Shakti?

            Well In that case I would tell yes .PARAM 8000 the first Indian super computer designed by a company named CDAC (Centre for development and advanced computing) has a strategy of developing their own super computers which supports their own processor.

 

How shakti  is different from intel and Arm?

            Mainly because it uses open source RISC-V instruction architecture. Intel and AMD use their own. They do not share this with anyone. If you reverse engineer and make you will have to deal with court cases.

            RISC-V is an open source instruction set architecture. Suppose you go to buy a car, but you are forced to buy a truck along with it. This is the problem with INTEL and ARM. You can not choose what specific instructions you want to use. You have to buy them all. We can use RISC-V to make custom chip design for our needs. As a bonus, many people responsible for RISC-V are also Indian.

 

SHAKTI vs INTEL vs ARM

 


                In case of ARM, it compares with the A55. It is honestly unfair to do this. The reason behind this is that most processors are based on von Neumann architecture which is an old structure whereas Shakti based on Harvard structure which is newer. Basically, Neumann architecture uses the same pipe for both water and gas that is instructions and data. Whereas Harvard architecture uses separate pipes for water and gas that is data and instructions.

 

Advantages of Shakti vs Intel vs Arm:

                The biggest one is security. When we buy a processor from somebody abroad we only know what they tell us. We do not know what they do not tell us. And that is a big issue for national missions. Shakti whereas lets you be involved in the design process.

Last but not least it is an Indian tech company.

 

This blog is for academic activity.

Author - Swati More


Reference