Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
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 match

Need 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

CategoryBase designVariantUpstream projectLicenseAbstraction chainTargetCompleted backend stagesoutputs.tar.xz (compressed β†’ extracted)
Generators and compilers00_transformer/02_gpt2_tinygenerator-st-flow-kernel-00_transformer-02_gpt2_tiny-variant-balanced-dsp1000-decoupled-sa300-clock250mhzST-FlowApache-2.0 (code); Zenodo record CC-BY-4.0HLS-based compiler β†’ HLSFPGA xcv80-lsva4737-2MHP-e-SC sim, HLS synth3.4 MB β†’ 185 MB
add_topgenerator-finn-kernel-add_top-variant-baseline-board-u55c-clock250mhzFINN / finn-hlslibBSD-3-ClauseHLS-based compiler β†’ HLSFPGA xcu55c-fsvh2892-2L-eC sim, HLS synth, RTL sim, RTL synth0.4 MB β†’ 8.0 MB
bambu_cache_probebambu-asap7__bambu_cache_probe__bambu-yosys-openroad__s10PandA-BambuApache-2.0 WITH LLVM-exceptionHLS (Bambu)ASIC asap7sc7p5t_28HLS synth, RTL sim, RTL synth146 MB β†’ 2.2 GB
GemminiConfiggenerator-gemmini-sram-kernel-gemminiconfig-variant-gemmini-acc-kb-128-gemmini-dim-16-gemmini-sp-kb-128-clock10ns-sky130hd-tierplaceGemmini / Chipyard / Rocket ChipBSD-3-Clause AND Apache-2.0RTLASIC sky130_fd_sc_hdRTL synth, Floorplan, Place230 MB β†’ 3.3 GB
External datasetsrtl_chip/audio_processorforgehls__rtl_chip__audio_processor__design_1000__vitis-vivado__s0ForgeHLSMITHLSFPGA xcv80-lsva4737-2MHP-e-SHLS synth, RTL synth0.8 MB β†’ 6.4 MB
aesc2hlsc__aes-adaptive-1-area__vitis-vivado__s0C2HLSCGPL-3.0 (bundled Algorithmic C ac_types headers: Apache-2.0)HLSFPGA xcv80-lsva4737-2MHP-e-SHLS synth0.3 MB β†’ 10 MB
accurtllm2__accu__rtl-vivado__s0RTLLM 2.0MITnatural language β†’ RTLFPGA xcv80-lsva4737-2MHP-e-SRTL sim, RTL synth, Place, Route4.0 MB β†’ 16 MB
Human-designed acceleratorsgate layer (h512, s1024)gate_io2_h512_s1024__s0__9b534e788e19FlexLLMCC-BY-4.0 (released by the authors, UCLA VAST Lab)HLSFPGA xcv80-lsva4737-2MHP-e-SHLS synth0.06 MB β†’ 1.5 MB
3d_renderingrosetta__3d_rendering__labeled__L2_ZCULLING_u1_ii4__v80RosettaBSD-3-ClauseHLSFPGA xcv80-lsva4737-2MHP-e-SHLS synth0.34 MB β†’ 12 MB
Software programsadaptive_medical_voxel_reconstructoradaptive_medical_voxel_reconstructor_medium__labeled__L0_P5L0_u1_ii4ChipFactory (agent-written program)CC-BY-4.0HLSFPGA xcu55c-fsvh2892-2L-eHLS synth0.11 MB β†’ 1.8 MB
algo_116_hardphase4_hls_agent__algo-116-hard__phase4-opt-0909-010__vitis-vivado__s0ChipFactory (agent-written program)CC-BY-4.0HLSFPGA xcv80-lsva4737-2MHP-e-SC sim, HLS synth, RTL sim, RTL synth0.16 MB β†’ 1.8 MB
Total11 base designs11 variants405 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-b99bcbdfd67837c27e5e-dddd5306172c Generators and compilers 03_polybench/01_atax ST-Flow 24 HLS-generated Verilog files + timing constraints (688 KB)
T11 β€” RTL generation cf-2bbafe3c7dce0bdd00c5-067918659c78 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_18K and frequency_mhz on an AMD Versal xcv80 part. 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_hls was 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 in outputs.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