Skip to main content

NYUOGST

The Office of Global Science and Technology unites researchers across disciplines and global campuses to advance their fields, partnerships and impact.

Science & Tech Opportunities

Materials & Technologies

Physics · Chemistry · Engineering

New materials are the fundamental enablers of modern civilization — from fuel-efficient transport to next-generation energy systems. Advances in this space open new industries, drive economic growth, and define the frontier of human knowledge.

Anchored by

Active Website

Virtual World & Digital Life

AI · Computing · Data Science · Applied Math

Technology is fundamentally reshaping how we live, work, communicate, and make decisions. AI, computing, and data science are no longer just tools — they are the operating system of modern life, and understanding them is essential to navigating what comes next.

Anchored by

You Are Here

Sustainability

Climate · Technology · Adaptation

Humanity is in a race against time to build systems and societies that can endure. Research in sustainable technologies, materials, and climate adaptation is not optional — it is the infrastructure on which a livable future depends.

Anchored by

Active Website

Health, Biology & Human Condition

Medicine · Engineering · Life Sciences

The cost and complexity of human health is one of the defining challenges of our time. Research at the intersection of biology, engineering, and medicine holds the key to making care more effective, accessible, and affordable — for both people and the planet.

Anchored by

Engineering Health Institute
Website Coming Soon
NYU Global Science and TechnologyAI Institute
All publications

Benchmarking Large Language Models for Automated Verilog RTL Code Generation

Shailja Thakur, Baleegh Ahmad, Zhenxing Fan, Hammond A. Pearce, Benjamin Tan, Ramesh Karri, Brendan Dolan-Gavitt, Siddharth Garg

Design, Automation, and Test in Europe, 1-6 (2023)

Abstract

Automating hardware design could obviate a signif-icant amount of human error from the engineering process and lead to fewer errors. Verilog is a popular hardware description language to model and design digital systems, thus generating Verilog code is a critical first step. Emerging large language models (LLMs) are able to write high-quality code in other programming languages. In this paper, we characterize the ability of LLMs to generate useful Verilog. For this, we fine-tune pre-trained LLMs on Verilog datasets collected from GitHub and Verilog textbooks. We construct an evaluation framework comprising test-benches for functional analysis and a flow to test the syntax of Verilog code generated in response to problems of varying difficulty. Our findings show that across our problem scenarios, the fine-tuning results in LLMs more capable of producing syntactically correct code (25.9% overall). Further, when analyzing functional correctness, a fine-tuned open-source CodeGen LLM can outperform the state-of-the-art commercial Codex LLM (6.5% overall). We release our training/evaluation scripts and LLM checkpoints as open source contributions.

Read full publication (opens in new tab)