Slashdot Mirror


Help Build the World's First Community-Funded CPU ASIC

An anonymous reader writes "The 32-bit OpenRISC CPU has been available for many FPGAs and was turned into a commercial ASIC in 2003. Now, the OpenCores community is asking for donations to create a new ASIC with the OpenRISC CPU, ethernet, PCI, UART, USB and other peripherals. The goal is to be able to sell these ASICs at a low price to anyone who wants to build a cheap embedded system built completely on open source. The OpenRISC currently runs on Linux 2.6.37 and has ports of gcc 4.5.1 among other things."

31 of 140 comments (clear)

  1. Free at last by olof_k · · Score: 5, Insightful

    This is a milestone in open source history. No more complaining about undocumented behaviour that causes drivers to crash. It's just to download the RTL code and see for yourself what is going on. If this catches on, the chances of building truly open systems greatly improves. Go OpenCores!

    1. Re:Free at last by blair1q · · Score: 2

      Wait. Are you saying that just because it's open source, it's fully documented? ...

      Pardon me while I pick up my lung.

  2. Isn't SPARC open source? by Anonymous Coward · · Score: 5, Interesting
    1. Re:Isn't SPARC open source? by Anonymous Coward · · Score: 3, Funny

      I found a link to "Download the only free 64-bit micro processors". How do I install that in my MoBo? I'm running Vista.

    2. Re:Isn't SPARC open source? by TheRaven64 · · Score: 4, Funny

      There used to be a small company that produced the OpenSPARC chips. I can't remember what they were called - Star? Solar? Something like that. Anyway, they were bought by some database company a while ago, and they still make those chips.

      --
      I am TheRaven on Soylent News
    3. Re:Isn't SPARC open source? by ppc_digger · · Score: 2

      Fujitsu never implemented OpenSPARC. They developed the SPARC64 themselves, and the UltraSPARCs in their machines are manufactured by Oracle.

      --
      Of all major operating systems, UNIX is the only one originally meant for gaming.
    4. Re:Isn't SPARC open source? by mr_mischief · · Score: 2

      Damnit.. didn't mean to hit submit yet...

      The actual exact implementation of a particular SPARC might not be completely open, but they are all built against an open spec to be called "Sparc". That's a far cry from x86 or POWER.

  3. Re:Runs on? by maxwell+demon · · Score: 2

    Pretty sure Linux runs on a CPU, rather than the other way around.

    Unless the CPU is emulated. Then it might run on Linux.

    --
    The Tao of math: The numbers you can count are not the real numbers.
  4. GNU Electric by Script+Cat · · Score: 2

    GNU electric is used to design ASICs. You need a good set of standard cells and a synthesis tool. Then you write the logic in VHDL or verilog.

  5. Price? by Compaqt · · Score: 2

    I applaud the effort, and I hope it succeeds. The community ought to have its own hardware.

    But I hope the prices are a little less than those of OpenMoko and friends (BeagleBoard, FreeRunner, etc.) have been.

    --
    I'm not a lawyer, but I play one on the Internet. Blog
  6. Re:OK, I'll Say It by Bryan3000000 · · Score: 4, Informative

    You don't understand. Chip fabricators will fabricate custom designed chips. Many companies have this done. Apple used to do it until they brought it in-house, and they still do for many components. If the design is actually completed and manufacturable, the only limit on price is the quantity of the order. This project can actually do what it intends.

  7. Re:OK, I'll Say It by olof_k · · Score: 2

    No one has chip fabs in their basement. So someone will have to pay big money to make the masks and tape-out and test the hardware.

    This is why opencores is asking for donations

    Unless some major vendor picks up the design and mass produces it lots of 100s of thousands, the price per CPU is going to be stupidly more expensive than an off-the-shelf CPU/motherboard or embedded system.

    Not necessarily. Of course, the more chips that are produced, the cheaper they get, but this is also a non-profit effort, so if you are looking to buy low quantities, it might be cheaper than commercial offerings

  8. Re:OK, I'll Say It by AdamHaun · · Score: 2

    I think you're talking about MOSIS.

    http://www.mosis.com/

    --
    Visit the
  9. Nice idea, but many pitfalls... by StandardCell · · Score: 3, Insightful

    This is a nice idea, but there are a few serious problems with it:

    1. If this doesn't catch on and people want it to continue, this could be a significant ongoing cost for running this project above and beyond allocating what people might think are one-time NRE charges. None of this appears to be detailed enough on that site so I'm not sure how far they've thought through this. Who are the target vendors, and have they tendered bids? Costs vary greatly, and I'm not at all ready to throw money when there appears not to be an "open source" plan with sufficient detail to make this real, nor with open listing of the credentials of the individuals involved. If you're gathering up to $250k for a project and you want my money, I had damned well better know that you're able to execute and that you have a real plan and definitely not just an FAQ.

    2. How did they define the product? Is it based on market needs? If so, what markets and where is the information on said markets? If it's for hobbyists, I get that, but did anyone do even a rudimentary survey to say how many timers or UARTs might be necessary, whether they should embed an MMU so you can run a more advanced OS, or what the max CPU clock speed should be? If *I* am going to put my money in it, then why not ask *me* what I want? And yeah, I know I can contribute, but how have all of those contributions been managed, organized and synthesized into what is being built AND make it sufficiently relevant for enough time that this would be worth doing before technology moves on? I don't see a single place for that around their site.

    3. Frankly, why bother when there are many other vendors such as Microchip who offer 32-bit micros with fully-documented architectures and better capabilities that you can run Linux on? I know, I know, this is what open source is about, but we're not just talking about someone's spare time on a machine they do other things with; this is a real product with real implications. I seriously don't buy how they're going to change the industry since the successful players in the industry guarantee supply to their customers.

    I know I'm going to get flamed and down-voted for this post, but the open source hardware world is much tougher than the software world, and ASIC designs are steadily dropping because ASSPs are taking their place. I think people's efforts need to be focused on software, and this is coming from a guy who's been on Slashdot more than a decade with a hardware background (and hence my name) and has switched to the software and systems world...

    1. Re:Nice idea, but many pitfalls... by olof_k · · Score: 2
      I understand your critisism, and I also would like to see a more detailed plan. Since this is a pilot project, some things will have to be worked out during the planning phase.

      1. If this doesn't catch on and people want it to continue, this could be a significant ongoing cost for running this project above and beyond allocating what people might think are one-time NRE charges. None of this appears to be detailed enough on that site so I'm not sure how far they've thought through this. Who are the target vendors, and have they tendered bids? Costs vary greatly, and I'm not at all ready to throw money when there appears not to be an "open source" plan with sufficient detail to make this real, nor with open listing of the credentials of the individuals involved. If you're gathering up to $250k for a project and you want my money, I had damned well better know that you're able to execute and that you have a real plan and definitely not just an FAQ.

      As it is stated in the FAQ, the more money donated, the smaller process opencores can afford. That will also decide the possible ASIC vendors that can be used. I'm a bit curious about what other costs than the NRE that you are thinking of

      2. How did they define the product? Is it based on market needs? If so, what markets and where is the information on said markets? If it's for hobbyists, I get that, but did anyone do even a rudimentary survey to say how many timers or UARTs might be necessary, whether they should embed an MMU so you can run a more advanced OS, or what the max CPU clock speed should be? If *I* am going to put my money in it, then why not ask *me* what I want? And yeah, I know I can contribute, but how have all of those contributions been managed, organized and synthesized into what is being built AND make it sufficiently relevant for enough time that this would be worth doing before technology moves on? I don't see a single place for that around their site.

      The OpenRISC has been used in many projects before. The IP cores that are going into the ASIC should cover most basic needs. There is also a PCI bus included to cover some additional uses. A MMU will most certainly be included, since it is targeted towards running standard Linux. The CPU speed will be limited by the process, and the current design. Still, I agree that there should be a place for these kinds of discussions. I'm guessing there will be one. For now, slashdot will have to do :)

      3. Frankly, why bother when there are many other vendors such as Microchip who offer 32-bit micros with fully-documented architectures and better capabilities that you can run Linux on? I know, I know, this is what open source is about, but we're not just talking about someone's spare time on a machine they do other things with; this is a real product with real implications. I seriously don't buy how they're going to change the industry since the successful players in the industry guarantee supply to their customers.

      I think there are a lot of use cases for this. You can buy these cheap ASICs and build a system. If you need to hardware accelerate something, then you can replace the ASIC with a FPGA and extend the design. Come to think of it, it seems kind of backwards to prototype on an ASIC and then implement it in a FPGA :)

      I know I'm going to get flamed and down-voted for this post, but the open source hardware world is much tougher than the software world, and ASIC designs are steadily dropping because ASSPs are taking their place. I think people's efforts need to be focused on software, and this is coming from a guy who's been on Slashdot more than a decade with a hardware background (and hence my name) and has switched to the software and systems world...

      I really hope that you are wrong here. Open source efforts should be able to handle as much criticism as other projects. Regarding your other point, what

    2. Re:Nice idea, but many pitfalls... by VortexCortex · · Score: 2

      I never got the allure of open hardware. Pretty much all the benefits from open source is that you can change it easily, ...

      I'm sure RMS will buy one, but I can almost guarantee that I will not. But if there are enough people like RMS out there, feel free.

      Purchase Windows 9! The most secure OS line just got even more secure! W9 now implements both Intel CodeCrypt and AMD Secure Ops, giving you security from the application level all the way to the encrypted processor instructions!

      Currently, I can open up "closed source" binaries in a hex editor and see EXACTLY what it's telling my hardware to do. This may not be possible in the near future with chips that support public key encryption at the instruction level.

      Once this is possible, it's a simple matter to require licenses for any and all software development -- Its not too far fetched to imagine a law being passed that requires all software that uses the Internet or other Government controlled root-authority signed communication mediums to be licensed and encrypted / signed / tracked / etc. "Think of the children!" no? ok, then: "Only terrorists don't want security!"

      You may call folk like me paranoid and over-zealous, but it's people like me that actually get stirred up and help protect the rights of the more apathetic and/or ignorant. Don't you agree that most people don't communicate with / participate in their government enough? Who do you think picks up a bit of the slack? The over-zealous help combat the over apathetic...

      I assure you that projects like these do need to exist -- In the future, they may be the only thing that enables people like me to keep doing what we do, even if our right to do so has been eroded out from under us...

  10. Re:I'm holding out for a home chip fab kit by nurb432 · · Score: 2

    Then use a FPGA and program it yourself.

    --
    ---- Booth was a patriot ----
  11. HDCaml by inglorion_on_the_net · · Score: 2

    Speaking of grassroots chip design, what is happening with HDCaml these days? I thought the idea was pretty neat when I first heard of it (a hardware design language that is nicer to work with than VHDL and Verilog!), but is anybody actually working with or on it? Or any other improvements on the established languages?

    --
    Please correct me if I got my facts wrong.
    1. Re:HDCaml by olof_k · · Score: 3, Informative

      Haven't heard of HDCaml before, but the idea of inventing a nicer languange than Verilog and VHDL lives on. System Verilog adds a lot of syntactic sugar and new functionality, and there is a cool project called MyHDL that uses Python. System Verilog is gaining popularity in the industry, but unfortunately there aren't any open source tools to work with it yet. The commercial ones don't seem to implement the full language either. A bit like the HTML5 situation. We could really need something though. Even after having spent nearly ten yers doing hardware design, I find the two main languages horrible to work with.

  12. Re:Fix? by olof_k · · Score: 2

    But looking at the code and create workarounds that you know are working is a big step from guessing. Also, it theoretically enables you to optimize things, when you can monitor every register and clock cycle. Don't think that is very usable in reality though, but who knows. You don't need to donate $25 by the way. One dollar is fine

  13. Re:OK, I'll Say It by mr_mischief · · Score: 2

    The key word is prototype. Once you have chosen the prototype, you can go to production with it. That's what this project is about. They are trying to find enough people who want this prototype that has been in FPGAs for a long time to go to larger-scale production with a higher speed chip as a result. Keep using FPGAs to figure out the core you want (or to play with as many as you want), but if you decide to put it into a mass-market item, an ASIC is probably the way to go.

  14. Prices by Anonymous Coward · · Score: 2, Informative

    I work for a company that produces outsourcing for ASIC supply chain. Assuming a 130nm process, we are talking about $750K for masks and the like and $250k for Non-recurring engineering. Manufacturing run requirements would be a half lot at 8 inch- 12 wafers at probably 100-150 units per wafer MINIMUM.So expect a production run of at least a thousand.

    I don't think this project can be done on commercial terms.

  15. Re:OK, I'll Say It by olof_k · · Score: 2

    Yes, it might be expensive to manufacture small quantities, but availability is the key here. The space industry has learned it's lesson, and that's why they are interested in open source CPUs like LEON and OpenRISC

  16. MIPS by BigFootApe · · Score: 2

    While poking around a couple of weeks ago, I found a couple of HDL sources for MIPS R3000 cores. Would these run into licensing issues? They could be adapted to something similar, or perhaps other uses with the addition of on chip I/O and perhaps a vector unit, IMHO.

    1. Re:MIPS by olof_k · · Score: 2

      Not sure about MIPS, but ARM is quick to act if someone puts out ARM clones, and I guess the same principle would apply to MIPS clones, as they both are licensable. The difference is that the R3000 is from 1988 (according to wikipedia), which probably makes it less interesting

    2. Re:MIPS by Adam+Hazzlebank · · Score: 2

      The original ARM designs are from 1985 (approximately). There's also an ARM OpenCore http://opencores.org/project,core_arm which I wasn't aware ARM Ltd had attempted to kill yet?

  17. Re:Fix? by olof_k · · Score: 2

    Yes you can monitor every clock cycle. In a simulator, that is. Also, I'm well aware that most vendors ship good documentation, and of course, opencores can probably not afford to ship replacement chips if a bug is found after the chips have been manufactured. However, it's a known fact that we have problems with undocumented hardware on Linux. Being able to fully analyze not just the CPU, but also ethernet, PCI, USB and other peripherals should be a welcome addition for all those that are writing drivers or debugging a strange hardware behaviour. I have no comments on your last two sentences

  18. Re:OK, I'll Say It by Anonymous Coward · · Score: 3, Informative

    No, you don't understand.

    From the GP:

    No one has chip fabs in their basement. So someone will have to pay big money to make the masks and tape-out and test the hardware. Unless some major vendor picks up the design and mass produces it lots of 100s of thousands, the price per CPU is going to be stupidly more expensive than an off-the-shelf CPU/motherboard or embedded system. And, even then, you are probably buying an overpriced, underpowered CPU just because it is "free."

    Repeat this until reality sinks in. He's not saying that chip fabricators won't fabricate custom chips. He's saying that the cost of getting them to do so is prohibitive. If your order volume is small, the fixed costs will eat you alive.

    As for the project doing what it intends... the mission statement on the beg-for-donations page linked up above is full of monumentally dumb claims about how this is could revolutionize the industry and make the multinational giants quake in their boots. Yeah, right. The "multinational giants" and even the smaller players are busy working on chips which have reasonable technical specs for 2011 and beyond. These guys are making a trailing-edge toy which will have little appeal outside the niche of "people who must have everything in their computing lives approved by RMS".

    Allow me to support that assertion. I've looked at the "detailed" technical plan, which is anything but detailed. There is a block level view of what's going in, which is mostly off-the-shelf OpenCores cores, but there are no detailed plans about how this is going to be translated into an actual ASIC design. There are only plans for making a FPGA based development platform.

    Don't get me wrong, a FPGA platform is a good thing to do. A project like this won't have the resources to do very much design validation through simulation (which requires lots of people writing tests and running sims, i.e. real money), so FPGA based prototyping and validation is even more important than it is for conventional "closed source" ASIC projects. However, there is no plan given for how they're going to take their working FPGA design and turn it into an ASIC design. There isn't even any mention of which fab vendors and processes they're thinking of targeting. (and yes, these things matter immensely when you're making a chip.)

    It's somewhat revealing that they're using a single small Altera Cyclone IV FPGA (under $60 qty 1 through Digikey). If you don't understand the significance, this means their design is tiny and trivial and low tech by current standards. The big boys they're planning to make quake in their boots need multiple ~$5K to $10K ea. FPGAs (big ones with well over 10x the resources of the FPGA the opencores guys are using) to fit all the logic in their upcoming System-on-Chip ASIC designs.

    I suspect that if fully laid out their plan is something like "Build the FPGA version, and surely the ASIC guys will come knocking on our door with money to translate our awesome design into a chip!" But this will never happen, because their FPGA design is years behind the state of the art. They're competing against hordes of low cost chips which already do the same things and have already paid back their cost of development.

  19. Re:OK, I'll Say It by artor3 · · Score: 2

    Unfortunately, this project doesn't look to be completed or manufacturable. In fact, it looks like all they have is some HDL. Do they know what process technology they're going to use? Have they done any layout work? Did they do so with manufacturability in mind? Have they given thought to test modes? Do they have anyone to develop a test program?

    Making a chip is hard. Even if you have all the IP, you're still looking at hundreds of thousands of dollars to develop a thorough test program and work out all the chip's kinks. Sure, you can just hand over the mask set to a foundry and buy the wafers, but then you have thousands of chips and no way of knowing which ones work, or how well.

  20. Re:Fix? by tftp · · Score: 2

    Being able to fully analyze not just the CPU, but also ethernet, PCI, USB and other peripherals should be a welcome addition for all those that are writing drivers or debugging a strange hardware behaviour.

    I did my share of that in FPGAs (Xilinx EDK) and I don't want to even hear about it. You buy a COTS MCU, solder it, and it works. You have reference designs that work, and they are done by the vendor.

    What you are talking about is a completely new can of fresh worms. Making a working ASIC is hard; if you want as few bugs as possible then it's even harder. A buggy ASIC with an open-source RTL is a disaster. Yes, you can simulate it if you are crazy enough, but it takes lots of effort, and you can't simulate an odd timing error that occurs only now and then. ModelSim is not that fast, and you need to write lots of testbenches. In the end you will invest a lot of time into this debugging, and nobody knows if you can actually find a workaround. Your competitor, who picked a closed source MCU, would be already selling his product while you are busy explaining to the management why exactly your pick of the MCU was not so good.

    In other words, there is no practical reason to select this chip over any other - unless you fear that on some unfortunate date all supplies of commercial MCUs stop. This is not possible, too much in this world depends on little 8-, 16- and 32-bit embedded systems, and you can always build your own computer out of them and run Linux on it. Your freedom of computing will be preserved, unless some laws make that, like owning a debugger, a crime.

  21. Re:OK, I'll Say It by VortexCortex · · Score: 2

    This is stupid.

    Troll much?

    This is Stallmanism as its worst--"freedom" for freedom's sake without regard to functionality or practicality

    All I will say about this is it is rather shocking to hear this statement being cast in a negative light.

    I couldn't agree more. Additionally, Chip makers like Intel adding encryption capabilities to to their chips is offensive at best. Everyone knows that if an attacker has physical access, all bets are off -- even with encrypted chips... The only thing this does is prevent the end users from being able to tell what their CPU is doing.

    In no other industry do people purchase items that they can not be sure of their contents and function: Food has ingredient lists, cars have opening hoods, clothing lists fabric types, etc. Currently even closed source software plainly lists its machine instructions. This may not always be the case once CPUs have public key cryptography embedded....

    I think we need projects like these now more than ever, you can invoke "freedom" and "RMS" to imply over zealous freedom advocacy, yet I can point to current customer privacy concerns, government corruption, and major corporations with bad business practices such as "cutting off a competitor's air supply", "overselling services", and generally abusive behavior towards their own customers (lawsuits, etc).

    Clearly some people do value their freedoms more than other's.