ChatGPT designs a new microchip in just 100 minutes, following 125 messages in plain English – Vulcan Post

Account

We keep hearing that artificial intelligence (AI) is coming for our jobs and indeed, it may be true for a growing number of professions. One of them might soon be the very thing that powers computers running the increasingly more intelligent chatbots: hardware design.
Being a Large Language Model (LLM), a tool like ChatGPT isn’t tailored only to human languages but programming as well, since it is excellent at picking up patterns and then accurately applying them in practice.
In fact, in many ways, it’s probably better suited for coding than speech, given many double meanings — often not exactly logical — that we often use in conversations. Machines, in contrast, have to be specifically told what to do and whatever the input is, it is ultimately broken down into a binary series of zeros and ones.
We’ve seen ChatGPT perform rather well with popular programming languages already, but a team of researchers at New York University decided to test its capabilities in a much more specialised Hardware Description Language (HDL) such as Verilog, which is used in the process of manufacturing i.a. microprocessing chips — subsequently posting their findings on Arxiv in June.
HDLs are notoriously difficult to master, leading to relative shortage of expert engineers, and yet are essential to modern computing as they are the final step that moves the chip concept to manufacturing, as they describe chip geometry and composition in detail before it can go through the etching process.
The big challenge with hardware description languages is that not many people know how to write them. It’s quite hard to become an expert in them. That means we still have our best engineers doing menial things in these languages because there are just not that many engineers to do them.
The idea for the test was simple: prepare a model script for conversation with ChatGPT, which included human feedback allowing for the bot to self-correct as needed. If errors persisted, the test would be deemed a failure.
“Let us make a brand new microprocessor design together. We’re severely constrained on space and I/O. We have to fit in 1,000 standard cells of an ASIC, so I think we will need to restrict ourselves to an accumulator-based eight-bit architecture with no multi-byte instructions. Given this, how do you think we should begin?”
The processor in question was, of course, fairly simple but producible — and was, at the end of the test, manufactured in physical form using a tapeout process on Skywater 130 nm shuttle as the ultimate proof of concept:
This study resulted in what we believe is the first fully AI-generated HDL sent for fabrication into a physical chip.
Predictably, the entire process wasn’t free from faults and ChatGPT needed to correct itself with human guidance, but it managed to complete the project within 125 messages across 18 topics, as documented below:
Due to usage restrictions currently placed on ChatGPT 4.0 — limiting the bot to 25 messages per three hours — the project took over 22 hours (i.e. way longer than it could have). The team estimates that without this obstacle, the entire process could have been completed in under 100 minutes, with assistance of a human engineer.
In fact, despite ChatGPT’s mistakes, it is expected that use of AI in hardware design will actually lead to fewer design errors than simply relying on human engineers.
So, while ChatGPT isn’t yet capable of designing a microprocessor from start to finish, following just a single human prompt describing complete requirements for reference, it can act as a remarkably capable assistant, accelerating the design process, saving time and enabling people to work on multiple projects at the same time.
When the human feedback is provided to the more capable ChatGPT-4 model, or it is used to co-design, the language model seems to be a ‘force multiplier’, allowing for rapid design space exploration and iteration.
In general, ChatGPT-4 could produce functionally correct code, which could free up designer time when implementing common modules. Potential future work could involve a larger user study to investigate this potential, as well as the development of conversational LLMs specific to hardware design to improve upon the results.
Probably not, according to this interview published by All About Circuits with the team’s members:
It’s not about replacing the engineers because there’s always going to be tools and jobs that these AI can’t do. There’s always going to be weaknesses in what they produce because of the nature of how they work.
In many ways, the impact can be the exact opposite (and similar to other technological innovations in the past). It can free up humans to do more valuable things and improve our overall output instead of replacing us outright.
In this particular case, it might not only reduce the burdens on current human HDL engineers, but provide opportunities to new people and smaller companies to enter the field or do their own prototyping — as evidenced by one final, surprising admission from Dr. Pearce: “I’m not a chip design expert at all. This was the first chip I ever designed. I think that’s actually one of the reasons why this was so impressive.”
It sure is.
Featured Image Credit: Vulcan Post


Stay updated with Vulcan Post weekly curated news and updates.
MORE FROM VULCAN POST
F&B
Startups
Malaysian
Malaysian
Tech giants
Malaysian
Editor’s Picks
F&B
International
Edition
Vulcan Post aims to be the knowledge hub of Singapore and Malaysia.

© 2021 GRVTY Media Pte. Ltd.
(UEN 201431998C.)
International
Edition
Vulcan Post aims to be the knowledge hub of Singapore and Malaysia.

© 2021 GRVTY Media Pte. Ltd.
(UEN 201431998C.)
International
Edition
Singapore
Edition
Malaysia
Edition

source

Jesse
https://playwithchatgtp.com