RF-FIELDWORK工程实验室Engineering Lab

为 Agent 时代,
构建 RFIC 基础设施。
RFIC infrastructure
for the agent era.

一组跑在 Virtuoso、Maestro、EMX 和 Spectre 上的射频设计工具,已发布的源码在 GitHub 开源,版图闭环的三件还在开发。界面给工程师用,命令行留给 agent 调用。RF design tools that run on Virtuoso, Maestro, EMX and Spectre. Engineers use the interface; agents call the command line. Released tools are open source on GitHub; three layout-loop tools are still in development.

下面这台仪器可以直接操作:按通道键换工具,转旋钮看数据。The instrument below is live. Press a channel key to switch tools, turn the knob to read the data.

Tr1

通道Channel


工具The tools

每件工具解决一个
反复出现的麻烦。
Each tool removes
one recurring chore.

画电感、配 EMX、逐码测电容、解释相噪、一轮轮手调器件尺寸、画版图、看寄生,这些事每个射频项目都要做很多遍。工具按三块整理:有源分析、无源设计、版图闭环,点上面的按钮切换。Drawing inductors, setting up EMX, measuring a capacitor array code by code, explaining phase noise, hand-tuning device sizes, drawing layouts and reading parasitics: every RF project repeats these. The tools fall into three groups, active analysis, passive design and the layout loop; switch with the buttons above them.

有源这一块管电路本身。VCO Design Studio 按文献拓扑生成分层原理图和网表,VCO TB Generator 给它配测试台和 Maestro 分析,Crescendo 在 Maestro 里调器件尺寸,VCO ISF Explorer 在仿真之后解释相噪为什么变好或变坏。生成、仿真、优化、解释,四步首尾相接。The active side handles the circuit itself. VCO Design Studio turns literature topologies into packaged schematics and netlists, VCO TB Generator wraps them in testbenches and Maestro setups, Crescendo tunes device sizes inside Maestro, and VCO ISF Explorer explains after simulation why phase noise got better or worse. Generate, simulate, optimise, explain: each step feeds the next.

Tr5ISF、闪烁噪声上变频、相噪贡献ISF, flicker up-conversion, phase-noise contributions

VCO ISF Explorer

1.3.0 可以准备测试台、手动选择两只核心器件,用结果视图追踪相噪、比较优化指标,并汇总扫参和 corner 结果。In 1.3.0, prepare a testbench, select two core devices, trace phase noise and compare optimization metrics in the result views, and summarise sweeps and corners.

输入Input
测试台入口 A/B/C、已完成的 Maestro 仿真,或离线合成示例Testbench entries A/B/C, a completed Maestro simulation, or the offline synthetic example
ISF
工作点 → 噪声调制 → ISF I/Q → 乘积,Fig.14 叠加与谐波投影占比Operating point → noise modulation → ISF I/Q → product, Fig.14 overlay and harmonic projection shares
相噪Phase noise
独立输入频带功率和、同口径误差,按仿真功率排序的逐源贡献;gm 对管与受支持 LC 范围Independent input-band power sums, same-scope error and sources ranked by simulated power; gm pair and supported LC scope
命令行CLI
vco-isf metrics 与 and vco-isf optim

Tr4Maestro、器件尺寸、多目标优化Maestro, device sizing, multi-objective search

Crescendo

在 Maestro 里勾选参数、写下目标和约束,优化器自动仿真、找最优解和 Pareto 前沿;原设计全程只读。Tick parameters and write goals and constraints inside Maestro; the optimizer simulates, finds the best designs and the Pareto front, and never writes the original design.

流程Flow
六步:读取设计、勾选参数、设定目标、开始优化、实时结果、权衡分析Six steps: read the design, tick parameters, set goals, start, live results, trade-off
算法Search
NSGA-II、差分进化、贝叶斯优化;每个候选后存断点,可续跑NSGA-II, differential evolution, Bayesian optimization; checkpoint after every candidate, resumable
执行Run
Spectre 或 ALPS,本地或集群调度器;1.1 起整代批量求值,本机实测原生运行(Native Run)快 4.3 倍、目标值不变Spectre or ALPS, local or a cluster scheduler; from 1.1 a whole generation per run, 4.3× faster Native Run in local tests with identical objectives
大工程Scale
4000 个模块、5 万个参数的演示工程,参数树渲染期间界面最长无响应 74 msOn a 4,000-block, 50,000-parameter demo project, the window never freezes for more than 74 ms while the parameter tree renders

Tr6LC VCO 拓扑、分层原理图、原生导出LC VCO topologies, packaged schematics, native export

VCO Design Studio

五类文献 LC VCO 拓扑,一张电气图同时生成网表、原生原理图、界面和命令行;配合结构包,顶层照论文原图排布;写入 OA 前先证明等价。转动页面旋钮,观察二次谐波对准。Five LC VCO families from the literature; one electrical graph drives netlists, native schematics, the UI and the CLI. With a structure pack the top level follows the paper figure; equivalence is proven before OA is written. Turn the page’s knob to explore second-harmonic alignment.

拓扑Topologies
Hegazi、Murphy、Lim、Guo、Du 五个家族,另有 Class-B 参考Hegazi, Murphy, Lim, Guo and Du families, plus a Class-B reference
层次Hierarchy
电感、gm 核心、偏置、开关电容阵列,每一级都有 symbolInductor, gm core, bias and switched-cap array cells, each with a symbol
验证Verified
一套 65 nm PDK 上 10 个变体全部导出通过,第二套抽查 3 个同样通过;137–292 个实例端子逐一对上All 10 variants exported and verified on one 65 nm PDK, 3 re-checked on a second; 137–292 instance terminals matched exactly
对照vs paper
论文画法拓扑图,标签即实例路径,附出处、图号、页码Paper-style drawings labelled with instance paths, with citation, figure and page

CLI1.0.0

VCO TB Generator

为 LC VCO 生成 Virtuoso 测试台和 Maestro 分析配置。用 Python CLI 或 API 离线校验请求,在自备环境中生成并运行测试。Generate Virtuoso testbenches and Maestro analysis setups for LC VCOs. Use the Python CLI or API to validate a request offline, then build and run a test in your own environment.


工具 · 工作方式Tools · How they run

同一套能力,
两个入口。
One set of capabilities,
two ways in.

工程师在界面里看结构、调参数、读结果。agent 走命令行,拿到机器可读的输出,接进自动化流程。下面是一个机器可读诊断的例子。Engineers inspect structures, tune parameters and read results in the interface. Agents use the command line, get machine-readable output and plug it into automation. Below is one example: a machine-readable diagnostic.

GUI 给人用for people

看得见每一步Every step on screen

参数、几何、曲线和结果表放在同一个窗口里,点一个热图格子就能看到对应的候选。Parameters, geometry, curves and the result table share one window. Click a heatmap cell to see the matching candidate.

CLI 给 agent 用for agents

以上是 Layout 3D Viewer 的实际命令。诊断结果按错误编号给出处理建议,agent 可以直接读。These are real Layout 3D Viewer commands. Diagnostics come with error codes and recommended fixes that an agent can read directly.


工作流Workflow

工具连起来,
才是流程。
Tools, connected,
become a workflow.

单个工具解决一件事;接成系统之后,agent 可以从一份规格一路走到冻结的电路和收敛的版图。这里是两套正在跑的系统、给 agent 的观测台,以及长期目标。A single tool removes one chore. Connected into systems, they let agents go from a spec to a frozen circuit and a converged layout. Here are two running systems, an observatory for agents, and the long-term goals.

把工具连成系统Tools into systems

电路一条线,版图一条线。One line for the circuit, one for the layout.

VCO Design System 从规格走到冻结的振荡器,Layout RCopt 把冻结的原理图推成寄生收敛的版图。两者都按同样的思路组织:程序负责可复现的步骤,agent 负责判断和修复。VCO Design System goes from a spec to a frozen oscillator; Layout RCopt takes the frozen schematic to a layout with converged parasitics. Both follow the same idea: programs run the repeatable steps, agents judge and repair.

Tr10自主 LC VCO 设计 · 私有 · 展示页Autonomous LC VCO design · private · showcase

VCO Design System

五层架构:协作中枢、设计技能、流程程序、知识与证据、EDA 工具;十二步流程从规格走到交付,每一步都写明它守住了什么。Five layers: a collaboration hub, design skills, the flow program, knowledge and evidence, and EDA tools. Twelve steps take a spec to delivery, each stating what it guarantees.

流程Flow
规格选型、谐振腔扫描、三码相噪、谐波返回、起振检查与自动修复、全码回归、独立收敛与冻结Spec and structure, tank scan, three-code phase noise, harmonic return, startup check with automatic repair, all-code regression, independent convergence and freeze
回归Regression
6 种结构、共 36 格全自动设计,最新进度 34 格通过;Hegazi 6/6,包括 20 GHz6 structures across 36 cells designed automatically, 34 pass at the latest count; Hegazi 6/6 including 20 GHz
协作Agents
指挥、执行、审查三种角色,共享仿真槽位,跨模型审查Conductor, executor and reviewer roles, shared simulation slots, cross-model review

Tr9版图闭环系统The layout-loop system开发中In development

Layout RCopt

把 VCO Design Studio、VCO Layout Generator 和 rc-annot 串成一条会自己跑的版图闭环:RCopt 下发任务、收回结果,先把 gm、电容阵列、电流源三个模块各自调到达标,再拼顶层,每个点都跑真实的版图生成、LVS 和寄生抽取。Chains VCO Design Studio, VCO Layout Generator and rc-annot into a layout loop that runs itself: RCopt dispatches the work and collects the results, tunes the gm, capacitor-array and current-source modules to spec, then assembles the top, with real layout generation, LVS and extraction at every point.

分层Hierarchy
三个模块 3/3 通过后拼顶层,9 项模块小指标和 5 项总指标全部通过All three modules pass, then the top: 9 module constraints and 5 top-level metrics met
反标Annotation
反标仿真与全寄生后仿:频率差 0.003%,幅度差 0.2%Annotated vs full-parasitic simulation: 0.003% in frequency, 0.2% in amplitude

给 agent 的观测台An observatory for agents

工具有人用,
也要看见 agent 怎么用。
Tools get used by agents too.
Watch how.

Neural Atlas 把一次任务经过的知识库、技能、程序和专业软件画成一张三维脑图:实时看传导,按轨迹读完整路径,再用转移矩阵、路径熵和回路统计解释一次绕路。Neural Atlas draws the knowledge bases, skills, programs and EDA tools a task passes through as a 3D brain map: watch conduction live, read a full path as a trace, then explain a detour with transition matrices, path entropy and loop statistics.

Ex编外 · 多 agent 任务的三维传导图谱Extra · 3D conduction map of multi-agent tasks

Neural Atlas

只读 agent 已经写下的日志,不埋点、不阻塞任务;同一套区域和事件语义可以映射到 VCO、PA,也可以映射到 IC 以外的数据分析。It reads the logs agents already write, with no instrumentation and no blocking. The same regions and event semantics map onto VCO and PA design, and onto data analysis outside IC design.

视图Views
实时 10 倍速回放;轨迹逐步绘出完整路径Live replay at 10×; Trace draws the whole path step by step
统计Statistics
Markov 转移与 Wilson 区间、路径熵、重访与回路、失败恢复链Markov transitions with Wilson intervals, path entropy, revisits and loops, failure-recovery chains
映射Mappings
VCO、PA、非 IC 数据分析,一份映射配置接入VCO, PA and non-IC data analysis, each from one mapping file
数据Data
网页里全部是固定种子的模拟数据,角色匿名为 Agent A–DEverything on the page is fixed-seed simulated data; roles are anonymous Agents A–D

长期目标Long-term goals

像编译程序一样,把设计意图编译成电路。Compile design intent into circuits, the way a compiler builds a program.

  1. 规格Spec频点、相噪、功耗frequency, phase noise, power
  2. 约束Constraints工艺、面积、调谐范围process, area, tuning range
  3. 电路与版图Circuit and layout拓扑、尺寸、无源结构topology, sizing, passives
  4. 仿真与验证Simulate and verifyEMX、Spectre、DRC/LVSEMX, Spectre, DRC/LVS

每一步的产物都可执行、可验证、可复用。这些工具分别覆盖其中的无源结构、电容阵列、版图阅读、相噪机理分析和器件尺寸优化。Each stage produces something executable, verifiable and reusable. The tools cover passives, capacitor arrays, layout reading, phase-noise mechanisms and device-size optimization within this chain.

1

从分立脚本,到半自动协作,再到全自动接管。From separate scripts, to semi-automated collaboration, to fully autonomous runs.

2

有源与无源器件联合优化、联合仿真。Joint optimization and simulation of active and passive devices.

3

RF 电路与系统一键设计。One-click design of RF circuits and systems.

所有项目脚本成熟后全部开源。Every project script will be open-sourced once it matures.