Datasets:

razinemg commited on
Commit
5ee7644
·
verified ·
1 Parent(s): 6ed56b2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +181 -0
README.md CHANGED
@@ -1,3 +1,184 @@
1
  ---
 
 
 
 
 
 
 
2
  license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ pretty_name: NotSoTiny (NST-26-07)
3
+ annotations_creators:
4
+ - expert-generated
5
+ - machine-generated
6
+ language:
7
+ - en
8
+ - code
9
  license: apache-2.0
10
+ task_categories:
11
+ - text-generation
12
+ - fill-mask
13
+ tags:
14
+ - verilog
15
+ - hardware-design
16
+ - code-generation
17
+ - llm-evaluation
18
+ size_categories:
19
+ - 1K<n<10K
20
+ source_datasets:
21
+ - tiny-tapeout
22
  ---
23
+
24
+ <h1 align="center">NotSoTiny: A Large, Living Benchmark for RTL Code Generation</h1>
25
+
26
+ <hr style="margin: 15px">
27
+
28
+ <div align="center" style="line-height: 1;">
29
+ <a href="https://razinemg.github.io/notsotiny-website" target="_blank" style="margin: 1px;">
30
+ <img alt="Benchmark Website" src="https://img.shields.io/badge/Website-NotSoTiny-8A2BE2" style="display: inline-block; vertical-align: middle;"/>
31
+ </a>
32
+ <a href="https://hpai.bsc.es/" target="_blank" style="margin: 1px;">
33
+ <img alt="HPAI Web" src="https://img.shields.io/badge/HPAI-BSC-4169E1" style="display: inline-block; vertical-align: middle;"/>
34
+ </a>
35
+ <a href="https://huggingface.co/HPAI-BSC" target="_blank" style="margin: 1px;">
36
+ <img alt="Hugging Face" src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-HPAI-ffc107?color=ffc107&logoColor=white" style="display: inline-block; vertical-align: middle;"/>
37
+ </a>
38
+ <a href="https://github.com/HPAI-BSC" target="_blank" style="margin: 1px;">
39
+ <img alt="GitHub" src="https://img.shields.io/badge/GitHub-HPAI-%23121011.svg?logo=github&logoColor=white" style="display: inline-block; vertical-align: middle;"/>
40
+ </a>
41
+ </div>
42
+
43
+ <div align="center" style="line-height: 1;">
44
+ <a href="https://www.linkedin.com/company/hpai" target="_blank" style="margin: 1px;">
45
+ <img alt="Linkedin" src="https://img.shields.io/badge/Linkedin-HPAI-blue" style="display: inline-block; vertical-align: middle;"/>
46
+ </a>
47
+ <a href="https://bsky.app/profile/hpai.bsky.social" target="_blank" style="margin: 1px;">
48
+ <img alt="BlueSky" src="https://img.shields.io/badge/Bluesky-HPAI-0285FF?logo=bluesky&logoColor=fff" style="display: inline-block; vertical-align: middle;"/>
49
+ </a>
50
+ <a href="https://linktr.ee/hpai_bsc" target="_blank" style="margin: 1px;">
51
+ <img alt="LinkTree" src="https://img.shields.io/badge/Linktree-HPAI-43E55E?style=flat&logo=linktree&logoColor=white" style="display: inline-block; vertical-align: middle;"/>
52
+ </a>
53
+ </div>
54
+
55
+ <div align="center" style="line-height: 1;">
56
+ <a href="https://arxiv.org/abs/2512.20823" target="_blank" style="margin: 1px;">
57
+ <img
58
+ alt="arXiv"
59
+ src="https://img.shields.io/badge/arXiv-2512.20823-b31b1b.svg"
60
+ style="display: inline-block; vertical-align: middle;"
61
+ />
62
+ </a>
63
+ <a href="https://www.apache.org/licenses/LICENSE-2.0" style="margin: 1px;">
64
+ <img
65
+ alt="Apache License 2.0"
66
+ src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"
67
+ style="display: inline-block; vertical-align: middle;"
68
+ />
69
+ </a>
70
+ </div>
71
+
72
+ # Table of Contents
73
+ - [Summary](#summary)
74
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
75
+ - [Languages](#languages)
76
+ - [Dataset Structure](#dataset-structure)
77
+ - [Data Instances](#data-instances)
78
+ - [Data Fields](#data-fields)
79
+ - [Data Splits](#data-splits)
80
+ - [Dataset Creation](#dataset-creation)
81
+ - [Curation Rationale](#curation-rationale)
82
+ - [Source Data](#source-data)
83
+ - [Data Processing](#data-processing)
84
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
85
+ - [Additional Information](#additional-information)
86
+ - [License](#license)
87
+ - [Citation Information](#citation-information)
88
+ - [Acknowledgements](#acknowledgements)
89
+
90
+ # Summary
91
+
92
+ **NotSoTiny** is a large, structurally rich, and "living" benchmark designed to assess Large Language Models (LLMs) on the generation of context-aware RTL (Register-Transfer Level) code. Built from hundreds of real hardware designs produced by the [**Tiny Tapeout**](https://tinytapeout.com) community, this benchmark overcomes the limitations of prior static datasets by periodically incorporating new designs, making it resilient to data contamination.
93
+
94
+ As part of the NotSoTiny benchmark's commitment to continuous updates, **the dataset is refreshed every 6 months** as new Tiny Tapeout shuttles become available.
95
+
96
+ 🌐 **Official Portal & Leaderboard:** NotSoTiny now features a dedicated [**Benchmark Website**](https://razinemg.github.io/notsotiny-website) to stay up to date with news, new dataset version releases, and model leaderboards alongside the main TuRTLe portal.
97
+
98
+ This repository contains the **NST-26-07** release, which is the latest version of the benchmark dataset containing **1,146 deduplicated and curated tasks** derived from real, taped-out hardware designs across 9 recent Tiny Tapeout shuttles:
99
+ * `ttgf0p3`
100
+ * `ttgf26b`
101
+ * `ttgf26a`
102
+ * `ttsky26b`
103
+ * `ttsky26a`
104
+ * `ttihp0p4`
105
+ * `ttihp26a`
106
+ * `ttgf0p2`
107
+ * `ttsky25b`
108
+
109
+ > **Note on Previous Releases:** If you are looking for the earlier baseline version of the benchmark, you can access the [NotSoTiny-25-12 release on Hugging Face](https://huggingface.co/datasets/HPAI-BSC/NotSoTiny-25-12).
110
+
111
+ Unlike previous benchmarks which rely on standalone modules or explicit specifications, NotSoTiny focuses on **contextual module completion**. In this setup, models are presented with a full design context, where one module is masked. The LLM must infer the missing module's functionality and interface solely from the surrounding implementation, mirroring real-world development scenarios where new components must integrate into existing systems.
112
+
113
+ ## Supported Tasks and Leaderboards
114
+ * **Task:** `module-completion` (Hardware (Verilog) Code Completion).
115
+ * **Leaderboard:** Solutions are evaluated using syntax checks and functional correctness through **Formal Equivalence Checking** (via Yosys). You can check leaderboards and evaluation updates directly on the [**NotSoTiny Website**](https://razinemg.github.io/notsotiny-website) or via the [**TuRTLe**](https://huggingface.co/spaces/HPAI-BSC/TuRTLe-Leaderboard) Leaderboard space.
116
+
117
+ ## Languages
118
+ The dataset contains:
119
+ * **Verilog** (for hardware designs, prompts, and golden modules).
120
+ * **English** (for system messages and metadata).
121
+
122
+ # Dataset Structure
123
+
124
+ ## Data Instances
125
+ Each row in the dataset represents a single module completion task. The model is given a `system_message` and a `prompt` (containing the context file `task.v`), and is expected to generate the missing Verilog code that matches the functionality of the `golden_module`.
126
+
127
+ ## Data Fields
128
+ * **`task_id`** (string): A unique identifier for the task, formatted as `<shuttle_name>_<incremental_number>`.
129
+ * **`shuttle_name`** (string): The identifier of the Tiny Tapeout shuttle from which the design originated (e.g., ttgf0p3, ttsky26c).
130
+ * **`project_name`** (string): The name of the original Tiny Tapeout project containing the task.
131
+ * **`task_name`** (string): The name of the task directory, corresponding to the specific design module being tested.
132
+ * **`system_message`** (string): A unified system prompt (same for all tasks) used to instruct the LLM.
133
+ * **`prompt`** (string): The content of `task.v`. This contains the surrounding design context with the target module missing, serving as the input for the LLM.
134
+ * **`golden_module`** (string): The content of `original_module.v`. This is the ground truth implementation of the masked module, used for formal verification.
135
+
136
+ ## Data Splits
137
+ The **NST-26-07** release consists of a single split containing **1,146 validated tasks** derived from 9 Tiny Tapeout shuttles (`ttsky26c`, `ttgf0p3`, `ttgf26b`, `ttgf26a`, `ttsky26b`, `ttsky26a`, `ttihp0p4`, `ttihp26a`, `ttgf0p2`, and `ttsky25b`).
138
+
139
+ # Dataset Creation
140
+
141
+ ## Curation Rationale
142
+ Current RTL benchmarks suffer from insufficient scale, shallow verification protocols, and a high risk of training data contamination. NotSoTiny was created to address these issues by:
143
+ 1. **Scale & Complexity:** Providing tasks with deeper hierarchies and complex control/datapath interactions typical of real hardware.
144
+ 2. **Living Nature:** Utilizing the continuous release schedule of Tiny Tapeout shuttles to constantly refresh the benchmark every 6 months, keeping it ahead of LLM training data.
145
+ 3. **Rigorous Verification:** Using formal equivalence checking to ensure functional correctness, as simulation testbenches were found to have low coverage.
146
+
147
+ ## Source Data
148
+ The designs are sourced from the **Tiny Tapeout** project repositories on GitHub. These are open-source digital, mixed-signal, and analog circuits submitted by researchers and engineers for fabrication.
149
+
150
+ ## Data Processing
151
+ The dataset construction pipeline follows these steps:
152
+ 1. **Filtering:** Projects are filtered to ensure they contain valid `src/` and `test/` directories, a `Makefile`, and a valid `info.yaml`.
153
+ 2. **Module Aggregation:** The `vppreproc` tool is used to merge project files into a single self-contained Verilog file, preserving internal hierarchies.
154
+ 3. **Task Building:** Each aggregated design is decomposed into multiple tasks. For each task, the body of one module is removed (to be generated), while the remaining modules serve as context.
155
+ 4. **Temporal Deduplication:** To prevent data leakage and redundancy, designs are deduplicated across shuttles using MinHash and Locality-Sensitive Hashing (LSH). If duplicates exist, only the version from the oldest shuttle is retained.
156
+ 5. **Self-Verification:** A final validation step ensures compatibility by verifying the golden solution against itself using the general Yosys formal verification script. Only tasks that pass this check are included.
157
+
158
+ # Considerations for Using the Data
159
+
160
+ To use this dataset for benchmarking, it is highly recommended to integrate with the [**TuRTLe framework**](https://github.com/HPAI-BSC/TuRTLe). TuRTLe is a unified evaluation framework designed to automate the entire benchmarking pipeline for RTL generation.
161
+
162
+ Specifically, the framework handles:
163
+ * **Model Serving:** It manages model interactions and generation requests.
164
+ * **Processing & Verification:** It executes all necessary processing steps, from initial syntax validation to rigorous **Formal Equivalence Checking** (using Yosys) against the `golden_module`.
165
+ * **Final Reporting:** It calculates and outputs the final performance results using standardized metrics.
166
+
167
+ Follow the latest updates on model evaluations and benchmarking news at [**razinemg.github.io/notsotiny-website**](https://razinemg.github.io/notsotiny-website).
168
+
169
+ # Additional Information
170
+
171
+ ## License
172
+ The dataset is released under the Apache License 2.0.
173
+
174
+ ## Citation Information
175
+ ```bibtex
176
+ @misc{ghorab2025notsotinylargelivingbenchmark,
177
+ title={NotSoTiny: A Large, Living Benchmark for RTL Code Generation},
178
+ author={Razine Moundir Ghorab and Emanuele Parisi and Cristian Gutierrez-Gomez and Miquel Albert\'i-Binimelis and Miquel Moreto and Dario Garcia-Gasulla and Gokcen Kestor},
179
+ year={2025},
180
+ eprint={2512.20823},
181
+ archivePrefix={arXiv},
182
+ primaryClass={cs.AR},
183
+ url={[https://arxiv.org/abs/2512.20823](https://arxiv.org/abs/2512.20823)},
184
+ }