The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
plan: struct<command: string, stages: struct<csim: bool, csynth: bool, rtl_sim: bool, rtl_synth: bool, pla (... 156 chars omitted)
child 0, command: string
child 1, stages: struct<csim: bool, csynth: bool, rtl_sim: bool, rtl_synth: bool, place: bool, route: bool>
child 0, csim: bool
child 1, csynth: bool
child 2, rtl_sim: bool
child 3, rtl_synth: bool
child 4, place: bool
child 5, route: bool
child 2, max-minutes: struct<csim: null, csynth: int64, rtl_sim: int64, xelab: int64, impl: int64, extract: int64>
child 0, csim: null
child 1, csynth: int64
child 2, rtl_sim: int64
child 3, xelab: int64
child 4, impl: int64
child 5, extract: int64
child 3, written_at: timestamp[s]
current_status: struct<csim: null, csynth: string, rtl_sim: null, rtl_synth: null, place: null, route: null, written (... 18 chars omitted)
child 0, csim: null
child 1, csynth: string
child 2, rtl_sim: null
child 3, rtl_synth: null
child 4, place: null
child 5, route: null
child 6, written_at: timestamp[s]
timeouts: struct<>
stage_times: struct<hls_synthesis: int64, save_output: int64>
child 0, hls_synthesis: int64
child 1, save_output: int64
run: struct<provider: string, job_id: string, worker: string, status: string, kicked_out_at: null, resume (... 81 chars omitted)
child 0, provider: string
child 1, job_id: string
child 2, worker: string
child 3, status: string
child 4, kicked_out_at: null
child 5,
...
l
child 1, status: null
child 2, bytes: int64
child 3, elapsed_s: null
child 1, logic_opt: struct<saved: list<item: null>, status: null, bytes: int64, elapsed_s: null>
child 0, saved: list<item: null>
child 0, item: null
child 1, status: null
child 2, bytes: int64
child 3, elapsed_s: null
child 2, placed: struct<saved: list<item: null>, status: null, bytes: int64, elapsed_s: null>
child 0, saved: list<item: null>
child 0, item: null
child 1, status: null
child 2, bytes: int64
child 3, elapsed_s: null
child 3, physical_opt: struct<saved: list<item: null>, status: null, bytes: int64, elapsed_s: null>
child 0, saved: list<item: null>
child 0, item: null
child 1, status: null
child 2, bytes: int64
child 3, elapsed_s: null
child 4, routed: struct<saved: list<item: null>, status: null, bytes: int64, elapsed_s: null>
child 0, saved: list<item: null>
child 0, item: null
child 1, status: null
child 2, bytes: int64
child 3, elapsed_s: null
child 1, timeout: bool
child 2, cap_minutes: int64
to
{'provenance': {'base_design': {'name': Value('string'), 'hash': Value('null'), 'author_type': Value('string'), 'source': Value('string'), 'additional_info': {'url': Value('string'), 'license': Value('string'), 'description': Value('string'), 'date': Value('string')}}, 'variant': {'name': Value('string'), 'hash': Value('string'), 'author_type': Value('string'), 'sample_method': Value('string'), 'source': Value('string'), 'additional_info': {'description': Value('string'), 'goal': Value('string')}}}, 'frontend_abstraction_levels': {'abstraction_chain': List(Value('string')), 'natural_language': Value('null'), 'HLS-based High Level Compiler': Value('null'), 'HLS': {'language': Value('string'), 'tool': Value('string'), 'version': Value('string')}, 'HCL': Value('null'), 'RTL': Value('null')}, 'target_platform': {'type': Value('string'), 'vendor': Value('string'), 'family': Value('string'), 'part': Value('string'), 'tool_version': Value('string'), 'tool_build': Value('string'), 'flow_target': Value('string'), 'freq_mhz': Value('float64')}, 'backend_stages': {'hls_simulation': {'tool': {'tool': Value('null'), 'vendor': Value('null'), 'version': Value('null')}, 'content': {'saved': List(Value('null')), 'status': Value('null'), 'elapsed_s': Value('null'), 'bytes': Value('int64'), 'timeout': Value('bool'), 'cap_minutes': Value('null')}}, 'hls_synthesis': {'tool': {'tool': Value('string'), 'vendor': Value('string'), 'version': Value('string'), 'build': Value('string')}, 'content': {'sa
...
ue('null'), 'waveform': {'trace_level': Value('string'), 'elapsed_s': Value('null'), 'status': Value('null'), 'format': Value('null')}, 'elapsed_s': Value('null'), 'bytes': Value('int64'), 'timeout': Value('bool'), 'cap_minutes': Value('int64')}}, 'rtl_implementation': {'tool': {'tool': Value('null'), 'vendor': Value('null'), 'version': Value('null'), 'build': Value('null')}, 'content': {'stages': {'synthesis': {'saved': List(Value('null')), 'status': Value('null'), 'bytes': Value('int64'), 'elapsed_s': Value('null')}, 'logic_opt': {'saved': List(Value('null')), 'status': Value('null'), 'bytes': Value('int64'), 'elapsed_s': Value('null')}, 'placed': {'saved': List(Value('null')), 'status': Value('null'), 'bytes': Value('int64'), 'elapsed_s': Value('null')}, 'physical_opt': {'saved': List(Value('null')), 'status': Value('null'), 'bytes': Value('int64'), 'elapsed_s': Value('null')}, 'routed': {'saved': List(Value('null')), 'status': Value('null'), 'bytes': Value('int64'), 'elapsed_s': Value('null')}}, 'timeout': Value('bool'), 'cap_minutes': Value('int64')}}}, 'storage_bytes': Value('int64'), 'storage_human': Value('string'), 'schema_version': Value('int64'), 'backend': Value('string'), 'inputs': {'algorithm': Value('string'), 'src': Value('string'), 'tb': Value('string'), 'spec': Value('string'), 'hls_generator': Value('string'), 'other': Value('string')}, 'package': {'name': Value('string'), 'version': Value('string'), 'algorithm': Value('string'), 'digest': Value('string')}}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 151, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 274, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 131, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 574, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3074, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2578, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2603, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 577, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 459, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 373, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
plan: struct<command: string, stages: struct<csim: bool, csynth: bool, rtl_sim: bool, rtl_synth: bool, pla (... 156 chars omitted)
child 0, command: string
child 1, stages: struct<csim: bool, csynth: bool, rtl_sim: bool, rtl_synth: bool, place: bool, route: bool>
child 0, csim: bool
child 1, csynth: bool
child 2, rtl_sim: bool
child 3, rtl_synth: bool
child 4, place: bool
child 5, route: bool
child 2, max-minutes: struct<csim: null, csynth: int64, rtl_sim: int64, xelab: int64, impl: int64, extract: int64>
child 0, csim: null
child 1, csynth: int64
child 2, rtl_sim: int64
child 3, xelab: int64
child 4, impl: int64
child 5, extract: int64
child 3, written_at: timestamp[s]
current_status: struct<csim: null, csynth: string, rtl_sim: null, rtl_synth: null, place: null, route: null, written (... 18 chars omitted)
child 0, csim: null
child 1, csynth: string
child 2, rtl_sim: null
child 3, rtl_synth: null
child 4, place: null
child 5, route: null
child 6, written_at: timestamp[s]
timeouts: struct<>
stage_times: struct<hls_synthesis: int64, save_output: int64>
child 0, hls_synthesis: int64
child 1, save_output: int64
run: struct<provider: string, job_id: string, worker: string, status: string, kicked_out_at: null, resume (... 81 chars omitted)
child 0, provider: string
child 1, job_id: string
child 2, worker: string
child 3, status: string
child 4, kicked_out_at: null
child 5,
...
l
child 1, status: null
child 2, bytes: int64
child 3, elapsed_s: null
child 1, logic_opt: struct<saved: list<item: null>, status: null, bytes: int64, elapsed_s: null>
child 0, saved: list<item: null>
child 0, item: null
child 1, status: null
child 2, bytes: int64
child 3, elapsed_s: null
child 2, placed: struct<saved: list<item: null>, status: null, bytes: int64, elapsed_s: null>
child 0, saved: list<item: null>
child 0, item: null
child 1, status: null
child 2, bytes: int64
child 3, elapsed_s: null
child 3, physical_opt: struct<saved: list<item: null>, status: null, bytes: int64, elapsed_s: null>
child 0, saved: list<item: null>
child 0, item: null
child 1, status: null
child 2, bytes: int64
child 3, elapsed_s: null
child 4, routed: struct<saved: list<item: null>, status: null, bytes: int64, elapsed_s: null>
child 0, saved: list<item: null>
child 0, item: null
child 1, status: null
child 2, bytes: int64
child 3, elapsed_s: null
child 1, timeout: bool
child 2, cap_minutes: int64
to
{'provenance': {'base_design': {'name': Value('string'), 'hash': Value('null'), 'author_type': Value('string'), 'source': Value('string'), 'additional_info': {'url': Value('string'), 'license': Value('string'), 'description': Value('string'), 'date': Value('string')}}, 'variant': {'name': Value('string'), 'hash': Value('string'), 'author_type': Value('string'), 'sample_method': Value('string'), 'source': Value('string'), 'additional_info': {'description': Value('string'), 'goal': Value('string')}}}, 'frontend_abstraction_levels': {'abstraction_chain': List(Value('string')), 'natural_language': Value('null'), 'HLS-based High Level Compiler': Value('null'), 'HLS': {'language': Value('string'), 'tool': Value('string'), 'version': Value('string')}, 'HCL': Value('null'), 'RTL': Value('null')}, 'target_platform': {'type': Value('string'), 'vendor': Value('string'), 'family': Value('string'), 'part': Value('string'), 'tool_version': Value('string'), 'tool_build': Value('string'), 'flow_target': Value('string'), 'freq_mhz': Value('float64')}, 'backend_stages': {'hls_simulation': {'tool': {'tool': Value('null'), 'vendor': Value('null'), 'version': Value('null')}, 'content': {'saved': List(Value('null')), 'status': Value('null'), 'elapsed_s': Value('null'), 'bytes': Value('int64'), 'timeout': Value('bool'), 'cap_minutes': Value('null')}}, 'hls_synthesis': {'tool': {'tool': Value('string'), 'vendor': Value('string'), 'version': Value('string'), 'build': Value('string')}, 'content': {'sa
...
ue('null'), 'waveform': {'trace_level': Value('string'), 'elapsed_s': Value('null'), 'status': Value('null'), 'format': Value('null')}, 'elapsed_s': Value('null'), 'bytes': Value('int64'), 'timeout': Value('bool'), 'cap_minutes': Value('int64')}}, 'rtl_implementation': {'tool': {'tool': Value('null'), 'vendor': Value('null'), 'version': Value('null'), 'build': Value('null')}, 'content': {'stages': {'synthesis': {'saved': List(Value('null')), 'status': Value('null'), 'bytes': Value('int64'), 'elapsed_s': Value('null')}, 'logic_opt': {'saved': List(Value('null')), 'status': Value('null'), 'bytes': Value('int64'), 'elapsed_s': Value('null')}, 'placed': {'saved': List(Value('null')), 'status': Value('null'), 'bytes': Value('int64'), 'elapsed_s': Value('null')}, 'physical_opt': {'saved': List(Value('null')), 'status': Value('null'), 'bytes': Value('int64'), 'elapsed_s': Value('null')}, 'routed': {'saved': List(Value('null')), 'status': Value('null'), 'bytes': Value('int64'), 'elapsed_s': Value('null')}}, 'timeout': Value('bool'), 'cap_minutes': Value('int64')}}}, 'storage_bytes': Value('int64'), 'storage_human': Value('string'), 'schema_version': Value('int64'), 'backend': Value('string'), 'inputs': {'algorithm': Value('string'), 'src': Value('string'), 'tb': Value('string'), 'spec': Value('string'), 'hls_generator': Value('string'), 'other': Value('string')}, 'package': {'name': Value('string'), 'version': Value('string'), 'algorithm': Value('string'), 'digest': Value('string')}}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
ChipFactory-sample
This is a small demo of ChipFactory, not the full dataset.
The full ChipFactory dataset contains over 1 million design records averaging over 30K lines of RTL. The records combine four design sources: (1) generators and compilers, (2) external hardware datasets, (3) human-designed accelerators, and (4) software programs. HLS together with AI agents expands the latter two into design variants at scale. The records come with backend feedback from simulation through place and route, and the full dataset totals over 18 TB. This demo shows the record format with 11 design variants from 11 different base designs (405 MB), covering all four design sources, plus two benchmark problems.
Each design variant is one complete run, from the design inputs through every backend stage it reached, with the full tool outputs: generated RTL, logs, timing, utilization and power reports, and (where produced) waveforms and design checkpoints. The variants cover HLS, HLS-based high-level compilers, natural-language-to-RTL and hand-written RTL, and target both FPGA (AMD Vivado) and ASIC (OpenROAD with ASAP7 / sky130).
Design records by category
| Category | Design records in full ChipFactory | Variants in this demo |
|---|---|---|
| Generators and compilers | ~342K | 4 |
| External datasets | ~257K | 3 |
| Human-designed accelerators | ~248K | 2 |
| Software programs | ~160K | 2 |
| Total | over 1M | 11 |
Design variants
| Category | Base design | Variant | Upstream project | License | Abstraction chain | Target | Completed backend stages | outputs.tar.xz (compressed β extracted) |
|---|---|---|---|---|---|---|---|---|
| Generators and compilers | 00_ | generator- | ST-Flow | Apache-2.0 (code); Zenodo record CC-BY-4.0 | HLS-based compiler β HLS | FPGA xcv80-lsva4737-2MHP-e-S | C sim, HLS synth | 3.4 MB β 185 MB |
| add_ | generator- | FINN / finn-hlslib | BSD-3-Clause | HLS-based compiler β HLS | FPGA xcu55c-fsvh2892-2L-e | C sim, HLS synth, RTL sim, RTL synth | 0.4 MB β 8.0 MB | |
| bambu_ | bambu- | PandA-Bambu | Apache-2.0 WITH LLVM-exception | HLS (Bambu) | ASIC asap7sc7p5t_28 | HLS synth, RTL sim, RTL synth | 146 MB β 2.2 GB | |
| GemminiConfig | generator- | Gemmini / Chipyard / Rocket Chip | BSD-3-Clause AND Apache-2.0 | RTL | ASIC sky130_fd_sc_hd | RTL synth, Floorplan, Place | 230 MB β 3.3 GB | |
| External datasets | rtl_ | forgehls__ | ForgeHLS | MIT | HLS | FPGA xcv80-lsva4737-2MHP-e-S | HLS synth, RTL synth | 0.8 MB β 6.4 MB |
| aes | c2hlsc__ | C2HLSC | GPL-3.0 (bundled Algorithmic C ac_types headers: Apache-2.0) | HLS | FPGA xcv80-lsva4737-2MHP-e-S | HLS synth | 0.3 MB β 10 MB | |
| accu | rtllm2__ | RTLLM 2.0 | MIT | natural language β RTL | FPGA xcv80-lsva4737-2MHP-e-S | RTL sim, RTL synth, Place, Route | 4.0 MB β 16 MB | |
| Human-designed accelerators | gate layer (h512, s1024) | gate_ | FlexLLM | CC-BY-4.0 (released by the authors, UCLA VAST Lab) | HLS | FPGA xcv80-lsva4737-2MHP-e-S | HLS synth | 0.06 MB β 1.5 MB |
| 3d_ | rosetta__ | Rosetta | BSD-3-Clause | HLS | FPGA xcv80-lsva4737-2MHP-e-S | HLS synth | 0.34 MB β 12 MB | |
| Software programs | adaptive_ | adaptive_ | ChipFactory (agent-written program) | CC-BY-4.0 | HLS | FPGA xcu55c-fsvh2892-2L-e | HLS synth | 0.11 MB β 1.8 MB |
| algo_ | phase4_ | ChipFactory (agent-written program) | CC-BY-4.0 | HLS | FPGA xcv80-lsva4737-2MHP-e-S | C sim, HLS synth, RTL sim, RTL synth | 0.16 MB β 1.8 MB | |
| Total | 11 base designs | 11 variants | 405 MB β ~5.7 GB | |||||
Before extracting the GemminiConfig or bambu_cache_probe variant, make sure there is enough free disk space.
Layout
<collection>/tree/<variant>/
βββ index.json # provenance, abstraction chain, target platform, per-stage tool/version/status/metrics
βββ status.json # run plan, per-stage status and wall-clock times, run history
βββ inputs.tar.xz # design inputs (source, testbench, configs)
βββ outputs.tar.xz # all stage outputs (generated RTL, logs, reports, waveforms, checkpoints)
You can read the metadata without extracting the archives:
import json, glob
from huggingface_hub import snapshot_download
root = snapshot_download("UCLA-VAST/ChipFactory-sample", repo_type="dataset",
allow_patterns=["*/tree/*/*.json"])
for f in sorted(glob.glob(f"{root}/*/tree/*/index.json")):
d = json.load(open(f))
print(d["provenance"]["variant"]["name"], d["target_platform"].get("part"))
Extract one variant:
tar -xJf <collection>/tree/<variant>/outputs.tar.xz -C ./out
Benchmark problem examples
ChipFactory also defines a benchmark of 14 tasks (3,560 problems) built from these records: implementation prediction (T01βT04), behavioral prediction (T05βT07), ranking (T08βT10), generation (T11βT13) and optimization (T14). This demo includes two problems from the benchmark set:
| Task | Problem | Category | Base design | Upstream project | Inputs |
|---|---|---|---|---|---|
| T01 β implementation prediction | cf- |
Generators and compilers | 03_polybench/ |
ST-Flow | 24 HLS-generated Verilog files + timing constraints (688 KB) |
| T11 β RTL generation | cf- |
Software programs | miniz adler32 checksum |
miniz | 4 HLS-generated Verilog files (one module body removed) + simulation waveform (22 KB) |
benchmark/<task>/<problem_id>/
βββ index.json # problem manifest: provenance, answer schema, budget, input file hashes
βββ inputs/
βββ task.md # instructions given to the model
βββ context.json # problem settings (target part and timing constraints, or the removed region and waveform range)
βββ rtl/ # the design
βββ waveform.fst # T11 only: simulation waveform of the public part of the testbench
- T01 (implementation prediction). The model reads the RTL and constraints, without running EDA tools, and predicts the post-route
LUT,FF,DSP,BRAM_18Kandfrequency_mhzon an AMD Versalxcv80part. The score is the fraction of the five metrics within 20% relative error of the Vivado result. - T11 (RTL generation). The body of the 498-line module
adler32_checksum_hlswas removed. The model sees the rest of the design and the waveform of the first three quarters of the simulation, writes the missing module, and can call a syntax check and an RTL simulation against the public part. It passes when the full testbench, including the hidden last quarter, produces exactly the reference outputs.
The reference answers are not included in this demo; they will be released with the full version. index.json contains only their SHA-256 hashes, so the released answers can be checked against them.
Notes on contents
- Files generated by AMD Vitis HLS / Vivado carry the tools' standard copyright banner. These files are outputs produced from the designs listed above. No vendor IP core sources are included.
- Some variants include Vivado design checkpoints (
.dcp). You need AMD Vivado only to open them and continue running the flow. You don't need Vivado to access the labels: resource utilization, timing, power and HLS synthesis results are in plain-text reports (.rpt) and logs inoutputs.tar.xz, and waveforms (.fst) open with open-source viewers such as GTKWave. - PDK library files (
.lib,.lef,.gds) are not included. Get ASAP7 and sky130 from their upstream sources.
License
The ChipFactory annotations, metadata and generated artifacts are released under CC-BY-4.0. The base designs keep their upstream licenses (listed in the table above). Follow those licenses when you reuse the design sources.
Citation
The paper is under review. Citation details will be added when the paper is published.
- Downloads last month
- 9