Skip to main content
Schema-backed field inventoryrr help project.yml

project.yml

Portable configuration for one FPGA project—or many targets.

Name the design, select the hardware, and declare how it should be checked and built. Keep that complete configuration in project.yml, or use the root file to select one of several complete target configurations.

68
top-level areas
2
required areas
4
vendor ecosystems
1
portable project model

Small by default

A working file does not need to list every source.

rr init creates the initial file. With auto_sources enabled, RouteRTL walks outward from the top module and discovers the HDL dependency graph. Add explicit configuration only when the project needs it.

rr initrr config get hardware.partrr config set hardware.part <part>rr help project.yml --all
project.ymlstarter
project:
  name: sensor_hub
  top_module: sensor_hub

hardware:
  vendor: xilinx
  part: xc7a35tcsg324-1
  language: vhdl

auto_sources: true

simulation:
  test_dir: sim/cocotb/tests
  simulator: nvc

linting:
  simulator: ghdl

Configuration boundaries

What goes where

Project intent is portable. Board variants and machine-specific coordination have their own scopes.

01

Portable project

project.yml

Design intent that should behave the same on a laptop, in CI, and on another supported toolchain.

02

Target variants

targets/<name>.yml

Complete target configurations for another board, part, language, or build profile. rr target selects the active one.

03

Host configuration

bench.yml + local state

Physical wiring, shared-resource ownership, queues, and telemetry stay with the machine instead of leaking into the project.

Top-level reference

Every configuration area

This inventory is checked against the live CLI. For nested fields, allowed values, and examples, run rr help project.yml <area> --all.

Project identity

Name the design and select the FPGA target.

  • projectrequired

    Project name plus synthesis and simulation top levels.

    rr help project.yml project --all
  • hardwarerequired

    Vendor, part, language, board platform, clocks, and pin selection.

    rr help project.yml hardware --all
  • status

    Whether a target is active, parked, or intentionally set aside.

    rr help project.yml status --all
  • target

    Delegate the whole configuration to a target yml whose contents replace the root config.

    rr help project.yml target --all
  • extends

    Let a target yml inherit a base config, by path or by target name.

    rr help project.yml extends --all
  • includes

    Fold config fragments into this file, each path relative to the file itself.

    rr help project.yml includes --all
  • variants

    Define ECO bitstream variants built from a pinned routed checkpoint.

    rr help project.yml variants --all
  • parts

    List the board or project ICs in a structured parts list.

    rr help project.yml parts --all
  • branding

    Rename the CLI for white-label distribution.

    rr help project.yml branding --all

Sources & composition

Describe what belongs in the design and where RouteRTL should find it.

  • auto_sources

    Let the dependency resolver discover HDL from the selected top levels.

    rr help project.yml auto_sources --all
  • sources

    Add explicit HDL, constraints, netlists, or packaged IP when discovery is not enough.

    rr help project.yml sources --all
  • sources_per_vendor

    Add or exclude sources for one vendor only.

    rr help project.yml sources_per_vendor --all
  • paths

    Override project-relative locations for sources and generated artifacts.

    rr help project.yml paths --all
  • dependencies

    Declare external HDL libraries fetched into the project workspace.

    rr help project.yml dependencies --all
  • ips

    Track registry packages added to the project.

    rr help project.yml ips --all
  • packages

    Describe reusable IP bundles published from the project.

    rr help project.yml packages --all
  • packages_lock

    Choose where this target keeps its package lock and vendored packages.

    rr help project.yml packages_lock --all
  • package_constraints

    Leave out the constraints a locked package ships, for this target only.

    rr help project.yml package_constraints --all
  • system_config

    Connect register-bank and system-configuration inputs.

    rr help project.yml system_config --all
  • memory_map

    Point embedded software flows at the project memory map.

    rr help project.yml memory_map --all
  • contracts

    Declare static compatibility contracts between IP and the selected target.

    rr help project.yml contracts --all

Verification & quality

Choose discovery, simulation, linting, CDC, and evidence policy.

  • simulation

    Simulator preference, test discovery, tags, waveforms, and run defaults.

    rr help project.yml simulation --all
  • linting

    Lint backend and project-wide lint profile.

    rr help project.yml linting --all
  • cdc_waivers

    Document reviewed clock-domain crossings with explicit justification.

    rr help project.yml cdc_waivers --all
  • cdc

    Configure the pre-route structural clock-domain-crossing gate.

    rr help project.yml cdc --all
  • timing

    Decide whether a failing timing analysis blocks synthesis, implementation, or bitstream.

    rr help project.yml timing --all
  • timing_contract

    Declare clock-domain-crossing and net timing budgets derived from the live clock periods.

    rr help project.yml timing_contract --all
  • declared_clocks

    Declare clocks and their periods before synthesis so RTL constants can be derived from them.

    rr help project.yml declared_clocks --all
  • clocks

    Instantiate fabric PLLs and clock managers declaratively.

    rr help project.yml clocks --all
  • clock_constants

    Export RTL constants derived from the declared clocks as build-time macros or generics.

    rr help project.yml clock_constants --all
  • requirements

    Connect verification declarations to the project.

    rr help project.yml requirements --all
  • coverage

    Configure project coverage measurement and quality gates.

    rr help project.yml coverage --all
  • formal

    Configure formal elaboration used to qualify proof evidence.

    rr help project.yml formal --all
  • fdd

    Set the Firmware Design Document policy enforced by rr fdd check.

    rr help project.yml fdd --all
  • project_documents

    List the project's own design documents that rr docs missing checks are present.

    rr help project.yml project_documents --all
  • sim

    Set the environment simulations run under when the queue dispatches them.

    rr help project.yml sim --all
  • vboard

    Choose the modelled peripherals a virtual RouteBoard session instantiates.

    rr help project.yml vboard --all
  • advise

    Silence project-advisor findings that have been reviewed and accepted.

    rr help project.yml advise --all
  • ai_authorship

    Track AI-authorship evidence for rr trust.

    rr help project.yml ai_authorship --all

Build & delivery

Control tool execution, automation, CI, and software delivery.

  • build_options

    Pin tool releases and select synthesis or implementation strategies.

    rr help project.yml build_options --all
  • build

    Set build-history retention, including recoverable bitstream snapshots.

    rr help project.yml build --all
  • tcl_hooks

    Preserve necessary vendor-tool hooks, especially for migrated projects.

    rr help project.yml tcl_hooks --all
  • hooks

    Run project checks and generation steps around commits and simulations.

    rr help project.yml hooks --all
  • cicd

    Set project-specific continuous-integration behavior.

    rr help project.yml cicd --all
  • linux

    Describe embedded Linux sources, boot inputs, and software payloads.

    rr help project.yml linux --all
  • firmware_apps

    Build Zynq UltraScale+ A53/R5 bare-metal or RTOS applications with rr firmware build.

    rr help project.yml firmware_apps --all
  • provenance

    Name the targets that must stamp their build identity with a provenance_macros pre-build hook.

    rr help project.yml provenance --all
  • eda_memory

    Set memory admission and containment policy for heavy EDA processes.

    rr help project.yml eda_memory --all
  • memories

    Declare the expected physical implementation of inferred memories, so a change is caught.

    rr help project.yml memories --all
  • artifact

    Configure the local bench artifact store.

    rr help project.yml artifact --all
  • features

    Opt into staged project behaviors explicitly.

    rr help project.yml features --all
  • toolchain

    Pick which vendor install builds this part, instead of whichever one PATH names first.

    rr help project.yml toolchain --all
  • environment

    Declare the environment variables the project depends on, with defaults.

    rr help project.yml environment --all
  • synthesis

    Set the gates applied at the synthesis stage.

    rr help project.yml synthesis --all
  • implementation

    Set the gates applied at the implementation stage.

    rr help project.yml implementation --all
  • impl

    Short alias of implementation.

    rr help project.yml impl --all
  • programming

    Set the defaults rr program uses when no CLI argument overrides them.

    rr help project.yml programming --all
  • queue

    Tune how the build queue admits and dispatches this project's jobs.

    rr help project.yml queue --all
  • queue_builds

    Route build-stage commands through the local build queue.

    rr help project.yml queue_builds --all
  • queue_sims

    Route simulation commands through the local simulation queue.

    rr help project.yml queue_sims --all
  • lock

    Tune ip.lock behavior.

    rr help project.yml lock --all
  • docker

    Select the container image used for containerized runs.

    rr help project.yml docker --all
  • makefile_overrides

    Override the directory layout of the generated Makefile.

    rr help project.yml makefile_overrides --all
  • vendor_overrides

    Apply per-vendor knobs to the emitted vendor Tcl.

    rr help project.yml vendor_overrides --all

Legacy compatibility

Root-level keys kept so older project.yml files still load. Prefer the replacement in each entry.

  • name

    Superseded by project.name.

    rr help project.yml name --all
  • board

    Superseded by hardware.platform.

    rr help project.yml board --all
  • output_dir

    Superseded by project.output_dir.

    rr help project.yml output_dir --all
  • stage_files

    Superseded by hooks.post_ip_gen.

    rr help project.yml stage_files --all

Use the resolved model

Change configuration through rr.

rr config reads and writes dot-paths safely. rr target manages complete target variants without hand-editing the active pointer.

Open the command map