RF-FIELDWORK VCO Layout Generator

开发中In developmentVirtuoso 版图 · Python APIVirtuoso layout · Python API

VCO Layout Generator

从 VCO 设计目录一条命令生成 Virtuoso 版图。十种 LC VCO 结构,层次、网名和引脚名与原理图一一对应,生成的 22 个版图全部通过 LVS。Generate a Virtuoso layout from a VCO design directory with one command. Ten LC VCO structures, with hierarchy, net names and pin names matching the schematic. All 22 generated layouts pass LVS.

十种结构对照Ten structures
十种结构 · 点击查看原理图与版图Ten structures · click for schematic and layout22 / 22 LVS CORRECT
真实生成的版图,只画几何,不含文字。Generated layouts, geometry only, no text.

可以动手体验Try it by hand

Layout 实验室:拖参数,看版图和寄生一起变Layout Lab: drag a parameter, watch layout and parasitics change

以 Class-B 和 Hegazi tail 为例,直接调电感、腿、阵列接法、线宽和叠层,版图实时重排,违例当场标红,每一位 P/N 两侧的寄生 R、C 同步更新。看完点左下角就能回到这里。Using Class-B and Hegazi tail, tune the coil, legs, array connection, wire widths and metal stack; the layout rearranges live, violations light up, and per-bit P/N parasitic R and C update with it. The button at the bottom left brings you back here.

打开 Layout 实验室Open the Layout Lab →

输入设计,输出版图A design in, a layout out

设计目录里已有结构、绑定和命名。生成器据此画出 GDS,并给出带尺寸和去耦配置的回执。The design directory already holds the structure, bindings and names. The generator draws the GDS from it and returns a receipt with the size and the decap configuration.

输入 · 设计目录Input · design directory
  • graph.json
  • binding.json
  • names.json
输出 · GDS 与回执Output · GDS and receipt
  • VCO_DUT.gds
  • layout-receipt.json
10
种 LC VCO 结构LC VCO structures
22
个回归版图(11 套模板 × 2 种阵列风格)regression layouts (11 templates × 2 array styles)
22/22
顶层 LVS CORRECT,层次化比对top LVS CORRECT, hierarchical
0
22 个版图的结构性 DRCstructural DRC on all 22

数据来自第二轮回归,默认电容阵列、固定电容和去耦均为 MOM。结构性 DRC 不含密度、CTM.R.1 和磁件 PGS 规则,这些单独列出。Source: round-2 regression, with MOM for arrays, fixed caps and decap (the defaults). Structural DRC excludes density, CTM.R.1 and the magnetic PGS rules, which are listed separately.


层次和命名与原理图对齐Hierarchy and names match the schematic

版图按原理图的模块划分,实例名、网名和引脚名保持一致,LVS 直接比对,不用靠改网表去凑。The layout is split along the schematic modules, and instance, net and pin names stay the same. LVS compares them directly, with no netlist edits to make them agree.

原理图Schematic
版图Layout
顶层端口Top-level ports
OUTP OUTN VDD VSS VDC MAIN_B3…MAIN_B0 在原理图和版图上同名。carry the same names on schematic and layout.
模块端口Module ports
GM_P: DP DN S VDD · CT_MAIN: P N B3…B0 VDD VSS · IND_TANK: P N CT
同一种模块在不同结构里端口一致。A module type keeps the same ports in every structure.
拆分器件Split devices
MBP 在版图中拆成 MBP_0…3,LVS 时并回 MBP。MBP is split into MBP_0…3 in the layout and merged back to MBP for LVS.

按模块分别生成,再拼装Generated module by module, then assembled

每类模块有各自的生成器。下面用 Class-B CMOS 的版图,逐个打开或关闭模块看它们各占哪里。Each module type has its own generator. Switch modules on and off on the Class-B CMOS layout to see where each one sits.

Class-B CMOS · 290 × 408 µm


    在版图实验室调节几何参数,查看寄生变化,并对照生成器的参数游走记录。Adjust the geometry in the Layout Lab, follow parasitic trends, and compare recorded generator runs.

    Layout 实验室Layout Lab

    调用接口与验收判据API and acceptance rules

    同一套功能既有命令行,也有 Python 接口,方便后仿和优化程序直接调用。验收判据写在规则文件里。The same functions are available from the command line and from Python, so post-layout and optimiser programs can call them directly. The acceptance rules live in a rules file.

    Python API · 1.4.0

    # one session per design
    s = api.session(design_dir, cell=..., workdir=...)
    s.params(tunable_only=True)       # what can change
    p = s.plan({"magnetic.*.leg_width": 6})   # seconds, no EDA
    r = s.evaluate(overrides, metrics=["lvs", "drc", "rcheck", "postsim"])
    api.decap_config(job)             # decap back to schematic
    • session
    • plan
    • evaluate
    • decap_config
    • options v1
    • JSON schema

    稳定接口按语义化版本发布,当前为 1.4.0。Stable names follow semantic versioning; the current version is 1.4.0.

    验收判据Acceptance rules

    LVS
    层次化比对,每个子单元 CORRECT。电感和变压器按黑盒。Hierarchical, every cell CORRECT. Inductors and transformers are black boxes.
    DRC
    结构性违例为 0,密度类规则单独列出。Zero structural violations; density rules are listed separately.
    磁件连通Magnetic connectivity
    检查绕组端口连通和绕组间短路,黑盒 LVS 看不到这类问题。Checks winding port connectivity and shorts between windings, which a black-box LVS cannot see.
    槽路电容端子 RTank cap terminal R
    R ≤ |X| / 20
    槽路端口 RTank port R
    Raccess < 0.5 Ω (上限 1 Ω)(limit 1 Ω)
    直流路径 RDC path R
    ≤ 1 Ω ,1–2 Ω 只列出,不判失败; 1–2 Ω is listed, not failed

    目前的限制Known limits

    产品还在开发中。下面这些是已经登记的缺口,没有一条被默认当作已解决。The product is still in development. These are the registered gaps; none is assumed solved.

    结构覆盖Coverage
    Guo 结构还没有版图。The Guo structure has no layout yet.
    电感值Inductance
    主电感的感值没有检查,线圈尺寸也不按含腿的总电感反推,版图频率可能与设计不一致。The main inductance is not checked and the coil is not sized for the total inductance including legs, so layout frequency can differ from the design.
    后仿Post-layout
    后仿与前仿的 1 MHz 相噪差在 −2.1 到 +0.5 dB 之间,原因没有查清,后仿相噪结论不能直接用于签核。Post-layout phase noise at 1 MHz differs from pre-layout by −2.1 to +0.5 dB. The cause is not found, so the result is not sign-off ready.
    寄生判据RC rules
    阵列下极板电阻、腿电阻和主电感的硬判据待定,目前只报告,不判失败。Hard limits for array bottom-plate R, leg R and main inductance are not set. They are reported, not failed.
    参数Parameters
    Class-B CMOS 的 141 个可调参数里,有 17 个读入后不改变版图;Hegazi 的选项文件还缺 bias 组。In Class-B CMOS, 17 of 141 tunable parameters are read but do not change the layout. The Hegazi options file lacks the bias group.
    组合Combinations
    回归只覆盖默认组合(MOM 电容、replicate_mcap 与 scaled 两种阵列)。严格 replicate 搭配 MOM 目前出不了图。Regression covers the default combinations (MOM capacitors, replicate_mcap and scaled arrays). Strict replicate with MOM does not build yet.

    演示片The film

    59 秒竖屏短片,从手工画版图讲到一键生成。中文配音,英文版制作中。A 59-second vertical film, from hand-drawn layouts to one-command generation. Chinese narration; English version in progress.

    片中的“参数快速变化”为模拟的参数游走,不是优化结果。The parameter changes in the film are a simulated walk, not an optimisation result.