Skip to content
Huan Lin

Huan Lin

Integrated circuits & computer architecture · CGRA compilation / FPGA timing closure / inference performance modelling

I am a master’s student at Fudan University’s School of Integrated Circuits and Micro-Nano Electronics, with a bachelor’s degree in physics from the same university.

My research is on compilation and mapping for reconfigurable architectures: a unified compiler framework for CGRAs, routing-feedback-driven DFG transformations, and carrying that approach across to post-route timing closure on FPGAs. More recently I have been working on analytical performance modelling for LLM inference.

On the engineering side I like turning repetitive analysis and validation into tools. PACT is that instinct applied to timing optimisation; GPROXY is the same instinct on the server side.

huanlin24@m.fudan.edu.cnGitHub

Concurrent threads

  • LLVM-based recursion elimination plugin for HLSDec 2022 – Mar 2023
  • Unified compilation and mapping for spatial and temporal CGRAsSep 2024 – Jul 2026
  • GPROXY: a multi-protocol LLM API gateway in RustJan 2026 – present
  • PACT: agentic post-route timing optimisation for FPGAsMar 2026 – Jun 2026
  • Agilex Chip · Reconfigurable vector unit and runtime integrationMar 2026 – Jun 2026
  • CGRA architecture and compiler toolchain for post-quantum cryptographyJun 2026 – present
  • Routing-aware CGRA graph optimisation and mapping toolchainJul 2026 – present
  • Huawei · Analytical performance estimation for Ascend LLM inferenceJul 2026 – present

Publications

1

Projects

GPROXYAuthor · maintainer

2026-01 – present

A multi-protocol LLM API gateway written in Rust, speaking OpenAI / Anthropic / Gemini

RustAxumTokioSeaORMWASM

Repository

PACTFirst author

2026-03 – 2026-06

An agentic post-route timing optimiser for FPGAs, with the design checkpoint as its state

PythonVivadoRapidWrightLLM Agent

Repository

Research

Routing-aware CGRA graph optimisation and mapping toolchain

Jul 2026 – present
  • Traced routing feedback — unrouted edges, contended links and GIBs, congestion, fan-out, reconvergence — back to specific DFG nodes and edges, feeding an agent that applies semantics-preserving transformations.
  • Designed the transformations themselves — reordering commutative stages, restructuring boundary connectivity — evaluating placement, scheduling and routing jointly to lower II and raise success rates at high utilisation.

CGRA architecture and compiler toolchain for post-quantum cryptography

Jun 2026 – present
  • Led CGRA acceleration of post-quantum cryptography: from RISC-V reference implementations through algorithm decomposition, operator and DFG extraction, and bottleneck analysis to architectural requirements.
  • Decomposed the throughput and cycle budget against a 1 Kcps single-engine target, across compute parallelism, memory bandwidth, interconnect traffic and mapping II.
  • Mapped and evaluated the core compute stages under an idealised CPU–CGRA split, simulating roughly 1.1 Kcps. Automatic region identification and co-compilation are in progress.

PACT: agentic post-route timing optimisation for FPGAs

Mar 2026 – Jun 2026
  • Treated the Vivado design checkpoint as the optimisation state: localised ECOs planned from physical-design evidence, every candidate gated on legality and timing, with rollback and recording.
  • Wrapped Vivado and RapidWright into typed actions — critical-net rerouting, driver replication, local replacement, logic restructuring, region constraints, global fallback.
  • Across 35 UltraScale+ checkpoints: +22.30% geometric-mean Fmax, versus 15.14% for DATuner and 9.78% for a general-purpose Codex agent; 6.4× faster than DATuner at $0.16 per DCP, 24.5× cheaper.

Unified compilation and mapping for spatial and temporal CGRAs

Sep 2024 – Jul 2026
  • Extended a spatial-CGRA LLVM compiler, hardware generator and mapper to also cover multi-context temporal CGRAs under one DFG and mapping flow, with spatio-temporal reuse of the configuration and cache register files.
  • Found that functionally equivalent DFGs with identical compute and I/O node counts can still differ markedly in throughput, purely because of their connection structure.
  • Designed semantics-preserving graph transformations that exploit this: some previously unmappable DFGs become mappable without changing the architecture, and II drops on some mappable cases.

LLVM-based recursion elimination plugin for HLS

Dec 2022 – Mar 2023
  • Built an LLVM source-to-source plugin that flattens directly recursive functions into iterative form, compatible with Bambu HLS.
  • Kept the design modular, leaving hooks for indirect recursion and more complex call graphs; validated as a prototype.

Internships

Analytical performance estimation for Ascend LLM inferenceHuawei

Jul 2026 – present
  • Adapted and maintained model support in an LLM inference performance estimation framework, wiring in computation graphs, operator characteristics, and hardware compute, bandwidth and memory configs.
  • Mapped prefill and decode onto the operator- and phase-level models, analysing TTFT, TPOT and memory across batch size, sequence length, KV cache length and parallelism.
  • Aligned predictions against the internal framework and extended the model to concurrent inference, for latency and throughput under multi-request load.

Reconfigurable vector unit and runtime integrationAgilex Chip

Mar 2026 – Jun 2026
  • Characterised a proprietary SFU — compute semantics, datapath interfaces, instruction granularity, call paths — to pin down the constraints for integrating a reconfigurable vector unit.
  • Worked on the interface between the vector unit and the software runtime, extending NPU instruction definitions, call constraints, and validation cases.
  • Diagnosed instruction-semantics, data-format and boundary-condition issues during bring-up, then packaged the repetitive debug and validation steps into an LLM skill.

Awards

Top 5 / Cash PrizeFPL 2026 Optimization Contest

2026
  • Finished in the top 5 of the post-route FPGA optimisation track and received a cash prize; final placement to be announced at FPL 2026.
  • Positive Fmax improvement on all 7 benchmarks, averaging 56.1 MHz and peaking at 85.4 MHz.

Education

M.S. in Electronic Information, School of Integrated Circuits and Micro-Nano ElectronicsFudan University

Sep 2024 – Jun 2027

B.S. in Physics, Department of PhysicsFudan University

Sep 2018 – Jun 2023

Skills

Architecture & RTL
Verilog, Chisel. RTL design and module-level verification; familiar with RISC-V, NPU, FPGA, and CGRA architectures, and with reasoning about PEs, on-chip memory, NoCs, compute parallelism, and bandwidth constraints.
Compilers
C/C++, LLVM. DFG extraction and transformation, compilation and mapping for spatial and temporal CGRAs, scheduling and place-and-route, instruction and runtime interface work.
EDA
Design Compiler, Vivado, RapidWright, VTR/VPR, Bambu HLS. RTL synthesis, SDC constraints, timing and area report analysis, post-route timing optimisation, localised ECO, and flow automation.
Software
Python, Rust, Linux, Git, Docker. Async services, REST APIs, streaming data, database access, and multi-protocol interface work; comfortable with Axum and Tokio. Extensive documentation experience.
Languages
Chinese (native), English (CET-6, 522).