{"id":787,"date":"2018-11-03T13:59:40","date_gmt":"2018-11-03T08:29:40","guid":{"rendered":"http:\/\/knowledgekart.in\/blog\/?p=787"},"modified":"2020-02-20T01:25:08","modified_gmt":"2020-02-19T19:55:08","slug":"the-first-made-in-india-microprocessor","status":"publish","type":"post","link":"https:\/\/knowledgekart.in\/blog\/the-first-made-in-india-microprocessor\/","title":{"rendered":"The First Made in India Microprocessor, An ARM killer from IIT, Madras"},"content":{"rendered":"<h1>The First Made in India Microprocessor, An ARM killer from IIT, Madras?<\/h1>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-789\" src=\"http:\/\/knowledgekart.in\/blog\/wp-content\/uploads\/shakti_microprocessor_1540804828.jpg\" alt=\"The First Made in India Microprocessor, An ARM killer from IIT, Madras?\" width=\"725\" height=\"400\" title=\"\" srcset=\"https:\/\/knowledgekart.in\/blog\/wp-content\/uploads\/\/shakti_microprocessor_1540804828.jpg 725w, https:\/\/knowledgekart.in\/blog\/wp-content\/uploads\/\/shakti_microprocessor_1540804828-416x230.jpg 416w, https:\/\/knowledgekart.in\/blog\/wp-content\/uploads\/\/shakti_microprocessor_1540804828-300x166.jpg 300w\" sizes=\"auto, (max-width: 725px) 100vw, 725px\" \/><\/p>\n<p class=\"story-highlight-p\">Story Highlights<\/p>\n<ul class=\"story-highlight-ul\">\n<li>Shakti is a part of India&#8217;s homegrown program to develop its own processors, ranging from IoT to high-end servers, AI and ML processors.<\/li>\n<li>Physical manufacturing of chips \u2013 slated for first quarter of 2018 \u2013 could be the beginning off competition against chipmakers such as ARM<\/li>\n<li>It piggybacks on the open source RISC-V instruction set architecture, an alternative to the existing closed and costly designs.<\/li>\n<\/ul>\n<p>Stepping into the Indian Institute of Technology, Madras environs feels like you are in a walled jungle. The landscape is full of thick trees that have set down roots for decades. Bats, deers, and monkeys, seemingly comfortable with the few thousand bicycle-riding students, academics, and staff on campus, are easy to spot. The air, thanks to a recent bout of rains in Chennai, is as good as a hill station \u2014 very unusual for the port city.<\/p>\n<p>I\u2019m here to meet the team behind the <a href=\"http:\/\/rise.cse.iitm.ac.in\/shakti.html\" target=\"_blank\" rel=\"noopener nofollow external noreferrer\" data-wpel-link=\"external\">Shakti Processor Project<\/a>, an ambitious effort in its computer sciences department to build six variants of processors to power Internet of things (IoT) products to high-end servers. If successful \u2014 physical manufacturing of chips is to start in the first quarter of 2018 \u2014 it will be the first open source processor of its kind built from scratch out of India.<\/p>\n<p>And, if it finds takers in the market, it could make changes in the imports-dependent electronics ecosystem in India, which is predicted to spend more on importing electronics than on oil by 2020.<\/p>\n<p>The Shakti project is based on the RISC-V ISA started at UC Berkeley. For those unfamiliar with the term, RISC, which stands for reduced instruction set computer, is an architecture that uses fewer computing cycles per instruction making it ideal to carry out a set of smaller and general instructions. ISA is short for instruction set architecture, which defines the specifications to be met by a processor.<\/p>\n<blockquote><p>A C-class controller, an entry-level processor with use in IoT, smart cards and security applications, will be the first in the Shakti series out first quarter of 2018<\/p><\/blockquote>\n<p>The first chip of the Shakti series will be a C-class controller chip, an entry-level processor, which would find use-cases in IoT, smart cards, and security applications.<\/p>\n<p>To be sure, there are similar efforts on at C-DAC, or Centre for Development of Advanced Computing, India, under the Ministry of Communications and Information Technology, which is also funding the Shakti project. The C-DAC initiative received $45 million funding, according to news reports in early 2016.<\/p>\n<p>\u201cWe started this effort four to five years ago. We have now evolved a roadmap for it \u2014 we will go from a controller class to a server class,\u201d says V Kamakoti, who along with G S Madhusudhan, is a coordinator of the Shakti project. Kamakoti is a professor in IIT Madras\u2019s computer sciences department and Madhusudhan is a senior project adviser. Both are members of India\u2019s AI task force,<\/p>\n<p>There are purely academic reasons for Shakti processors to exist. The department\u2019s processor architecture research, for instance, was dependent on scraps of projects it got from businesses and industry. \u201cWe did not have a commercially equivalent platform, an effective public platform on which to do research,\u201d says Kamakoti. \u201cFor example, if I have a new branch predictor (a unit inside a CPU) and I don\u2019t have an Intel architecture, where can I fit my branch prediction and say, \u2018Yeah, it\u2019s working great\u2019? I did not have access to the design, to compare it, with an equivalent in a commercial processor.\u201d<\/p>\n<p>There are also security reasons for wanting to make a processor for India. \u201cWe don\u2019t know really whether the processor we are getting from outside is trustworthy. Is it secure?\u201d asks Kamakoti. \u201cSuppose I want variants of a processor, for different needs \u2013 not just strategic, even civilian needs \u2013 I have to basically rely on the processor available to me, and fit my application to that. It is something like I bought the slipper and I am cutting my feet to fit into it.\u201d<\/p>\n<h2><b>An Appetite for RISC- Meet The Team<br \/>\n<\/b><\/h2>\n<figure id=\"attachment_788\" aria-describedby=\"caption-attachment-788\" style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-788\" src=\"http:\/\/knowledgekart.in\/blog\/wp-content\/uploads\/Shakthi_Processor_Inside_Team.jpg\" alt=\"Members of the Shakti Processor Team : G. S. Madhusudan, Vishvesh Sundararaman, Arjun Menon, Vinod Ganesan, Shankar Raman, Neel Gala, Deepa N Sarma, Gopinathan M., Rahul Bodduna\" width=\"1000\" height=\"499\" title=\"\" srcset=\"https:\/\/knowledgekart.in\/blog\/wp-content\/uploads\/\/Shakthi_Processor_Inside_Team.jpg 1000w, https:\/\/knowledgekart.in\/blog\/wp-content\/uploads\/\/Shakthi_Processor_Inside_Team-416x208.jpg 416w, https:\/\/knowledgekart.in\/blog\/wp-content\/uploads\/\/Shakthi_Processor_Inside_Team-300x150.jpg 300w, https:\/\/knowledgekart.in\/blog\/wp-content\/uploads\/\/Shakthi_Processor_Inside_Team-768x383.jpg 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption id=\"caption-attachment-788\" class=\"wp-caption-text\">Members of the Shakti Processor Team : G. S. Madhusudan, Vishvesh Sundararaman, Arjun Menon, Vinod Ganesan, Shankar Raman, Neel Gala, Deepa N Sarma, Gopinathan M., Rahul Bodduna<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>At the Laboratory of VLSI Design, the team is working on the C class of Shakti, which is suited for microcontrollers. Part of what enables a small team to do so is that the processor is based on the RISC-V architecture, an open standard. The entire software toolchain effort is borne by a few universities \u2014 primarily Berkeley, Cambridge, and MIT.<\/p>\n<p>Neel Gala, a PhD Scholar from IIT Madras, an early member of the Shakti project told us why a small team, that numbers in the tens, can ship a processor, which would otherwise take hundreds of people.<\/p>\n<p>The RISC-V ISA got traction when the Berkeley team released a processor (in July 2016), which was taped out and running Linux, Gala says. \u201cThis was a team of seven students. A team of just seven people working on a new language, on a new processor, was able to beat ARM or its equivalent. That gave us an extra boost, that we can (do it) as well. There is nothing that is sacred and holy that we don\u2019t know.\u201d ARM is a British chip-maker with a dominant share in processors used in mobile phones and tablets.<\/p>\n<p>The team uses Bluespec System Verilog, a hardware description programming language used in chip design, which helps in a much shorter product release cycle. \u201cBluespec gives you a high-level abstraction, like going from assembly (level programming) to C. You don\u2019t do the dirty work, the compiler does all the work for you. You work at a much higher level, your throughput increases. Simulation and turnaround time increases, your product release time has a shorter cycle,\u201d Gala says.<\/p>\n<p>The RISC-V standard offers quality, flexibility and low cost, setting it apart from proprietary ISAs. The RISC-V Foundation, a non-profit corporation, which wants to make the \u2018Linux of microprocessor architectures\u2019, has been getting traction lately. Started in 2014, its membership base has grown to over a hundred organisations, the foundation said in an announcement earlier this week. Apart from the world\u2019s leading tech universities, its members include Google, Huawei, Micron, Microsemi, NVIDIA, NXP, Qualcomm, Samsung, SiFive, among others.<\/p>\n<blockquote><p>Referring to a Berkley project where a team of seven researchers taped out a chip equivalent to an ARM processor, PhD scholar Neel Gala says, \u201cThere is nothing that is sacred and holy that we don\u2019t know.\u201d<\/p><\/blockquote>\n<p>There are enthusiastic buglers in this movement of sorts in the microprocessor world. \u201cThe capitalist computing bourgeoisie want to enslave us all with proprietary processing architectures, but the proletariat eventually produces its own processor alternative \u2013 an ISA for and by the people, where instruction sets aren\u2019t subject to the whim of the royalty-driven class, and where licensing fees don\u2019t oppress the workers\u2019 BOMs (bill of materials),\u201d writes Kevin Morris in the Electronics Engineering journal, lending colour and gravitas to what\u2019s at stake in the processor industry.<\/p>\n<p>Some of that open source zeal can be seen in the Shakti team here. Gala, who was offered a \u2018good seven digit package\u2019 by one of the big chip giants, decided against it. \u201cThis was an interview over a cup of coffee. The moment of realisation for me was sitting in the cafeteria, and seeing a hundred other PhDs there. The only distinction I had over them was Shakti. If I left it, I would just be another ball in the bag. So that\u2019s why I didn\u2019t leave,\u201d he says.<\/p>\n<p>Shakti has its talent locked in, clearly, but the big imponderable in the chips business is time. Delays are common, even more in academic efforts. So too with Shakti project. An EETimes story in January 2016 said tape out would happen that summer but as our reporting shows, it is now set for just before summer of 2018.<\/p>\n<h2><b>Implications for India<\/b><\/h2>\n<p>India has been developing processors for nearly 20 years, what\u2019s new is that Shakti is the first effort to consolidate that, so that it is systematic, says Madhusudhan, the second coordinator of the project. \u201cA homegrown processor family, as a consistent effort to spread homegrown processors across the country \u2014 this is the first organized broad effort,\u201d he says.<\/p>\n<p>The project could enable the production of homegrown CPUs that are open, patent-free and royalty free. If that sounds like heading into a commodity market, Madhusudhan begs to differ: \u201cIf you do commodity processors, it is a commodity industry. If you do state of the art secure processors, AI and ML processors, it is not a commodity industry\u2026 high-security processors is not,\u201d he says.<\/p>\n<p>\u201cWe can get very customised chips done at far cheaper cost than anybody else. Just like Tirupur does it for knitting, we\u2019re doing it for processors. We\u2019re also trying to incubate companies for handling specific portions of the task.\u201d says Madhusudhan, adding that his students might work on a couple of startups of their own.<\/p>\n<p>He shares an example of how the government is pushing for energy efficient fans and fridges, an area where the Shakti RISC-V processor could find a market-fit. \u201cThese use a brushless DC motor, which requires a small processor. We\u2019re talking to one entity that does close to a million fans a month.\u201d<\/p>\n<blockquote><p>\u201cWe can get very customised chips done at far cheaper cost than anybody else. Just like Tirupur does it for knitting, we\u2019re doing it for processors. We\u2019re also trying to incubate companies\u2026,\u201d says G S Madhusudhan of IIT, Madras<\/p><\/blockquote>\n<p>An industry veteran says the need for a domestic chipset is staring India in its face. \u201cOur consumption is so mismatched with our indigenous development which means that we are constantly dependant on somebody else to supply, for all our needs,\u201d says \u00a0P K Sundarajan, formerly the director of IP with Cosmic Circuits, a Bengaluru \u00a0semiconductor company that was snapped up \u00a0in 2013 by US-based Cadence Design Systems, a provider of tools and solutions for the semiconductor industry.<\/p>\n<p>The know-how to do these things definitely exists in India. It\u2019s just a question of putting the minds together and getting it done, Sundarajan says. \u201cIf you look at some of the Snapdragon cores, maybe its variants, I\u2019m fairly certain it was developed here in Bengaluru. If I look at whether raw talent is available here, there is no question at all. Even with Intel, a lot of the server processing cores probably happens here and likewise with AMD,\u201d he says.<\/p>\n<p>Prakash Mohapatra, an industry analyst, says that he has seen a lot of traction for the RISC-V standard in the last 5-6 months, which has led to a change in his earlier belief that it will not be able to dent the processor ecosystem.<\/p>\n<p>He also points out that over the last few years, ARM has shown interest in enabling custom SoCs at a low investment, through its DesignStart program. (SOC is short for system on a chip, which is an integrated circuit with \u00a0multiple computing components on a single substrate and is designed for specific applications. They are relatively cheap and consume less power.)<\/p>\n<p>A slowing down of Moore\u2019s law will drive SoC vendors to adopt RISC-V ISA, says Mohapatra. \u201cAs innovation in terms of processor technology is not happening, many companies are thinking of how exactly they can improve their performance without compromising on power. All this customisation can be a way of enhancing process nodes. Instead of newer processors, which are really expensive, you can go for custom SoCs, which are tuned to your application,\u201d he says.<\/p>\n<p>While ARM dominates the smartphone market and Intel dominates the server market, a dominant player has yet to emerge in the areas of IoT and AI, areas where RISC-V could make inroads if an extensive ecosystem is in place, Mohapatra says.<\/p>\n<p>\u201cMy view is that it will definitely go out of this academic thing and it will go towards a commercial distribution and can actually pose a major threat to ARM,\u201d he says, cautioning that Shakti will have to climb a steep learning curve that is decades old.<\/p>\n<p>&nbsp;<\/p>\n<p>Click Here For <a href=\"http:\/\/knowledgekart.in\">Free Study Material and Online Test series.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The First Made in India Microprocessor, An ARM killer from IIT, Madras? Story Highlights Shakti is a part of India&#8217;s homegrown program to develop its own processors, ranging from IoT&hellip;<\/p>\n","protected":false},"author":1,"featured_media":791,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55,53,66,68,59,57,54],"tags":[],"class_list":["post-787","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-g-k","category-ias","category-ibps","category-ips","category-sbi","category-uppsc","category-upsc"],"_links":{"self":[{"href":"https:\/\/knowledgekart.in\/blog\/wp-json\/wp\/v2\/posts\/787","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/knowledgekart.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/knowledgekart.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/knowledgekart.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/knowledgekart.in\/blog\/wp-json\/wp\/v2\/comments?post=787"}],"version-history":[{"count":0,"href":"https:\/\/knowledgekart.in\/blog\/wp-json\/wp\/v2\/posts\/787\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/knowledgekart.in\/blog\/wp-json\/wp\/v2\/media\/791"}],"wp:attachment":[{"href":"https:\/\/knowledgekart.in\/blog\/wp-json\/wp\/v2\/media?parent=787"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/knowledgekart.in\/blog\/wp-json\/wp\/v2\/categories?post=787"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/knowledgekart.in\/blog\/wp-json\/wp\/v2\/tags?post=787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}