Skip to main content

FAQ

Frequently Asked Questions


1. How is RouteRTL different from FuSoC?

FuSoC is a package manager and build dispatcher — you curate .core files with CAPI2 descriptors, pick a backend, and get a build. It excels at composing reusable IP libraries via its VLNV naming convention and provider system.

RouteRTL is an integrated development platform. You write one project.yml and get automatic source discovery, dependency resolution, hierarchy-aware linting, cocotb simulation with protocol drivers, code generation, multi-vendor synthesis, and bitstream output — without maintaining manual file lists or per-core descriptors.

DimensionFuSoCRouteRTL
Config modelOne .core file per IP block (CAPI2)One project.yml per project
Source orderingManual core lists; backend handles orderingAutomatic HDL parsing + topological sort
SimulationWraps simulator backendsCocotb 2.0+ with built-in protocol drivers
LintingExternal toolsHierarchy-aware, incremental, built-in
Code generationNoneBridges, register banks, test stubs
CI/CD integrationExternalPre-commit quality gates, Docker provisioning

In short: FuSoC gives you flexibility and modularity; RouteRTL gives you an opinionated, end-to-end workflow from RTL to bitstream.


2. What FPGA vendors are supported?

  • Xilinx / AMD — Vivado (+ Vitis HLS, embedded Linux via .xsa)
  • Intel / Altera — Quartus Pro, Standard, and Lite editions
  • Lattice — Radiant
  • Microchip — Libero SoC
  • Open-source — Yosys + nextpnr

Switching vendors is a one-line change in project.yml. Constraints, IP, and vendor-specific options are handled per-target in the targets/ directory.

For a full breakdown of free open-source vs. vendor-install vs. commercial vendor flows, see the EDA Licensing Matrix or run rr eda matrix.


3. Do I need to manually list my source files?

No. RouteRTL parses your VHDL, Verilog, and SystemVerilog sources, detects entity/module declarations, resolves the dependency graph via post-order DFS, and compiles in the correct order automatically.

It also auto-detects custom libraries from library clauses and use statements — no manual libraries.json needed for standard projects.

This has been validated against real-world designs with 77+ entities at 100% accuracy.


4. Can I add RouteRTL to an existing Vivado or Quartus project?

Yes. See the Existing Project Migration guide.

RouteRTL wraps vendor TCL natively — your existing constraints (.xdc, .sdc), IP cores, and project settings carry over. You don't need to start from scratch or rewrite your build flow.


5. What simulators does RouteRTL support?

  • Open-source: NVC, GHDL, Verilator, Icarus Verilog
  • Commercial: QuestaSim, Riviera-PRO

Cocotb 2.0+ is natively integrated. RouteRTL ships with built-in protocol drivers for:

  • AXI4, AXI4-Lite, Avalon-MM, Native Memory
  • UART (TX/RX), SPI (Master/Slave), I2C, QSPI

Waveform output is configurable per backend (FST, VCD, GHW, WLF).

See the Simulator Backends reference and the EDA Licensing Matrix for details.


6. Is RouteRTL open source?

The shell is open source. The core is under its own licence.

  • MIT — CLI, build system, cocotb drivers, hooks, documentation, examples. Use, fork, and modify freely.
  • RouteRTL Core License 1.0 (from release 5.1.0) — compiled core (parser, dependency resolver, linter engine). A 30-day evaluation for anyone. After it, free for an individual's own use after free registration; an organization of any size needs a commercial license (a named seat per engineer or a company-wide Enterprise license). An open-hardware project whose design sources are published under an open license may use it free of charge, for that project. The core may not be used to provide a competing product.
  • RouteRTL Academic License 1.0 — accredited institutions and non-profit public research institutes, for teaching and published non-commercial research. Research funded by industry is commercial use.

Releases before 5.1.0 remain under the PolyForm Shield License 1.0.0 they were published with.

The core EDA flows (synthesis, simulation, linting, embedded Linux) run without a license key; the local client never blocks them. Whether a commercial license is needed is set by the licence terms above, not by a key. Run rr eda matrix or rr license explain to inspect the live matrix, or consult the EDA Licensing Matrix.


7. Which flows run free vs. require a vendor install or RouteRTL license?

RouteRTL groups tool requirements into five clear categories:

  1. Free & Open-Source (free-open) — Completely free tools requiring no vendor software and no licenses (NVC, GHDL, Verilator, Icarus, Yosys + nextpnr, DTC, GCC cross-compilers).
  2. Vendor Install Required (vendor-install) — Free vendor tools/editions with no paid license needed (Quartus Lite, Vivado Standard/ML, Vitis, Lattice Radiant web license, Microchip Libero Silver).
  3. Vendor License Required (vendor-license) — Commercial vendor tools requiring a paid license or FlexLM server (Quartus Pro/Standard, Microchip Libero SoC Plus, Questa commercial, Riviera-PRO).
  4. Edition-Dependent (edition-dependent) — Tools whose licensing depends on the installed edition (quartus_sh: Lite edition is free, Pro/Standard requires FlexLM).
  5. RouteRTL Entitlement (RouteRTL entitlement) — Advanced team services (private org registry, team knowledge sharing) requiring a RouteRTL Pro or Enterprise token. All FPGA builds, simulations, and linting run on the Free tier.

Inspect the complete matrix via CLI or documentation:


8. How do I install it?

python3 -m venv .venv source .venv/bin/activate pip install routertl

Python 3.10+ required. The venv step matters: on Ubuntu 24.04+ / Debian 12+ and other externally-managed Pythons, a bare pip install routertl fails with error: installation refused by PEP 668 (PEP 668). The virtualenv above avoids it; pipx install routertl is an equivalent isolated alternative. Then verify your vendor toolchain:

rr doctor

rr doctor checks that your FPGA tools (Vivado, Quartus, etc.) are reachable and correctly configured. See the Installation Guide for platform-specific setup (Linux, WSL2, macOS).


9. Can RouteRTL generate RTL code?

Yes. Built-in generators include:

  • Bridge generator — AXI ↔ Avalon ↔ Native Memory crossbar, with SystemVerilog Assertions (SVA) for protocol compliance.
  • Register bank generator — YAML register description → VHDL + C headers + HTML documentation. One source of truth for hardware and firmware.
  • Test generator — Cocotb boilerplate from entity/module declarations (rr testgen <entity>).
  • IP auto-discovery — Scans existing source trees and proposes an ip.yml manifest (rr ip auto-discover).

10. Does it work in CI/CD?

Yes. RouteRTL is designed for automated workflows:

  • Pre-commit quality gates — lint, YAML validation, Python checks, and test execution block commits on failure. Configured in project.yml:

    hooks: pre_commit: lint: true check_yaml: true lint_python: true tests: auto
  • Docker provisioning — rr docker install vivado (or quartus, radiant, libero) gives you deterministic build environments across local dev and CI.

    Jenkins all work. The CLI is a single pip install with no system dependencies beyond the vendor tools themselves.


11. Does RouteRTL include a waveform viewer?

Yes. RouteRTL ships with logic-trace, a hardware-accelerated waveform viewer built from the ground up as a modern replacement for GTKWave.

When you run rr sim, logic-trace is automatically downloaded on first use and launched with your simulation output — no manual tool switching.

Key features:

  • 60 FPS OpenGL rendering — smooth pan/zoom on traces with millions of transitions, using hierarchical LOD (renders in O(screen width), not O(data))
  • Multi-format support — VCD, FST, GHW (GHDL native), Vivado ILA CSV, and its own .ltrace JSON format
  • Built-in protocol decoders — UART (auto-baud), SPI, I2C, AXI4, AXI-Stream, with chainable HLA (Higher-Level Analysis) stacking
  • Plugin SDK (MIT) — write custom protocol decoders as .so/.dll plugins
  • Scriptable console — command palette, fuzzy search, macro recording, undo/redo on all operations
  • Hot reload — edit RTL, re-run simulation, waveform refreshes automatically
  • Virtual signals — expression engine for AND, OR, edge detect, bus slicing, arithmetic on existing channels
  • Wireshark-style data table — decoded protocol transactions with search

logic-trace is free (proprietary binary + MIT plugin SDK) and available as an AppImage (Linux) or zip (Windows).


12. Where do I get help if I hit a problem?

  1. Check the Troubleshooting Guide — organized error catalog by build phase (environment, simulation, synthesis, implementation).
  2. GitHub Discussions — for questions, "how do I..." topics, and general usage help.
  3. GitHub Issues — for confirmed bugs and reproducible problems only.

RouteRTL is a small-team project. There is no SLA on response times, but we read everything. Well-written bug reports with reproducible steps get addressed fastest.


13. Am I locked into RouteRTL? Can I open my design in Vivado or Quartus?

No. RouteRTL generates real, native vendor projects that you can open in the vendor IDE at any time:

rr project gui

Under the hood:

  • Xilinx / AMD — Vivado .xpr
  • Intel / Altera — Quartus .qpf / .qsf
  • Lattice — Radiant .rdf or Diamond .ldf
  • Microchip — Libero SoC .prjx

The project files persist under your target output directory (<output_dir>/project/) with all sources, IP references, and constraints intact. rr project gui resolves the vendor toolchain and launches the IDE detached from your terminal (or run rr project gui --no-project to open a blank IDE).

Non-project mode caveat: Default synthesis operates in project mode via ensure_project. Dedicated non-project flows — such as npm_synthesis or Vivado-only per-module OOC implementation (rr implementation run <module> --ooc) — operate in vendor non-project mode, where persistent project files are not written during the run. Run rr project (or rr project create) to generate the native vendor project file whenever you want to open it in the GUI.