Streamlining chip design
December 8, 2011 by Larry Hardesty
Nirav Dave PhD '11, left, and Myron King. Photo: Melanie Gonick
In the same way that computing power moved from mainframes to the desktop in the 1980s, its now moving from the desktop to handheld devices. But thats putting new demands on chip designers. Because handhelds are battery powered, energy conservation is at a premium, and many routine tasks that would be handled by software in a PC are instead delegated to special-purpose processors that do just one thing very efficiently. At the same time, handhelds are now so versatile that not everything can be hardwired: Some functions have to be left to software.
A hardware designer creating a new device needs to decide early on which functions will be handled in hardware and which in software. Halfway through the design process, however, it may become clear that something allocated to hardware would run much better in software, or vice versa. At that point, the designer has two choices: Either incur the expense including time delays of revising the design midstream, or charge to market with a flawed device.
At the Association for Computing Machinerys 17th International Conference on Architectural Support for Programming Languages and Operating Systems, researchers from MITs Computer Science and Artificial Intelligence Laboratory (CSAIL) will present a new system that enables hardware designers to specify, in a single programming language, all the functions they want a device to perform. They can thereafter designate which functions should run in hardware and which in software, and the system will automatically churn out the corresponding circuit descriptions and computer code. Revise the designations, and the circuits and code are revised as well. The system also determines how to connect the special-purpose hardware and the general-purpose processor that runs the software, and it alerts designers if they try to implement in hardware a function that will work only in software, or vice versa.
The new system is an extension of the chip-design language BlueSpec, whose theoretical foundations were laid in the 1990s and early 2000s by MIT computer scientist Arvind, the Charles W. and Jennifer C. Johnson Professor of Electrical Engineering and Computer Science, and his students. BlueSpec Inc., a company that Arvind co-founded in 2003, turned that theoretical work into working, commercial code.
As Arvind explains, in the early 1980s, an engineer designing a new chip would begin by drawing pictures of circuit layouts. People said, This is crazy, Arvind says. Why cant I write this description textually? And indeed, 1984 saw the first iteration of Verilog, a language that lets designers describe the components of a chip and automatically converts those descriptions into a circuit diagram.
BlueSpec, in turn, offers an even higher level of abstraction. Instead of describing circuitry, the designer specifies a set of rules that the chip must follow, and BlueSpec converts those specifications into Verilog code. For many designers, this turns out to be much more efficient than worrying about the low-level details of the circuit layout from the outset. Moreover, BlueSpec can often find shortcuts that a human engineer might overlook, using significantly fewer circuit components to implement a given set of rules, and it can guarantee that the resulting chip will actually do what its intended to do.
For the new paper, Arvind, his PhD student Myron King, and former graduate student Nirav Dave (now a computer scientist at SRI International) expanded the BlueSpec instruction set so that it can describe more elaborate operations that are possible only in software. They also introduced an annotation scheme, so the programmer can indicate which functions will be implemented in hardware and which in software, and they developed a new compiler that translates the functions allocated to hardware into Verilog and those allocated to software into C++ code.
Today, King says, if I consider my algorithm just to be a bunch of modules that Ive hooked together somehow, and I want to move one of these modules into hardware, I actually have to re-implement it. I have to write it again in a different language. What were trying to give people is a language where they can describe the algorithm once and then play around with how the algorithm is partitioned.
King acknowledges that BlueSpecs semantics describing an algorithm as a set of rules rather than as a sequence of instructions is a radical departure from the way that most people think about software. And indeed, among chip designers, Verilog is still much more popular than BlueSpec. But its precisely this way of thinking about computation that allows you to generate both hardware and software, King says.
Rajesh Gupta, the Qualcomm Professor in Embedded Microsystems at the University of California at San Diego, who wasnt involved in the research, agrees. Oftentimes, you need a dramatic change, not for the sake of the change, but because the problem demands it, Gupta says. But, he adds, hardware design is hard to begin with, and if some group of very smart people at MIT who are not exactly known for making things simple comes up with what looks like a very sophisticated model, some people will say, My chances of making a mistake here are so high that I better not risk it. And hardware designers tend to be a little bit more conservative, anyway. So thats why the adoption faces challenges.
Still, Gupta says, the ability to redraw the partition between hardware and software could be enticing enough to overcome hardware designers conservatism. If youre designing hardware for portable devices, you need to be more power efficient than you are today, Gupta says. But, he says, a device that relies too heavily on software requires so many layers of interpretation between the code and the circuitry that by the time it actually does anything useful, it has done many other things that are useless, which are infrastructural. To design systems that avoid such unnecessary, energy-intensive work, you need this integrated view of hardware and software, he says.
This story is republished courtesy of MIT News (http://web.mit.edu/newsoffice/), a popular site that covers news about MIT research, innovation and teaching.
Provided by
Massachusetts Institute of Technology
-
From lemons to lemonade: Reaction uses carbon dioxide to make carbon-based semiconductor,
32 comments
-
Thioridazine kills cancer stem cells in human while avoiding toxic side-effects of conventional cancer treatments,
3 comments
-
SpaceX private rocket blasts off for space station (Update),
42 comments
-
Climate scientists say they have solved riddle of rising sea,
31 comments
-
SpaceX capsule has 'new car' smell, astronauts say (Update),
4 comments
-
Ideas to mitigate risk of 911 calls being misdirected
May 24, 2012
-
Live scribe pen?
May 10, 2012
-
Shallow water flow simulation
May 07, 2012
-
Tablet for taking notes?
May 05, 2012
-
Best fit tablet for me?
May 05, 2012
-
Measure of Informaton
May 04, 2012
- More from Physics Forums - Computing & Technology
More news stories
Browser wars flare in mobile space
The browser wars are heating up again, but this time the fight is for dominance of the mobile Internet.
15 hours ago |
5 / 5 (2) |
3
Probability of contamination from severe nuclear reactor accidents is higher than expected: study
Catastrophic nuclear accidents such as the core meltdowns in Chernobyl and Fukushima are more likely to happen than previously assumed. Based on the operating hours of all civil nuclear reactors and the number ...
Technology / Energy & Green Tech
May 22, 2012 |
3.6 / 5 (25) |
56
|
HyperSolar shows dirty water no barrier to power world
(Phys.org) -- The Santa Barbara, California, company, HyperSolar, is set to transparently share the ups and downs of its research experiences toward the companys ultimate vision, successfully producing ...
SpotterRF debuts Radar Backpack Kit (w/ Video)
(Phys.org) -- SpotterRF has announced a special radar backpack kit designed to enhance situational awareness for soldiers on the ground. The company says its special radar is designed for warfighters as part ...
Tesla to launch electric sedan in US on June 22
Tesla Motors said Tuesday it would begin deliveries of "the world's first premium electric sedan" on June 22, slightly ahead of schedule.
Technology / Energy & Green Tech
May 22, 2012 |
4.5 / 5 (12) |
18
Stunning image of smallest possible five-ringed structure
Scientists have created and imaged the smallest possible five-ringed structure about 100,000 times thinner than a human hair and you'll probably recognise its shape.
'Unzipped' carbon nanotubes could help energize fuel cells, batteries
Multi-walled carbon nanotubes riddled with defects and impurities on the outside could replace some of the expensive platinum catalysts used in fuel cells and metal-air batteries, according to scientists at ...
Change in developmental timing was crucial in the evolutionary shift from dinosaurs to birds: study
At first glance, it's hard to see how a common house sparrow and a Tyrannosaurus Rex might have anything in common. After all, one is a bird that weighs less than an ounce, and the other is a dinosaur that ...
Computer model used to pinpoint prime materials for efficient carbon capture
When power plants begin capturing their carbon emissions to reduce greenhouse gases and to most in the electric power industry, it's a question of when, not if it will be an expensive undertaking.
T cells 'hunt' parasites like animal predators seek prey, study shows
By pairing an intimate knowledge of immune-system function with a deep understanding of statistical physics, a cross-disciplinary team at the University of Pennsylvania has arrived at a surprising finding: T cells use a movement ...
Land and sea species differ in climate change response: study
(Phys.org) -- Marine and terrestrial species will likely differ in their responses to climate warming, new research by Simon Fraser University and Australia’s University of Tasmania has found.
Dec 08, 2011
Rank: not rated yet
I think this is obviously fabulous and necessary for most chip design, but the program contains no creativity - It can help place modules, or design them properly, but it cannot design a better module than what it was programmed with initially.
This will generally benefit designers who are making well defined proprietary chips, like honeywell and boeing, or companies that are designing SOCs...Nvidia, should take note of this, because they frequently run into the described problems when designing their tegra line.
Dec 08, 2011
Rank: not rated yet
I have suggested that a hybrid Verilog/C dialect could be used to to run code as software on a processor that has support for process communication (ie a Transputer) but still be able to synthesize as hardware. System C also does the same thing using classes to represent signals and events and can run as software or formed into hardware.
This hardware software math continuoum is most evedent in DSP algorithms, I can't think of any other use for it. Just add some FPGA on the side!
Dec 08, 2011
Rank: not rated yet
spelling fixed!
At one time there were various hybrid processor FPGAs planned or in development but those kinds of experimental architectures are hard to get to market. Many companies have passed by in this space.
Also Altera a long time ago and now Xilinx today have Arm cores on board their FPGAs but those are more for controlling the FPGA hardware from an on board software platform rather than fiddling with HW SW partitioning. There was also once a big FPGA interest in Reconfigurable computing that was much easier done with the older and simpler architectures back in the 4000 days. Todays FPGAs are more for static programmable HW. If NVidia were to be interested I wonder what their re-configurable fabric would look like.