Pipeline
Helion is a Rust workspace. Each stage of the flow is a crate with a narrow interface, and the CLI, the Tcl session and the IDE all call the same crates. Device facts live in data files, never in the compiler.
SystemVerilog / VHDL / C
helion-sv, helion-vhdl, helion-hls synthesis to the HNF netlist (helion-ir)
helion-targets pick the family backend for the part
HL10 helion-pack, helion-place, helion-route, helion-bits -> .hbits
iCE40 helion-ice40 -> IceStorm .asc
ECP5 helion-ecp5 -> Trellis config
7-series helion-xilinx7 -> FASM, frames, .bit
helion-sta, helion-drc timing, power, CDC, DRC and methodology
helion-sim, helion-fabric, helion-verif simulation, testbenches, coverage
helion-hw, helion-debug JTAG, programming, ILA, VIO, JTAG-to-AXI
helion-proj projects, runs, checkpoints, Tcl session
helion-cli (helion), helion-rune (helion-ide)
The compiler never knows what a LUT is for: the netlist IR is vendor-neutral, and each family implements the Backend trait (pack, place, route, bitstream). Adding a device family means writing a backend, not forking the compiler.
Crates
| Crate | Job |
|---|---|
helion-sv | SystemVerilog frontend (sv-parser), elaboration, AIG synthesis and LUT6 mapping |
helion-vhdl | VHDL-2008 elaborator onto the same LUT/FF path |
helion-hls | C high-level synthesis: scheduling, binding, RTL emission, C/RTL co-simulation |
helion-ir | HNF netlist: cells, nets, ports and attributes (DONT_TOUCH, mark_debug, LOC) |
helion-pack, helion-place, helion-route | HL10 packing, placement (with pblock regions) and PathFinder A* routing |
helion-sta | Static timing, XDC/SDC constraints, CDC, clock interaction, power |
helion-drc | DRC and methodology checks |
helion-bits | HL10 FeatureMap frames, sparse .hbits, partial bitstreams |
helion-backend, helion-targets | The Backend trait; the registry of implementable parts and family dispatch |
helion-ice40, helion-ecp5, helion-xilinx7 | Vendor-family backends on IceStorm, Trellis and Project X-Ray data |
helion-device | Loads HAD part files |
helion-sim, helion-fabric | Event simulator and the cycle-level HL10 fabric model |
helion-verif, helion-svtb | Testbench runner, ILA engine, waveforms, coverage; class-based SV and UVM subset |
helion-hw, helion-debug, helion-lab | IEEE 1149.1 TAP, FTDI MPSSE engine, openFPGALoader, configuration memory; ILA, VIO, JTAG-to-AXI; lab tools |
helion-ipxact, helion-bd | IP packages and catalog; block design |
helion-proj | Projects (.prj), runs, checkpoints (.hckp), ECO, DFX, QoR, the Tcl session |
helion-cli | The helion binary |
helion-rune | The helion-ide binary, on the vendored Rune UI framework (third_party/rune) |
HL10 parts (HAD)
The Helion architecture database (HAD) describes each HL10 part in a TOML file under devices/helion/parts/. CAD code queries these files; it never hardcodes a die. Every CLB has 8 BLEs (a 6-input LUT and a flip-flop each).
| Part | CLB grid | LUT6 | User I/O | BRAM18 | MAC27 | IDCODE |
|---|---|---|---|---|---|---|
HL10T-C32-1 | 32 x 32 | 8,192 | 32 | 8 | 0 | 0x00011A1F |
HL10T-DSP1 | 32 x 32 | 8,192 | 32 | 8 | 1 | 0x00011A1F |
HL10S-C64-1 | 64 x 64 | 32,768 | 48 | 16 | 4 | 0x00021A1F |
HL10M-C128-1 | 128 x 128 | 131,072 | 64 | 32 | 8 | 0x00031A1F |
devices/helion/parts/HL10T-C32-1.toml. Empty-XDC counter gold: WNS_PS=9640.HL10T-C32-1 grid: x=0 IO, x=1 clock spine (8 global clocks), x=2..33 CLB, x=34 IO; y=0 IO, y=1..32 interior, y=33 IO. Speed grade 1. There is no HL10 silicon; HL10 bitstreams load into Helion's fabric model and simulator.
Netlist and checkpoints
HNF is Helion's netlist format. Cells, nets and ports carry attributes such as DONT_TOUCH, mark_debug and LOC; (* keep *) and (* mark_debug *) in RTL flow into it. helion hnf file.sv writes a netlist that round-trips. Checkpoints (.hckp) embed the netlist, and restoring one must reproduce the same bitstream hash.
Constraints (XDC/SDC)
Constraint files are parsed by load_xdc in crates/helion-sta. These commands are understood; object queries (get_ports, get_pins, get_clocks, get_cells) appear as their arguments. Unknown commands are ignored.
create_clock create_generated_clock set_input_delay
set_output_delay set_false_path set_multicycle_path
set_max_delay set_min_delay set_clock_groups
set_clock_uncertainty set_clock_latency set_disable_timing
set_case_analysis set_propagated_clock set_clock_sense
set_input_jitter set_system_jitter set_timing_derate
set_bus_skew group_path set_max_time_borrow
set_data_check set_operating_conditions set_property
set_property keys: PACKAGE_PIN, IOSTANDARD, DRIVE, SLEW, PULLTYPE, DIFF_TERM, IN_TERM. The Tcl session's flow commands (synth_design, place_design and so on) are a separate list; see the user guide.
Bitstreams
HL10 bitstreams are FeatureMap frames written as sparse .hbits: only configured frames are stored, and partial bitstreams cover DFX regions and ECO updates. The primitives are LUT6, HFF, MAC27 and BRAM18. The vendor-family backends write the formats their open toolchains read: IceStorm .asc, Trellis text config, and FASM with frames and .bit for 7-series.
The IDE
helion-ide is built on Rune, an MIT-licensed Rust UI framework vendored at a fixed upstream commit in third_party/rune. The IDE never reimplements CAD: views read the engine state, and every control goes through the same Tcl verbs the console exposes. Long jobs run on background workers. The UI rule is that a control does real work or renders disabled with the reason.