├── LICENSE ├── README.md ├── bin └── README.md ├── dev └── README.md ├── ipdesignguide ├── README.md ├── miniSRAM │ ├── README.md │ └── prj23-2x2sram28项目方案.pdf └── tutorial │ ├── inverter │ ├── REAME.md │ ├── design.ngspice │ ├── digital-inverter-openlane-gf180mcu.ipynb │ ├── images │ │ └── sim_inverter.png │ ├── inv_simulated.csv │ ├── inverter.sch │ ├── inverter.spice │ ├── inverter.sym │ ├── inverter2.spice │ ├── inverter_tb.sch │ ├── sm141064.ngspice │ └── xschemrc │ └── reference │ ├── CMOS电路模拟与设计-基于Hspice.pdf │ ├── Dual_Stage_CMOS_Operational_Amplifier_Design_in_Sky-Water_130nm_Technology.pdf │ ├── LTspiceGettingStartedGuide.pdf │ └── README.md ├── libraries └── README.md ├── openlane └── README.md ├── prj23_sky130sramip0 ├── P00_projectreport │ ├── .keep │ ├── 20230115-report-sram compiler plan-v0.1.pdf │ └── 20230129-report-sram compiler plan-v0.2.pdf ├── P01_projectinitial │ ├── design requirement-202301.md │ ├── sram ip spec-v0.1-20230117.md │ └── trendsoffullcustomdesign.md └── P02_refdesign │ ├── README.md │ └── sim │ └── README.md ├── ref └── README.md ├── scripts └── README.md └── xscheme ├── 6t.sch ├── 6t.spice ├── INV.sch ├── INV.spice ├── README.md ├── env.sh ├── untitled-1.sch ├── untitled.sch ├── xschem_sky130 ├── README.md ├── decred_hash_macro │ ├── LICENSE │ ├── README.md │ ├── decred_controller.sch │ ├── decred_controller.spice │ ├── decred_controller.sym │ ├── decred_controller.v │ ├── decred_hash_macro.png │ ├── decred_hash_macro.sch │ ├── decred_hash_macro.spice │ ├── decred_hash_macro.sym │ ├── decred_hash_macro.v │ ├── decred_hash_macro_2.png │ ├── make_sch_from_spice.awk │ ├── test1.spice │ ├── test2.spice │ ├── user_project_wrapper.sch │ ├── user_project_wrapper.spice │ ├── user_project_wrapper.sym │ └── user_project_wrapper.v ├── mips_cpu │ ├── README.md │ ├── alu.sch │ ├── alu.sym │ ├── aludec.sch │ ├── aludec.sym │ ├── controller.sch │ ├── controller.sym │ ├── datapath.sch │ ├── datapath.sym │ ├── dmem.sch │ ├── dmem.sym │ ├── imem.sch │ ├── imem.sym │ ├── maindec.sch │ ├── maindec.sym │ ├── mips.sch │ ├── mips.sym │ ├── regfile.sch │ ├── regfile.sym │ ├── sign_extend.sch │ ├── sign_extend.sym │ ├── tb.sch │ ├── tb.sym │ ├── top.sch │ └── top.sym ├── scripts │ ├── add_highlight_attr.awk │ ├── add_propagate_to.awk │ ├── add_version.awk │ ├── create_images.tcl │ ├── create_png │ ├── remove_empty_lines.awk │ └── sky130_models.tcl ├── sky130_fd_pr.patch ├── sky130_fd_pr │ ├── README.md │ ├── cap_mim_m3_1.sym │ ├── cap_mim_m3_2.sym │ ├── cap_var_hvt.sym │ ├── cap_var_lvt.sym │ ├── corner.sym │ ├── diode.sym │ ├── doc │ │ ├── cap_mim_m3_1.svg │ │ ├── cap_mim_m3_2.svg │ │ ├── cap_var_hvt.svg │ │ ├── cap_var_lvt.svg │ │ ├── devices.png │ │ ├── devices.svg │ │ ├── diode.svg │ │ ├── lvsdiode.svg │ │ ├── nfet3_01v8.svg │ │ ├── nfet3_01v8_lvt.svg │ │ ├── nfet3_03v3_nvt.svg │ │ ├── nfet3_05v0_nvt.svg │ │ ├── nfet3_20v0.svg │ │ ├── nfet3_g5v0d10v5.svg │ │ ├── nfet3_g5v0d16v0.svg │ │ ├── nfet_01v8.svg │ │ ├── nfet_01v8_esd.svg │ │ ├── nfet_01v8_lvt.svg │ │ ├── nfet_03v3_nvt.svg │ │ ├── nfet_05v0_nvt.svg │ │ ├── nfet_20v0.svg │ │ ├── nfet_20v0_iso.svg │ │ ├── nfet_20v0_nvt.svg │ │ ├── nfet_20v0_zvt.svg │ │ ├── nfet_g5v0d10v5.svg │ │ ├── nfet_g5v0d10v5_esd.svg │ │ ├── nfet_g5v0d10v5_nvt_esd.svg │ │ ├── nfet_g5v0d16v0.svg │ │ ├── npn_05v5.svg │ │ ├── pfet3_01v8.svg │ │ ├── pfet3_01v8_hvt.svg │ │ ├── pfet3_01v8_lvt.svg │ │ ├── pfet3_20v0.svg │ │ ├── pfet3_g5v0d10v5.svg │ │ ├── pfet3_g5v0d16v0.svg │ │ ├── pfet_01v8.svg │ │ ├── pfet_01v8_hvt.svg │ │ ├── pfet_01v8_lvt.svg │ │ ├── pfet_20v0.svg │ │ ├── pfet_g5v0d10v5.svg │ │ ├── pfet_g5v0d16v0.svg │ │ ├── pnp_05v5.svg │ │ ├── res_generic_nd.svg │ │ ├── res_generic_pd.svg │ │ ├── res_generic_po.svg │ │ ├── res_high_po.svg │ │ ├── res_high_po_0p35.svg │ │ ├── res_high_po_0p69.svg │ │ ├── res_high_po_1p41.svg │ │ ├── res_iso_pw.svg │ │ ├── res_xhigh_po.svg │ │ ├── res_xhigh_po_0p35.svg │ │ ├── res_xhigh_po_0p69.svg │ │ ├── res_xhigh_po_1p41.svg │ │ └── vpp_cap.svg │ ├── lvsdiode.sym │ ├── nfet3_01v8.sym │ ├── nfet3_01v8_lvt.sym │ ├── nfet3_03v3_nvt.sym │ ├── nfet3_05v0_nvt.sym │ ├── nfet3_20v0.sym │ ├── nfet3_g5v0d10v5.sym │ ├── nfet3_g5v0d16v0.sym │ ├── nfet_01v8.sym │ ├── nfet_01v8_esd.sym │ ├── nfet_01v8_lvt.sym │ ├── nfet_01v8_lvt_nf.sym │ ├── nfet_01v8_nf.sym │ ├── nfet_03v3_nvt.sym │ ├── nfet_03v3_nvt_nf.sym │ ├── nfet_05v0_nvt.sym │ ├── nfet_05v0_nvt_nf.sym │ ├── nfet_20v0.sym │ ├── nfet_20v0_iso.sym │ ├── nfet_20v0_nvt.sym │ ├── nfet_20v0_zvt.sym │ ├── nfet_g5v0d10v5.sym │ ├── nfet_g5v0d10v5_esd.sym │ ├── nfet_g5v0d10v5_nf.sym │ ├── nfet_g5v0d10v5_nvt_esd.sym │ ├── nfet_g5v0d16v0.sym │ ├── nfet_g5v0d16v0_nf.sym │ ├── npn_05v5.sym │ ├── pfet3_01v8.sym │ ├── pfet3_01v8_hvt.sym │ ├── pfet3_01v8_lvt.sym │ ├── pfet3_20v0.sym │ ├── pfet3_g5v0d10v5.sym │ ├── pfet3_g5v0d16v0.sym │ ├── pfet_01v8.sym │ ├── pfet_01v8_hvt.sym │ ├── pfet_01v8_hvt_nf.sym │ ├── pfet_01v8_lvt.sym │ ├── pfet_01v8_lvt_nf.sym │ ├── pfet_01v8_nf.sym │ ├── pfet_20v0.sym │ ├── pfet_g5v0d10v5.sym │ ├── pfet_g5v0d10v5_nf.sym │ ├── pfet_g5v0d16v0.sym │ ├── pfet_g5v0d16v0_nf.sym │ ├── pnp_05v5.sym │ ├── reram.sym │ ├── res_generic_l1.sym │ ├── res_generic_m1.sym │ ├── res_generic_m2.sym │ ├── res_generic_m3.sym │ ├── res_generic_m4.sym │ ├── res_generic_m5.sym │ ├── res_generic_nd.sym │ ├── res_generic_pd.sym │ ├── res_generic_po.sym │ ├── res_high_po.sym │ ├── res_high_po_0p35.sym │ ├── res_high_po_0p69.sym │ ├── res_high_po_1p41.sym │ ├── res_high_po_2p85.sym │ ├── res_high_po_5p73.sym │ ├── res_iso_pw.sym │ ├── res_xhigh_po.sym │ ├── res_xhigh_po_0p35.sym │ ├── res_xhigh_po_0p69.sym │ ├── res_xhigh_po_1p41.sym │ ├── res_xhigh_po_2p85.sym │ ├── res_xhigh_po_5p73.sym │ └── vpp_cap.sym ├── sky130_stdcells │ ├── README.md │ ├── a2111o_1.sym │ ├── a2111o_2.sym │ ├── a2111o_4.sym │ ├── a2111oi_0.sym │ ├── a2111oi_1.sym │ ├── a2111oi_2.sym │ ├── a2111oi_4.sym │ ├── a211o_1.sym │ ├── a211o_2.sym │ ├── a211o_4.sym │ ├── a211oi_1.sym │ ├── a211oi_2.sym │ ├── a211oi_4.sym │ ├── a21bo_1.sym │ ├── a21bo_2.sym │ ├── a21bo_4.sym │ ├── a21boi_0.sym │ ├── a21boi_1.sym │ ├── a21boi_2.sym │ ├── a21boi_4.sym │ ├── a21o_1.sym │ ├── a21o_2.sym │ ├── a21o_4.sym │ ├── a21oi_1.sym │ ├── a21oi_2.sym │ ├── a21oi_4.sym │ ├── a221o_1.sym │ ├── a221o_2.sym │ ├── a221o_4.sym │ ├── a221oi_1.sym │ ├── a221oi_2.sym │ ├── a221oi_4.sym │ ├── a222oi_1.sym │ ├── a22o_1.sym │ ├── a22o_2.sym │ ├── a22o_4.sym │ ├── a22oi_1.sym │ ├── a22oi_2.sym │ ├── a22oi_4.sym │ ├── a2bb2o_1.sym │ ├── a2bb2o_2.sym │ ├── a2bb2o_4.sym │ ├── a2bb2oi_1.sym │ ├── a2bb2oi_2.sym │ ├── a2bb2oi_4.sym │ ├── a311o_1.sym │ ├── a311o_2.sym │ ├── a311o_4.sym │ ├── a311oi_1.sym │ ├── a311oi_2.sym │ ├── a311oi_4.sym │ ├── a31o_1.sym │ ├── a31o_2.sym │ ├── a31o_4.sym │ ├── a31oi_1.sym │ ├── a31oi_2.sym │ ├── a31oi_4.sym │ ├── a32o_1.sym │ ├── a32o_2.sym │ ├── a32o_4.sym │ ├── a32oi_1.sym │ ├── a32oi_2.sym │ ├── a32oi_4.sym │ ├── a41o_1.sym │ ├── a41o_2.sym │ ├── a41o_4.sym │ ├── a41oi_1.sym │ ├── a41oi_2.sym │ ├── a41oi_4.sym │ ├── and2_0.sym │ ├── and2_1.sym │ ├── and2_2.sym │ ├── and2_4.sym │ ├── and2b_1.sym │ ├── and2b_2.sym │ ├── and2b_4.sym │ ├── and3_1.sym │ ├── and3_2.sym │ ├── and3_4.sym │ ├── and3b_1.sym │ ├── and3b_2.sym │ ├── and3b_4.sym │ ├── and4_1.sym │ ├── and4_2.sym │ ├── and4_4.sym │ ├── and4b_1.sym │ ├── and4b_2.sym │ ├── and4b_4.sym │ ├── and4bb_1.sym │ ├── and4bb_2.sym │ ├── and4bb_4.sym │ ├── buf_1.sym │ ├── buf_12.sym │ ├── buf_16.sym │ ├── buf_2.sym │ ├── buf_4.sym │ ├── buf_6.sym │ ├── buf_8.sym │ ├── bufbuf_16.sym │ ├── bufbuf_8.sym │ ├── bufinv_16.sym │ ├── bufinv_8.sym │ ├── clkbuf_1.sym │ ├── clkbuf_16.sym │ ├── clkbuf_2.sym │ ├── clkbuf_4.sym │ ├── clkbuf_8.sym │ ├── clkdlybuf4s15_1.sym │ ├── clkdlybuf4s15_2.sym │ ├── clkdlybuf4s18_1.sym │ ├── clkdlybuf4s18_2.sym │ ├── clkdlybuf4s25_1.sym │ ├── clkdlybuf4s25_2.sym │ ├── clkdlybuf4s50_1.sym │ ├── clkdlybuf4s50_2.sym │ ├── clkinv_1.sym │ ├── clkinv_16.sym │ ├── clkinv_2.sym │ ├── clkinv_4.sym │ ├── clkinv_8.sym │ ├── clkinvlp_2.sym │ ├── clkinvlp_4.sym │ ├── conb_1.sym │ ├── decap_12.sym │ ├── decap_3.sym │ ├── decap_4.sym │ ├── decap_6.sym │ ├── decap_8.sym │ ├── dfbbn_1.sym │ ├── dfbbn_2.sym │ ├── dfbbp_1.sym │ ├── dfrbp_1.sym │ ├── dfrbp_2.sym │ ├── dfrtn_1.sym │ ├── dfrtp_1.sym │ ├── dfrtp_2.sym │ ├── dfrtp_4.sym │ ├── dfsbp_1.sym │ ├── dfsbp_2.sym │ ├── dfstp_1.sym │ ├── dfstp_2.sym │ ├── dfstp_4.sym │ ├── dfxbp_1.sym │ ├── dfxbp_2.sym │ ├── dfxtp_1.sym │ ├── dfxtp_2.sym │ ├── dfxtp_4.sym │ ├── diode_2.sym │ ├── dlclkp_1.sym │ ├── dlclkp_2.sym │ ├── dlclkp_4.sym │ ├── dlrbn_1.sym │ ├── dlrbn_2.sym │ ├── dlrbp_1.sym │ ├── dlrbp_2.sym │ ├── dlrtn_1.sym │ ├── dlrtn_2.sym │ ├── dlrtn_4.sym │ ├── dlrtp_1.sym │ ├── dlrtp_2.sym │ ├── dlrtp_4.sym │ ├── dlxbn_1.sym │ ├── dlxbn_2.sym │ ├── dlxbp_1.sym │ ├── dlxtn_1.sym │ ├── dlxtn_2.sym │ ├── dlxtn_4.sym │ ├── dlxtp_1.sym │ ├── dlygate4sd1_1.sym │ ├── dlygate4sd2_1.sym │ ├── dlygate4sd3_1.sym │ ├── dlymetal6s2s_1.sym │ ├── dlymetal6s4s_1.sym │ ├── dlymetal6s6s_1.sym │ ├── doc │ │ ├── gates.svg │ │ └── test_sim.png │ ├── ebufn_1.sym │ ├── ebufn_2.sym │ ├── ebufn_4.sym │ ├── ebufn_8.sym │ ├── edfxbp_1.sym │ ├── edfxtp_1.sym │ ├── einvn_0.sym │ ├── einvn_1.sym │ ├── einvn_2.sym │ ├── einvn_4.sym │ ├── einvn_8.sym │ ├── einvp_1.sym │ ├── einvp_2.sym │ ├── einvp_4.sym │ ├── einvp_8.sym │ ├── fa_1.sym │ ├── fa_2.sym │ ├── fa_4.sym │ ├── fah_1.sym │ ├── fahcin_1.sym │ ├── fahcon_1.sym │ ├── fill_1.sym │ ├── fill_2.sym │ ├── fill_4.sym │ ├── fill_8.sym │ ├── ha_1.sym │ ├── ha_2.sym │ ├── ha_4.sym │ ├── inv_1.sym │ ├── inv_12.sym │ ├── inv_16.sym │ ├── inv_2.sym │ ├── inv_4.sym │ ├── inv_6.sym │ ├── inv_8.sym │ ├── lpflow_bleeder_1.sym │ ├── lpflow_clkbufkapwr_1.sym │ ├── lpflow_clkbufkapwr_16.sym │ ├── lpflow_clkbufkapwr_2.sym │ ├── lpflow_clkbufkapwr_4.sym │ ├── lpflow_clkbufkapwr_8.sym │ ├── lpflow_clkinvkapwr_1.sym │ ├── lpflow_clkinvkapwr_16.sym │ ├── lpflow_clkinvkapwr_2.sym │ ├── lpflow_clkinvkapwr_4.sym │ ├── lpflow_clkinvkapwr_8.sym │ ├── lpflow_decapkapwr_12.sym │ ├── lpflow_decapkapwr_3.sym │ ├── lpflow_decapkapwr_4.sym │ ├── lpflow_decapkapwr_6.sym │ ├── lpflow_decapkapwr_8.sym │ ├── lpflow_inputiso0n_1.sym │ ├── lpflow_inputiso0p_1.sym │ ├── lpflow_inputiso1n_1.sym │ ├── lpflow_inputiso1p_1.sym │ ├── lpflow_inputisolatch_1.sym │ ├── lpflow_isobufsrc_1.sym │ ├── lpflow_isobufsrc_16.sym │ ├── lpflow_isobufsrc_2.sym │ ├── lpflow_isobufsrc_4.sym │ ├── lpflow_isobufsrc_8.sym │ ├── lpflow_isobufsrckapwr_16.sym │ ├── lpflow_lsbuf_lh_hl_isowell_tap_1.sym │ ├── lpflow_lsbuf_lh_hl_isowell_tap_2.sym │ ├── lpflow_lsbuf_lh_hl_isowell_tap_4.sym │ ├── lpflow_lsbuf_lh_isowell_4.sym │ ├── lpflow_lsbuf_lh_isowell_tap_1.sym │ ├── lpflow_lsbuf_lh_isowell_tap_2.sym │ ├── lpflow_lsbuf_lh_isowell_tap_4.sym │ ├── macro_sparecell.sym │ ├── maj3_1.sym │ ├── maj3_2.sym │ ├── maj3_4.sym │ ├── mux2_1.sym │ ├── mux2_2.sym │ ├── mux2_4.sym │ ├── mux2_8.sym │ ├── mux2i_1.sym │ ├── mux2i_2.sym │ ├── mux2i_4.sym │ ├── mux4_1.sym │ ├── mux4_2.sym │ ├── mux4_4.sym │ ├── nand2_1.sym │ ├── nand2_2.sym │ ├── nand2_4.sym │ ├── nand2_8.sym │ ├── nand2b_1.sym │ ├── nand2b_2.sym │ ├── nand2b_4.sym │ ├── nand3_1.sym │ ├── nand3_2.sym │ ├── nand3_4.sym │ ├── nand3b_1.sym │ ├── nand3b_2.sym │ ├── nand3b_4.sym │ ├── nand4_1.sym │ ├── nand4_2.sym │ ├── nand4_4.sym │ ├── nand4b_1.sym │ ├── nand4b_2.sym │ ├── nand4b_4.sym │ ├── nand4bb_1.sym │ ├── nand4bb_2.sym │ ├── nand4bb_4.sym │ ├── nor2_1.sym │ ├── nor2_2.sym │ ├── nor2_4.sym │ ├── nor2_8.sym │ ├── nor2b_1.sym │ ├── nor2b_2.sym │ ├── nor2b_4.sym │ ├── nor3_1.sym │ ├── nor3_2.sym │ ├── nor3_4.sym │ ├── nor3b_1.sym │ ├── nor3b_2.sym │ ├── nor3b_4.sym │ ├── nor4_1.sym │ ├── nor4_2.sym │ ├── nor4_4.sym │ ├── nor4b_1.sym │ ├── nor4b_2.sym │ ├── nor4b_4.sym │ ├── nor4bb_1.sym │ ├── nor4bb_2.sym │ ├── nor4bb_4.sym │ ├── o2111a_1.sym │ ├── o2111a_2.sym │ ├── o2111a_4.sym │ ├── o2111ai_1.sym │ ├── o2111ai_2.sym │ ├── o2111ai_4.sym │ ├── o211a_1.sym │ ├── o211a_2.sym │ ├── o211a_4.sym │ ├── o211ai_1.sym │ ├── o211ai_2.sym │ ├── o211ai_4.sym │ ├── o21a_1.sym │ ├── o21a_2.sym │ ├── o21a_4.sym │ ├── o21ai_0.sym │ ├── o21ai_1.sym │ ├── o21ai_2.sym │ ├── o21ai_4.sym │ ├── o21ba_1.sym │ ├── o21ba_2.sym │ ├── o21ba_4.sym │ ├── o21bai_1.sym │ ├── o21bai_2.sym │ ├── o21bai_4.sym │ ├── o221a_1.sym │ ├── o221a_2.sym │ ├── o221a_4.sym │ ├── o221ai_1.sym │ ├── o221ai_2.sym │ ├── o221ai_4.sym │ ├── o22a_1.sym │ ├── o22a_2.sym │ ├── o22a_4.sym │ ├── o22ai_1.sym │ ├── o22ai_2.sym │ ├── o22ai_4.sym │ ├── o2bb2a_1.sym │ ├── o2bb2a_2.sym │ ├── o2bb2a_4.sym │ ├── o2bb2ai_1.sym │ ├── o2bb2ai_2.sym │ ├── o2bb2ai_4.sym │ ├── o311a_1.sym │ ├── o311a_2.sym │ ├── o311a_4.sym │ ├── o311ai_0.sym │ ├── o311ai_1.sym │ ├── o311ai_2.sym │ ├── o311ai_4.sym │ ├── o31a_1.sym │ ├── o31a_2.sym │ ├── o31a_4.sym │ ├── o31ai_1.sym │ ├── o31ai_2.sym │ ├── o31ai_4.sym │ ├── o32a_1.sym │ ├── o32a_2.sym │ ├── o32a_4.sym │ ├── o32ai_1.sym │ ├── o32ai_2.sym │ ├── o32ai_4.sym │ ├── o41a_1.sym │ ├── o41a_2.sym │ ├── o41a_4.sym │ ├── o41ai_1.sym │ ├── o41ai_2.sym │ ├── o41ai_4.sym │ ├── or2_0.sym │ ├── or2_1.sym │ ├── or2_2.sym │ ├── or2_4.sym │ ├── or2b_1.sym │ ├── or2b_2.sym │ ├── or2b_4.sym │ ├── or3_1.sym │ ├── or3_2.sym │ ├── or3_4.sym │ ├── or3b_1.sym │ ├── or3b_2.sym │ ├── or3b_4.sym │ ├── or4_1.sym │ ├── or4_2.sym │ ├── or4_4.sym │ ├── or4b_1.sym │ ├── or4b_2.sym │ ├── or4b_4.sym │ ├── or4bb_1.sym │ ├── or4bb_2.sym │ ├── or4bb_4.sym │ ├── probe_p_8.sym │ ├── probec_p_8.sym │ ├── scripts │ │ ├── create_variants.awk │ │ ├── place_all_gates.awk │ │ └── resize.awk │ ├── sdfbbn_1.sym │ ├── sdfbbn_2.sym │ ├── sdfbbp_1.sym │ ├── sdfrbp_1.sym │ ├── sdfrbp_2.sym │ ├── sdfrtn_1.sym │ ├── sdfrtp_1.sym │ ├── sdfrtp_2.sym │ ├── sdfrtp_4.sym │ ├── sdfsbp_1.sym │ ├── sdfsbp_2.sym │ ├── sdfstp_1.sym │ ├── sdfstp_2.sym │ ├── sdfstp_4.sym │ ├── sdfxbp_1.sym │ ├── sdfxbp_2.sym │ ├── sdfxtp_1.sym │ ├── sdfxtp_2.sym │ ├── sdfxtp_4.sym │ ├── sdlclkp_1.sym │ ├── sdlclkp_2.sym │ ├── sdlclkp_4.sym │ ├── sedfxbp_1.sym │ ├── sedfxbp_2.sym │ ├── sedfxtp_1.sym │ ├── sedfxtp_2.sym │ ├── sedfxtp_4.sym │ ├── tap_1.sym │ ├── tap_2.sym │ ├── tapvgnd2_1.sym │ ├── tapvgnd_1.sym │ ├── tapvpwrvgnd_1.sym │ ├── xnor2_1.sym │ ├── xnor2_2.sym │ ├── xnor2_4.sym │ ├── xnor3_1.sym │ ├── xnor3_2.sym │ ├── xnor3_4.sym │ ├── xor2_1.sym │ ├── xor2_2.sym │ ├── xor2_4.sym │ ├── xor3_1.sym │ ├── xor3_2.sym │ └── xor3_4.sym ├── sky130_tests │ ├── LACG.sch │ ├── LACG.sym │ ├── README.md │ ├── adder_16bit.sch │ ├── adder_16bit.sym │ ├── adder_1bit.sch │ ├── adder_1bit.sym │ ├── adder_256bit.sch │ ├── adder_256bit.sym │ ├── adder_32bit.sch │ ├── adder_32bit.sym │ ├── adder_4bit.sch │ ├── adder_4bit.sym │ ├── adder_64bit.sch │ ├── adder_64bit.sym │ ├── all_sky130_gates.sch │ ├── all_sky130_gates.sym │ ├── bandgap.sch │ ├── bandgap.sym │ ├── bandgap_opamp.sch │ ├── bandgap_opamp.sym │ ├── cla_2bits.sch │ ├── cla_2bits.sym │ ├── cla_4bits.sch │ ├── cla_4bits.sym │ ├── gain_stage.sch │ ├── gain_stage.sym │ ├── gates.sch │ ├── gates.sym │ ├── gates_sky130.sch │ ├── gates_sky130.sym │ ├── giant_label.sym │ ├── giant_label2.sym │ ├── logic_ngspice.sch │ ├── logic_ngspice.sym │ ├── lvnand.sch │ ├── lvnand.sym │ ├── lvtnot.sch │ ├── lvtnot.sym │ ├── n_diffamp.sch │ ├── n_diffamp.sym │ ├── nand2_noschematic.sym │ ├── ngspice_flop.sch │ ├── ngspice_flop.sym │ ├── not.sch │ ├── not.sym │ ├── passgate.sch │ ├── passgate.sym │ ├── passgate_nlvt.sch │ ├── passgate_nlvt.sym │ ├── segment.sym │ ├── simulate_ff.sch │ ├── simulate_ff.sym │ ├── srlatch.sch │ ├── srlatch.sym │ ├── stdcells.sch │ ├── stdcells.sym │ ├── stdcells_xspice.sch │ ├── stdcells_xspice.sym │ ├── stimuli.bandgap_opamp │ ├── stimuli.tb_bandgap_opamp │ ├── stimuli.test_carry_lookahead │ ├── stimuli.test_comparator │ ├── tb_bandgap.sch │ ├── tb_bandgap.sym │ ├── tb_bandgap_opamp.sch │ ├── tb_bandgap_opamp.sym │ ├── tb_ft_test.sch │ ├── tb_ft_test.sym │ ├── tb_ft_test_2.sch │ ├── tb_ft_test_2.sym │ ├── tb_reram.sch │ ├── tb_reram.sym │ ├── test_ac.sch │ ├── test_ac.sym │ ├── test_analog.sch │ ├── test_analog.sym │ ├── test_bipolar.sch │ ├── test_bipolar.sym │ ├── test_carry_lookahead.sch │ ├── test_carry_lookahead.sym │ ├── test_comparator.sch │ ├── test_comparator.sym │ ├── test_diode.sch │ ├── test_diode.sym │ ├── test_ff.sch │ ├── test_ff.sym │ ├── test_format_override.sch │ ├── test_format_override.sym │ ├── test_inv.sch │ ├── test_inv.sym │ ├── test_mim_cap.sch │ ├── test_mim_cap.sym │ ├── test_mos_binning.sch │ ├── test_mos_binning.sym │ ├── test_multisim.sch │ ├── test_multisim.sym │ ├── test_nand2_noschematic.sch │ ├── test_nand2_noschematic.sym │ ├── test_ngspice_flop.sch │ ├── test_nmos.sch │ ├── test_nmos.sym │ ├── test_nmos_sizes.sch │ ├── test_nmos_sizes.sym │ ├── test_pmos.sch │ ├── test_pmos.sym │ ├── test_res.sch │ ├── test_res.sym │ ├── test_s_xfer.sch │ ├── test_s_xfer.sym │ ├── test_stdcells.sch │ ├── test_stdcells.sym │ ├── test_sweep_mos_w.sch │ ├── test_sweep_mos_w.sym │ ├── test_varactor.sch │ ├── test_varactor.sym │ ├── test_vpp_cap.sch │ ├── test_vpp_cap.sym │ ├── top.sch │ ├── zero_opamp.sch │ └── zero_opamp.sym ├── stdcells │ ├── AND2.sym │ ├── AND2I.sym │ ├── AND3.sym │ ├── AND4.sym │ ├── AND5.sym │ ├── AND8.sym │ ├── AO21.sym │ ├── AO22.sym │ ├── AOI21.sym │ ├── AOI22.sym │ ├── BUF.sym │ ├── DFF.sym │ ├── DFFI.sym │ ├── DFFIQ.sym │ ├── DFFIR.sym │ ├── DFFIRQ.sym │ ├── DFFIS.sym │ ├── DFFISQ.sym │ ├── DFFISR.sym │ ├── DFFISRQ.sym │ ├── DFFQ.sym │ ├── DFFR.sym │ ├── DFFRQ.sym │ ├── DFFS.sym │ ├── DFFSQ.sym │ ├── DFFSR.sym │ ├── DFFSRQ.sym │ ├── EDFF.sym │ ├── EDFFQ.sym │ ├── FA.sym │ ├── HA.sym │ ├── INV.sym │ ├── LATCH.sym │ ├── LATCHI.sym │ ├── LATCHIQ.sym │ ├── LATCHIR.sym │ ├── LATCHIRQ.sym │ ├── LATCHIS.sym │ ├── LATCHISQ.sym │ ├── LATCHQ.sym │ ├── LATCHR.sym │ ├── LATCHRQ.sym │ ├── LATCHS.sym │ ├── LATCHSQ.sym │ ├── MUX2.sym │ ├── MUX2I.sym │ ├── MUX4.sym │ ├── MUX4I.sym │ ├── NAND2.sym │ ├── NAND2I.sym │ ├── NAND3.sym │ ├── NAND4.sym │ ├── NAND5.sym │ ├── NAND8.sym │ ├── NOR2.sym │ ├── NOR2I.sym │ ├── NOR3.sym │ ├── NOR4.sym │ ├── NOR5.sym │ ├── NOR8.sym │ ├── OA21.sym │ ├── OA22.sym │ ├── OAI21.sym │ ├── OAI22.sym │ ├── OR2.sym │ ├── OR2I.sym │ ├── OR3.sym │ ├── OR4.sym │ ├── OR5.sym │ ├── OR8.sym │ ├── README.md │ ├── SDFF.sym │ ├── SDFFQ.sym │ ├── TBUF.sym │ ├── TBUFI.sym │ ├── XNOR2.sym │ ├── XOR2.sym │ └── doc │ │ ├── AND2.png │ │ ├── AND2I.png │ │ ├── AND3.png │ │ ├── AND4.png │ │ ├── AND5.png │ │ ├── AND8.png │ │ ├── AO21.png │ │ ├── AO22.png │ │ ├── AOI21.png │ │ ├── AOI22.png │ │ ├── BUF.png │ │ ├── DFF.png │ │ ├── DFFI.png │ │ ├── DFFIQ.png │ │ ├── DFFIR.png │ │ ├── DFFIRQ.png │ │ ├── DFFIS.png │ │ ├── DFFISQ.png │ │ ├── DFFISR.png │ │ ├── DFFISRQ.png │ │ ├── DFFQ.png │ │ ├── DFFR.png │ │ ├── DFFRQ.png │ │ ├── DFFS.png │ │ ├── DFFSQ.png │ │ ├── DFFSR.png │ │ ├── DFFSRQ.png │ │ ├── EDFF.png │ │ ├── EDFFQ.png │ │ ├── FA.png │ │ ├── HA.png │ │ ├── INV.png │ │ ├── LATCH.png │ │ ├── LATCHI.png │ │ ├── LATCHIQ.png │ │ ├── LATCHIR.png │ │ ├── LATCHIRQ.png │ │ ├── LATCHIS.png │ │ ├── LATCHISQ.png │ │ ├── LATCHQ.png │ │ ├── LATCHR.png │ │ ├── LATCHRQ.png │ │ ├── LATCHS.png │ │ ├── LATCHSQ.png │ │ ├── MUX2.png │ │ ├── MUX2I.png │ │ ├── MUX4.png │ │ ├── MUX4I.png │ │ ├── NAND2.png │ │ ├── NAND2I.png │ │ ├── NAND3.png │ │ ├── NAND4.png │ │ ├── NAND5.png │ │ ├── NAND8.png │ │ ├── NOR2.png │ │ ├── NOR2I.png │ │ ├── NOR3.png │ │ ├── NOR4.png │ │ ├── NOR5.png │ │ ├── NOR8.png │ │ ├── OA21.png │ │ ├── OA22.png │ │ ├── OAI21.png │ │ ├── OAI22.png │ │ ├── OR2.png │ │ ├── OR2I.png │ │ ├── OR3.png │ │ ├── OR4.png │ │ ├── OR5.png │ │ ├── OR8.png │ │ ├── SDFF.png │ │ ├── SDFFQ.png │ │ ├── TBUF.png │ │ ├── TBUFI.png │ │ ├── XNOR2.png │ │ ├── XOR2.png │ │ ├── gate_attributes.png │ │ └── gates.png ├── xschem_verilog_import │ ├── README.md │ ├── audiodac.sch │ ├── audiodac.spice │ ├── audiodac.sym │ ├── audiodac.v │ ├── audiodac_clean.sch │ ├── count_nets.awk │ ├── counter.sch │ ├── counter.sym │ ├── counter.v │ ├── counter_clean.sch │ ├── gmon.out │ ├── make_sky130_sch_from_spice.awk │ ├── make_sky130_sch_from_verilog.awk │ ├── sky130_fd_sc_hvl__lsbuflv2hv_1.sch │ ├── sky130_fd_sc_hvl__lsbuflv2hv_1.spice │ ├── sky130_fd_sc_hvl__lsbuflv2hv_1.sym │ ├── sky130_fd_sc_hvl__lsbuflv2hv_1_redraw.sch │ ├── sky130_fd_sc_hvl__lsbuflv2hv_1_redraw_fix.sch │ ├── spm.sch │ ├── spm.spice │ ├── spm.sym │ ├── spm.v │ └── xschemrc └── xschemrc └── xschemrc /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 riosmpw 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /bin/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /dev/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /ipdesignguide/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /ipdesignguide/miniSRAM/prj23-2x2sram28项目方案.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/ipdesignguide/miniSRAM/prj23-2x2sram28项目方案.pdf -------------------------------------------------------------------------------- /ipdesignguide/tutorial/inverter/images/sim_inverter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/ipdesignguide/tutorial/inverter/images/sim_inverter.png -------------------------------------------------------------------------------- /ipdesignguide/tutorial/inverter/inverter.sch: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 } 2 | G {} 3 | K {} 4 | V {} 5 | S {} 6 | E {} 7 | N 40 -20 40 20 { 8 | lab=OUT} 9 | N 0 -50 0 50 { 10 | lab=IN} 11 | N 40 0 180 -0 { 12 | lab=OUT} 13 | N -100 0 -0 0 { 14 | lab=IN} 15 | N 40 80 40 120 { 16 | lab=GND} 17 | N 40 120 60 120 { 18 | lab=GND} 19 | N 40 -120 40 -80 { 20 | lab=VDD} 21 | N 40 -120 60 -120 { 22 | lab=VDD} 23 | N 40 -50 60 -50 {} 24 | N 60 -90 60 -50 {} 25 | N 40 -90 60 -90 {} 26 | N 40 50 60 50 {} 27 | N 60 50 60 100 {} 28 | N 40 100 60 100 {} 29 | C {symbols/nmos_3p3.sym} 20 50 0 0 {name=M1 30 | L=0.28u 31 | W=0.22u 32 | nf=1 33 | m=1 34 | ad="'int((nf+1)/2) * W/nf * 0.18u'" 35 | pd="'2*int((nf+1)/2) * (W/nf + 0.18u)'" 36 | as="'int((nf+2)/2) * W/nf * 0.18u'" 37 | ps="'2*int((nf+2)/2) * (W/nf + 0.18u)'" 38 | nrd="'0.18u / W'" nrs="'0.18u / W'" 39 | sa=0 sb=0 sd=0 40 | model=nmos_3p3 41 | spiceprefix=X 42 | } 43 | C {symbols/pmos_3p3.sym} 20 -50 0 0 {name=M2 44 | L=0.28u 45 | W=0.44u 46 | nf=1 47 | m=1 48 | ad="'int((nf+1)/2) * W/nf * 0.18u'" 49 | pd="'2*int((nf+1)/2) * (W/nf + 0.18u)'" 50 | as="'int((nf+2)/2) * W/nf * 0.18u'" 51 | ps="'2*int((nf+2)/2) * (W/nf + 0.18u)'" 52 | nrd="'0.18u / W'" nrs="'0.18u / W'" 53 | sa=0 sb=0 sd=0 54 | model=pmos_3p3 55 | spiceprefix=X 56 | } 57 | C {devices/iopin.sym} 170 0 0 0 {name=p1 lab=OUT} 58 | C {devices/iopin.sym} 50 -120 0 0 {name=p2 lab=VDD} 59 | C {devices/iopin.sym} 50 120 0 0 {name=p3 lab=GND} 60 | C {devices/iopin.sym} -90 0 2 0 {name=p4 lab=IN} 61 | -------------------------------------------------------------------------------- /ipdesignguide/tutorial/inverter/inverter.spice: -------------------------------------------------------------------------------- 1 | * Digital Inverter Spice Netlist for ngspice 2 | 3 | * Sources 4 | Vin I 0 dc pulse(0 5 100p 1p 1p 100p 200p) 5 | Vdd VDD 0 dc 5 6 | 7 | * Main circuit 8 | X1 I ZN VDD VDD 0 0 gf180mcu_fd_sc_mcu7t5v0__inv_1 9 | 10 | * Temperature set 11 | .temp 25 12 | .options tnom=25 13 | 14 | * Analyses 15 | .control 16 | tran 1p 200p 17 | meas tran high_in FIND V(ZN) AT=100p 18 | meas tran low_in FIND V(ZN) AT=200p 19 | 20 | wrdata inv_simulated.csv {high_in} {low_in} 21 | 22 | .endc 23 | 24 | * Libraries calling 25 | .include "design.ngspice" 26 | .lib "sm141064.ngspice" typical 27 | 28 | .SUBCKT gf180mcu_fd_sc_mcu7t5v0__inv_1 I ZN VDD VNW VPW VSS 29 | xM_i_0 ZN I VSS VPW nmos_6p0 W=8.2e-07 L=6e-07 30 | xM_i_1 ZN I VDD VNW pmos_6p0 W=1.22e-06 L=5e-07 31 | .ENDS 32 | 33 | 34 | .end -------------------------------------------------------------------------------- /ipdesignguide/tutorial/inverter/inverter.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 } 2 | G {} 3 | K {type=subcircuit 4 | format="@name @pinlist @symname" 5 | template="name=x1" 6 | } 7 | V {} 8 | S {} 9 | E {} 10 | L 4 -80 -40 -80 40 {} 11 | L 4 -80 40 -0 0 {} 12 | L 4 -80 -40 -0 -0 {} 13 | L 7 -40 -40 -40 -20 {} 14 | L 7 20 0 40 0 {} 15 | L 7 -100 0 -80 0 {} 16 | L 7 -40 20 -40 40 {} 17 | B 5 -42.5 -42.5 -37.5 -37.5 {name=VDD dir=inout } 18 | B 5 37.5 -2.5 42.5 2.5 {name=OUT dir=inout } 19 | B 5 -102.5 -2.5 -97.5 2.5 {name=IN dir=inout } 20 | B 5 -42.5 37.5 -37.5 42.5 {name=GND dir=inout } 21 | A 4 10 -0 10 180 360 {} 22 | T {@symname} -54 -6 0 0 0.3 0.3 {} 23 | T {@name} -25 -32 0 0 0.2 0.2 {} 24 | T {VDD} -25 -64 0 1 0.2 0.2 {} 25 | T {OUT} 75 -4 0 1 0.2 0.2 {} 26 | T {IN} -115 -6 2 1 0.2 0.2 {} 27 | T {GND} -25 46 0 1 0.2 0.2 {} 28 | -------------------------------------------------------------------------------- /ipdesignguide/tutorial/inverter/inverter2.spice: -------------------------------------------------------------------------------- 1 | * Digital Inverter Spice Netlist for ngspice 2 | * DC Analyses 3 | 4 | * Sources 5 | Vin I 0 dc pulse(0 5 100p 1p 1p 100p 200p) 6 | Vdd VDD 0 dc 5 7 | 8 | * Main circuit 9 | X1 I ZN VDD VDD 0 0 gf180mcu_fd_sc_mcu7t5v0__inv_1 10 | 11 | * Temperature set 12 | .temp 25 13 | .options tnom=25 14 | 15 | * Analyses 16 | .control 17 | tran 1p 200p 18 | meas tran high_in FIND V(ZN) AT=100p 19 | meas tran low_in FIND V(ZN) AT=200p 20 | 21 | wrdata inv_simulated.csv {high_in} {low_in} 22 | 23 | set color0=white 24 | set color1=black 25 | set color2=red 26 | set color3=blue 27 | set xbrushwidth=3 28 | plot I ZN 29 | 30 | .endc 31 | 32 | * Libraries calling 33 | .include "design.ngspice" 34 | .lib "sm141064.ngspice" typical 35 | 36 | .SUBCKT gf180mcu_fd_sc_mcu7t5v0__inv_1 I ZN VDD VNW VPW VSS 37 | xM_i_0 ZN I VSS VPW nmos_6p0 W=8.2e-07 L=6e-07 38 | xM_i_1 ZN I VDD VNW pmos_6p0 W=1.22e-06 L=5e-07 39 | .ENDS 40 | 41 | 42 | .end -------------------------------------------------------------------------------- /ipdesignguide/tutorial/inverter/inverter_tb.sch: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 } 2 | G {} 3 | K {} 4 | V {} 5 | S {} 6 | E {} 7 | N -50 -60 -50 -30 { 8 | lab=VDD} 9 | N -50 30 -50 50 { 10 | lab=GND} 11 | N 220 -90 220 -40 { 12 | lab=VDD} 13 | N 60 80 220 80 { 14 | lab=GND} 15 | N 60 0 160 0 { 16 | lab=IN} 17 | N 60 60 60 80 { 18 | lab=GND} 19 | N 220 40 220 100 { 20 | lab=GND} 21 | N 300 0 360 0 { 22 | lab=OUT} 23 | C {devices/vsource.sym} -50 0 0 0 {name=V1 value=3.3} 24 | C {devices/vdd.sym} -50 -60 0 0 {name=l1 lab=VDD} 25 | C {devices/gnd.sym} -50 50 0 0 {name=l2 lab=GND} 26 | C {devices/vsource.sym} 60 30 0 0 {name=V2 value=pulse(0 3.3 100p 50p 50p 100p 500p)} 27 | C {devices/vdd.sym} 220 -90 0 0 {name=l3 lab=VDD} 28 | C {devices/gnd.sym} 220 100 0 0 {name=l4 lab=GND} 29 | C {devices/code_shown.sym} -90 140 0 0 {name=MODELS only_toplevel=false value=" 30 | .include $::180MCU_MODELS/design.ngspice 31 | .lib $::180MCU_MODELS/sm141064.ngspice typical 32 | "} 33 | C {devices/code_shown.sym} 420 -50 0 0 {name=NGSPICE only_toplevel=false value=" 34 | 35 | .include $::180MCU_MODELS/design.ngspice 36 | .lib $::180MCU_MODELS/sm141064.ngspice typical 37 | 38 | save all 39 | tran 3p 600p 40 | plot IN OUT 41 | .endc 42 | "} 43 | C {/work/stu/hzhang/project/OpenXRAM/ipdesignguide/tutorial/inverter/inverter.sym} 260 0 0 0 {name=x1} 44 | C {devices/lab_wire.sym} 350 0 0 0 {name=l5 sig_type=std_logic lab=OUT} 45 | C {devices/lab_wire.sym} 110 0 0 0 {name=l6 sig_type=std_logic lab=IN} 46 | -------------------------------------------------------------------------------- /ipdesignguide/tutorial/inverter/xschemrc: -------------------------------------------------------------------------------- 1 | /work/stu/hzhang/pdk/gf180mcuC/libs.tech/xschem/xschemrc -------------------------------------------------------------------------------- /ipdesignguide/tutorial/reference/CMOS电路模拟与设计-基于Hspice.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/ipdesignguide/tutorial/reference/CMOS电路模拟与设计-基于Hspice.pdf -------------------------------------------------------------------------------- /ipdesignguide/tutorial/reference/Dual_Stage_CMOS_Operational_Amplifier_Design_in_Sky-Water_130nm_Technology.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/ipdesignguide/tutorial/reference/Dual_Stage_CMOS_Operational_Amplifier_Design_in_Sky-Water_130nm_Technology.pdf -------------------------------------------------------------------------------- /ipdesignguide/tutorial/reference/LTspiceGettingStartedGuide.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/ipdesignguide/tutorial/reference/LTspiceGettingStartedGuide.pdf -------------------------------------------------------------------------------- /ipdesignguide/tutorial/reference/README.md: -------------------------------------------------------------------------------- 1 | References: 2 | 1. [Dual Stage CMOS Operational Amplifier Design in Sky-Water 130nm Technology](https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=9697325) 3 | 2. [Digital Inverter sky130](https://colab.research.google.com/github/chipsalliance/silicon-notebooks/blob/main/digital-inverter-openlane.ipynb) 4 | 3. [Digital Inverter gf180](https://colab.research.google.com/github/chipsalliance/silicon-notebooks/blob/main/digital-inverter-openlane-gf180mcu.ipynb) 5 | -------------------------------------------------------------------------------- /libraries/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /openlane/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /prj23_sky130sramip0/P00_projectreport/.keep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /prj23_sky130sramip0/P00_projectreport/20230115-report-sram compiler plan-v0.1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/prj23_sky130sramip0/P00_projectreport/20230115-report-sram compiler plan-v0.1.pdf -------------------------------------------------------------------------------- /prj23_sky130sramip0/P00_projectreport/20230129-report-sram compiler plan-v0.2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/prj23_sky130sramip0/P00_projectreport/20230129-report-sram compiler plan-v0.2.pdf -------------------------------------------------------------------------------- /prj23_sky130sramip0/P01_projectinitial/trendsoffullcustomdesign.md: -------------------------------------------------------------------------------- 1 | **全定制设计方法对于高性能芯片的重要意义** 2 | 3 | 在高性能芯片中,**全定制设计**是不可或缺的设计方法。典型的使用了全定制设计方法的芯片包括Intel的CPU系列、IBM 4 | Power CPU系列和各类矿机芯片。 5 | 6 | 通过使用全定制方法,芯片的性能大概可以**优化2-5倍**,面积一般优化2-3倍,具备明显的性能提升和**竞争力**。全定制设计方法是很多芯片巨头的核心技术。基本上**顶尖的芯片产品**都有使用全定制设计方法。高通、苹果等公司的手机芯片也都会用全定制设计方法学,只不过宣传的很少。 7 | 8 | 全定制设计(full-custom design) 9 | 是根据芯片设计要求,在晶体管级,通过电路仿真开始进行电路结构、电路参数的优化,并优化器件摆放和连线,完成整个芯片版图设计的一种设计方法。这一优化可以是人工优化,也可以**借助人工智能/深度学习**算法进行。 10 | 11 | 与半定制设计方法,或者基于标准单元库的设计方法相比,全定制设计具有**更高维度的优化空间**,可以定制门单元内各器件的驱动能力、摆放位置和形状,构造更简约的逻辑功能,实现更优的面积、功耗、功能。AMD早期CPU只使用了半定制设计方法(Synopsys设计流程),导致发热量巨大,市场口碑不好。后来AMD逐渐积累了全定制的设计能力,逐渐提升了其CPU的PPA,才逐渐修正了发热量这个bug。 12 | 13 | 半定制的设计方法,基本是数字IC圈人人都会,但是这里面懂全定制设计技术的往往是少数高手和首席。 14 | 15 | 全定制设计方法的优化主要体现在六个方面:架构、门单元的优化、布局的优化、时钟树优化、门级网表优化和电源网格优化。 16 | 17 | 以**时钟树优化**为例。传统的CTS流程使用标准单元库来生成时钟树,虽然方便,但是由于标准单元的门延迟模型并不精准,而且未考虑实际物理版图布局寄生参数的影响。生成的时钟树延迟误差较SPICE仿真要大,设计margin保留较大,会有不少**性能损失**。特别是在先进工艺下,由于**工艺参数浮动的影响**,不能直接进行时钟树的蒙特卡洛仿真来评估时钟周期的准确度。 18 | 19 | 于门级网表来说,半定制设计是逻辑设计和物理设计分开,这样写代码的人不知道单元库和版图对于性能的影响,而物理设计也不知道哪些逻辑功能可以降低实现优先级,这中间有很大**信息差**。而全定制设计采取**前后端耦合**共同设计的方式,在写代码的时候就要知道所写库的面积、功耗、速度等方面,选择**更优化**的方式进行设计。 20 | 21 | 在架构设计中,则要通盘规划代码设计和物理实现之间的鸿沟,合理考虑版图实现时对于各类密集信号线的影响,通过架构调整减少信号的congestion,以实现更高速的产品。对于关键路径模块,则会直接安排人工设计,以提升产品性能和竞争力。 22 | 23 | 随着人工智能技术的崛起,越来越多的AI技术开始用于集成电路设计。就目前来说仅仅介入了半定制设计流程。如果**深度学习/强化学习**技术进入全定制设计流程,就能给EDA和IC界带来**巨大的冲击**。 24 | -------------------------------------------------------------------------------- /prj23_sky130sramip0/P02_refdesign/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /prj23_sky130sramip0/P02_refdesign/sim/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /ref/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /scripts/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /xscheme/README.md: -------------------------------------------------------------------------------- 1 | # xscheme 2 | This folder is a simple xscheme try out. -------------------------------------------------------------------------------- /xscheme/env.sh: -------------------------------------------------------------------------------- 1 | 2 | # set this to openpdk root 3 | export PDK_ROOT="/work/stu/pguo/lib/share/pdk" 4 | 5 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/decred_hash_macro/decred_hash_macro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/decred_hash_macro/decred_hash_macro.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/decred_hash_macro/decred_hash_macro_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/decred_hash_macro/decred_hash_macro_2.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/mips_cpu/README.md: -------------------------------------------------------------------------------- 1 | # MIPS CPU example in xschem 2 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/mips_cpu/alu.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2} 2 | K {type=subcircuit 3 | format="@name @pinlist @symname" 4 | template="name=x1" 5 | } 6 | 7 | T {@symname} -31.5 -6 0 0 0.3 0.3 {} 8 | T {@name} 135 -42 0 0 0.2 0.2 {} 9 | L 4 -130 -30 130 -30 {} 10 | L 4 -130 30 130 30 {} 11 | L 4 -130 -30 -130 30 {} 12 | L 4 130 -30 130 30 {} 13 | B 5 -152.5 -22.5 -147.5 -17.5 {name=a_in[31:0] dir=in name=p1 } 14 | L 4 -150 -20 -130 -20 {} 15 | T {a_in[31:0]} -125 -24 0 0 0.2 0.2 {} 16 | B 5 147.5 -22.5 152.5 -17.5 {name=zero dir=out name=p4 } 17 | L 4 130 -20 150 -20 {} 18 | T {zero} 125 -24 0 1 0.2 0.2 {} 19 | B 5 -152.5 -2.5 -147.5 2.5 {name=b_in[31:0] dir=in name=p2 } 20 | L 4 -150 0 -130 0 {} 21 | T {b_in[31:0]} -125 -4 0 0 0.2 0.2 {} 22 | B 5 147.5 -2.5 152.5 2.5 {name=c_out dir=out name=p5 } 23 | L 4 130 0 150 0 {} 24 | T {c_out} 125 -4 0 1 0.2 0.2 {} 25 | B 5 147.5 17.5 152.5 22.5 {name=y_out[31:0] dir=out name=p6 } 26 | L 4 130 20 150 20 {} 27 | T {y_out[31:0]} 125 16 0 1 0.2 0.2 {} 28 | B 5 -152.5 17.5 -147.5 22.5 {name=f_in[2:0] dir=in name=p3 } 29 | L 4 -150 20 -130 20 {} 30 | T {f_in[2:0]} -125 16 0 0 0.2 0.2 {} 31 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/mips_cpu/aludec.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2} 2 | K {type=subcircuit 3 | format="@name @pinlist @symname" 4 | template="name=x1" 5 | } 6 | 7 | T {@symname} -45 -6 0 0 0.3 0.3 {} 8 | T {@name} 135 -22 0 0 0.2 0.2 {} 9 | L 4 -130 -10 130 -10 {} 10 | L 4 -130 10 130 10 {} 11 | L 4 -130 -10 -130 10 {} 12 | L 4 130 -10 130 10 {} 13 | B 5 -152.5 -2.5 -147.5 2.5 {name=instr[31:0] dir=in name=p1 } 14 | L 4 -150 0 -130 0 {} 15 | T {instr[31:0]} -125 -4 0 0 0.2 0.2 {} 16 | B 5 147.5 -2.5 152.5 2.5 {name=alucontrol[2:0] verilog_type=reg dir=out name=p4 } 17 | L 4 130 0 150 0 {} 18 | T {alucontrol[2:0]} 125 -4 0 1 0.2 0.2 {} 19 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/mips_cpu/dmem.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2} 2 | K {type=subcircuit 3 | format="@name @pinlist @symname" 4 | template="name=x1" 5 | } 6 | 7 | T {@symname} -36 -6 0 0 0.3 0.3 {} 8 | T {@name} 135 -52 0 0 0.2 0.2 {} 9 | L 4 -130 -40 130 -40 {} 10 | L 4 -130 40 130 40 {} 11 | L 4 -130 -40 -130 40 {} 12 | L 4 130 -40 130 40 {} 13 | B 5 -152.5 -32.5 -147.5 -27.5 {name=clk dir=in name=p1 } 14 | L 4 -150 -30 -130 -30 {} 15 | T {clk} -125 -34 0 0 0.2 0.2 {} 16 | B 5 -152.5 -12.5 -147.5 -7.5 {name=we dir=in name=p10 } 17 | L 4 -150 -10 -130 -10 {} 18 | T {we} -125 -14 0 0 0.2 0.2 {} 19 | B 5 147.5 -32.5 152.5 -27.5 {name=rdata[31:0] dir=out name=p13 } 20 | L 4 130 -30 150 -30 {} 21 | T {rdata[31:0]} 125 -34 0 1 0.2 0.2 {} 22 | B 5 -152.5 7.5 -147.5 12.5 {name=addr[31:0] dir=in name=p11 } 23 | L 4 -150 10 -130 10 {} 24 | T {addr[31:0]} -125 6 0 0 0.2 0.2 {} 25 | B 5 -152.5 27.5 -147.5 32.5 {name=wdata[31:0] dir=in name=p12 } 26 | L 4 -150 30 -130 30 {} 27 | T {wdata[31:0]} -125 26 0 0 0.2 0.2 {} 28 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/mips_cpu/imem.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2} 2 | K {type=subcircuit 3 | format="@name @pinlist @symname" 4 | template="name=x1" 5 | } 6 | T {@symname} -36 -6 0 0 0.3 0.3 {} 7 | T {@name} 135 -22 0 0 0.2 0.2 {} 8 | L 4 -130 -10 130 -10 {} 9 | L 4 -130 10 130 10 {} 10 | L 4 -130 -10 -130 10 {} 11 | L 4 130 -10 130 10 {} 12 | B 5 147.5 -2.5 152.5 2.5 {name=data[31:0] verilog_type=reg dir=out name=p13 } 13 | L 4 130 0 150 0 {} 14 | T {data[31:0]} 125 -4 0 1 0.2 0.2 {} 15 | B 5 -152.5 -2.5 -147.5 2.5 {name=addr[5:0] dir=in name=p11 } 16 | L 4 -150 0 -130 0 {} 17 | T {addr[5:0]} -125 -4 0 0 0.2 0.2 {} 18 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/mips_cpu/maindec.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2} 2 | K {type=subcircuit 3 | format="@name @pinlist @symname" 4 | template="name=x1" 5 | } 6 | T {@symname} -49.5 -6 0 0 0.3 0.3 {} 7 | T {@name} 135 -82 0 0 0.2 0.2 {} 8 | L 4 -130 -70 130 -70 {} 9 | L 4 -130 70 130 70 {} 10 | L 4 -130 -70 -130 70 {} 11 | L 4 130 -70 130 70 {} 12 | B 5 -152.5 -62.5 -147.5 -57.5 {name=instr[31:0] dir=in name=p11 } 13 | L 4 -150 -60 -130 -60 {} 14 | T {instr[31:0]} -125 -64 0 0 0.2 0.2 {} 15 | B 5 147.5 -62.5 152.5 -57.5 {name=branch dir=out name=p1 } 16 | L 4 130 -60 150 -60 {} 17 | T {branch} 125 -64 0 1 0.2 0.2 {} 18 | B 5 147.5 -42.5 152.5 -37.5 {name=jump dir=out name=p2 } 19 | L 4 130 -40 150 -40 {} 20 | T {jump} 125 -44 0 1 0.2 0.2 {} 21 | B 5 147.5 -22.5 152.5 -17.5 {name=mem_to_reg dir=out name=p3 } 22 | L 4 130 -20 150 -20 {} 23 | T {mem_to_reg} 125 -24 0 1 0.2 0.2 {} 24 | B 5 147.5 -2.5 152.5 2.5 {name=mem_write dir=out name=p4 } 25 | L 4 130 0 150 0 {} 26 | T {mem_write} 125 -4 0 1 0.2 0.2 {} 27 | B 5 147.5 17.5 152.5 22.5 {name=reg_dst dir=out name=p5 } 28 | L 4 130 20 150 20 {} 29 | T {reg_dst} 125 16 0 1 0.2 0.2 {} 30 | B 5 147.5 37.5 152.5 42.5 {name=reg_write dir=out name=p6 } 31 | L 4 130 40 150 40 {} 32 | T {reg_write} 125 36 0 1 0.2 0.2 {} 33 | B 5 147.5 57.5 152.5 62.5 {name=alu_src dir=out name=p7 } 34 | L 4 130 60 150 60 {} 35 | T {alu_src} 125 56 0 1 0.2 0.2 {} 36 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/mips_cpu/mips.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2} 2 | K {type=subcircuit 3 | format="@name @pinlist @symname" 4 | template="name=x1" 5 | } 6 | 7 | T {@symname} -36 -6 0 0 0.3 0.3 {} 8 | T {@name} 135 -52 0 0 0.2 0.2 {} 9 | L 4 -130 -40 130 -40 {} 10 | L 4 -130 40 130 40 {} 11 | L 4 -130 -40 -130 40 {} 12 | L 4 130 -40 130 40 {} 13 | B 5 147.5 -32.5 152.5 -27.5 {name=imem_addr[31:0] dir=out name=p1 } 14 | L 4 130 -30 150 -30 {} 15 | T {imem_addr[31:0]} 125 -34 0 1 0.2 0.2 {} 16 | B 5 -152.5 -32.5 -147.5 -27.5 {name=clk dir=in name=p11 } 17 | L 4 -150 -30 -130 -30 {} 18 | T {clk} -125 -34 0 0 0.2 0.2 {} 19 | B 5 147.5 -12.5 152.5 -7.5 {name=dmem_we dir=out name=p5 } 20 | L 4 130 -10 150 -10 {} 21 | T {dmem_we} 125 -14 0 1 0.2 0.2 {} 22 | B 5 -152.5 -12.5 -147.5 -7.5 {name=rst dir=in name=p2 } 23 | L 4 -150 -10 -130 -10 {} 24 | T {rst} -125 -14 0 0 0.2 0.2 {} 25 | B 5 -152.5 7.5 -147.5 12.5 {name=imem_data[31:0] dir=in name=p3 } 26 | L 4 -150 10 -130 10 {} 27 | T {imem_data[31:0]} -125 6 0 0 0.2 0.2 {} 28 | B 5 147.5 7.5 152.5 12.5 {name=dmem_addr[31:0] dir=out name=p6 } 29 | L 4 130 10 150 10 {} 30 | T {dmem_addr[31:0]} 125 6 0 1 0.2 0.2 {} 31 | B 5 -152.5 27.5 -147.5 32.5 {name=dmem_rdata[31:0] dir=in name=p4 } 32 | L 4 -150 30 -130 30 {} 33 | T {dmem_rdata[31:0]} -125 26 0 0 0.2 0.2 {} 34 | B 5 147.5 27.5 152.5 32.5 {name=dmem_wdata[31:0] dir=out name=p7 } 35 | L 4 130 30 150 30 {} 36 | T {dmem_wdata[31:0]} 125 26 0 1 0.2 0.2 {} 37 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/mips_cpu/regfile.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2} 2 | K {type=subcircuit 3 | format="@name @pinlist @symname" 4 | template="name=x1" 5 | } 6 | 7 | T {@symname} -49.5 -6 0 0 0.3 0.3 {} 8 | T {@name} 135 -72 0 0 0.2 0.2 {} 9 | L 4 -130 -60 130 -60 {} 10 | L 4 -130 60 130 60 {} 11 | L 4 -130 -60 -130 60 {} 12 | L 4 130 -60 130 60 {} 13 | B 5 -152.5 -52.5 -147.5 -47.5 {name=clk dir=in name=p2 } 14 | L 4 -150 -50 -130 -50 {} 15 | T {clk} -125 -54 0 0 0.2 0.2 {} 16 | B 5 -152.5 -32.5 -147.5 -27.5 {name=addr1[4:0] dir=in name=p3 } 17 | L 4 -150 -30 -130 -30 {} 18 | T {addr1[4:0]} -125 -34 0 0 0.2 0.2 {} 19 | B 5 -152.5 -12.5 -147.5 -7.5 {name=addr2[4:0] dir=in name=p5 } 20 | L 4 -150 -10 -130 -10 {} 21 | T {addr2[4:0]} -125 -14 0 0 0.2 0.2 {} 22 | B 5 147.5 -52.5 152.5 -47.5 {name=data1[31:0] verilog_type=reg dir=out name=p6 } 23 | L 4 130 -50 150 -50 {} 24 | T {data1[31:0]} 125 -54 0 1 0.2 0.2 {} 25 | B 5 -152.5 7.5 -147.5 12.5 {name=rw dir=in name=p8 } 26 | L 4 -150 10 -130 10 {} 27 | T {rw} -125 6 0 0 0.2 0.2 {} 28 | B 5 147.5 -32.5 152.5 -27.5 {name=data2[31:0] verilog_type=reg dir=out name=p7 } 29 | L 4 130 -30 150 -30 {} 30 | T {data2[31:0]} 125 -34 0 1 0.2 0.2 {} 31 | B 5 -152.5 27.5 -147.5 32.5 {name=addr3[4:0] dir=in name=p4 } 32 | L 4 -150 30 -130 30 {} 33 | T {addr3[4:0]} -125 26 0 0 0.2 0.2 {} 34 | B 5 -152.5 47.5 -147.5 52.5 {name=wdata[31:0] dir=in name=p1 } 35 | L 4 -150 50 -130 50 {} 36 | T {wdata[31:0]} -125 46 0 0 0.2 0.2 {} 37 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/mips_cpu/sign_extend.sch: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Licensed under the Apache License, Version 2.0 (the "License"); 3 | * you may not use this file except in compliance with the License. 4 | * You may obtain a copy of the License at 5 | * 6 | * https://www.apache.org/licenses/LICENSE-2.0 7 | * 8 | * Unless required by applicable law or agreed to in writing, software 9 | * distributed under the License is distributed on an "AS IS" BASIS, 10 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | * See the License for the specific language governing permissions and 12 | * limitations under the License. 13 | 14 | } 15 | G {} 16 | K {} 17 | V { always @(idata) begin : proc_sign_extend 18 | odata = \{\{16\{idata[15]\}\}, idata\}; 19 | end 20 | } 21 | S {} 22 | E {} 23 | C {devices/title.sym} 160 -30 0 0 {name=l1 author="Stefan Schippers"} 24 | C {devices/opin.sym} 390 -120 0 0 {name=p7 lab=odata[31:0] verilog_type=reg} 25 | C {devices/ipin.sym} 160 -120 0 0 {name=p1 lab=idata[15:0]} 26 | C {devices/architecture.sym} 60 -310 0 0 { nothing here, use global schematic properties } 27 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/mips_cpu/sign_extend.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2} 2 | K {type=subcircuit 3 | format="@name @pinlist @symname" 4 | template="name=x1" 5 | } 6 | T {@symname} -67.5 -6 0 0 0.3 0.3 {} 7 | T {@name} 135 -22 0 0 0.2 0.2 {} 8 | L 4 -130 -10 130 -10 {} 9 | L 4 -130 10 130 10 {} 10 | L 4 -130 -10 -130 10 {} 11 | L 4 130 -10 130 10 {} 12 | B 5 -152.5 -2.5 -147.5 2.5 {name=idata[15:0] dir=in name=p1 } 13 | L 4 -150 0 -130 0 {} 14 | T {idata[15:0]} -125 -4 0 0 0.2 0.2 {} 15 | B 5 147.5 -2.5 152.5 2.5 {name=odata[31:0] verilog_type=reg dir=out name=p7 } 16 | L 4 130 0 150 0 {} 17 | T {odata[31:0]} 125 -4 0 1 0.2 0.2 {} 18 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/mips_cpu/tb.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2} 2 | G {} 3 | K {type=subcircuit 4 | format="@name @pinlist @symname" 5 | template="name=x1" 6 | } 7 | V {} 8 | S {} 9 | E {} 10 | L 4 -130 -10 130 -10 {} 11 | L 4 -130 10 130 10 {} 12 | L 4 -130 -10 -130 10 {} 13 | L 4 130 -10 130 10 {} 14 | T {mips_cpu testbench} -87 -6 0 0 0.3 0.3 {} 15 | T {@name} 135 -22 0 0 0.2 0.2 {} 16 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/mips_cpu/top.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2} 2 | K {type=subcircuit 3 | format="@name @pinlist @symname" 4 | template="name=x1" 5 | } 6 | 7 | T {@symname} -31.5 -6 0 0 0.3 0.3 {} 8 | T {@name} 135 -32 0 0 0.2 0.2 {} 9 | L 4 -130 -20 130 -20 {} 10 | L 4 -130 20 130 20 {} 11 | L 4 -130 -20 -130 20 {} 12 | L 4 130 -20 130 20 {} 13 | B 5 -152.5 -12.5 -147.5 -7.5 {name=clk dir=in name=p11 } 14 | L 4 -150 -10 -130 -10 {} 15 | T {clk} -125 -14 0 0 0.2 0.2 {} 16 | B 5 -152.5 7.5 -147.5 12.5 {name=reset dir=in name=p2 } 17 | L 4 -150 10 -130 10 {} 18 | T {reset} -125 6 0 0 0.2 0.2 {} 19 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/scripts/add_highlight_attr.awk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/awk -f 2 | 3 | # ... 4 | # K {type=primitive 5 | # format="@name @@A @@B @VGND @VNB @VPB @VPWR @@X @prefix\\\\or2_1" 6 | # template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 7 | # extra="VGND VNB VPB VPWR prefix"} 8 | # ... 9 | # 10 | # ==> 11 | # 12 | # ... 13 | # K {type=primitive 14 | # format="@name @@A @@B @VGND @VNB @VPB @VPWR @@X @prefix\\\\or2_1" 15 | # template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 16 | # extra="VGND VNB VPB VPWR prefix" 17 | # highlight=true} 18 | # ... 19 | # 20 | 21 | BEGIN{ 22 | while("ls *.sym"|getline f) { 23 | lines = 0 24 | global_attr = 0 25 | while(getline < f) { 26 | 27 | if($0 ~/} *$/ && global_attr == 1) { 28 | global_attr = 0 29 | sub(/} *$/, "\nhighlight=true}") 30 | } 31 | if($0 ~/^K {/) global_attr = 1 32 | celltext[lines] = $0 33 | lines++ 34 | print 35 | } 36 | close(f) 37 | 38 | for(i = 0 ; i < lines; i++) { 39 | $0 = celltext[i] 40 | print $0 > f 41 | } 42 | close(f) 43 | } 44 | close("ls *.sym") 45 | } 46 | 47 | 48 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/scripts/add_propagate_to.awk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/awk -f 2 | 3 | # ... 4 | # B 5 -62.5 -22.5 -57.5 -17.5 {name=A dir=in } 5 | # B 5 -62.5 17.5 -57.5 22.5 {name=B dir=in } 6 | # B 5 57.5 -2.5 62.5 2.5 {name=X dir=out } 7 | # ... 8 | # 9 | # ==> 10 | # 11 | # ... 12 | # B 5 -62.5 -22.5 -57.5 -17.5 {name=A dir=in propagate_to=2 } 13 | # B 5 -62.5 17.5 -57.5 22.5 {name=B dir=in propagate_to=2 } 14 | # B 5 57.5 -2.5 62.5 2.5 {name=X dir=out } 15 | # ... 16 | 17 | 18 | BEGIN{ 19 | outpin["X"] = outpin["Y"] = outpin["Z"] = 1 20 | while("ls *.sym"|getline f) { 21 | lines = 0 22 | pinnumber = 0 23 | propagate_to = -1 24 | delete celltext 25 | while(getline < f) { 26 | if($0 ~/^B 5.*name=.*dir=/) { 27 | pinname = get_pinname($0) 28 | # print f, pinname 29 | if(pinname in outpin) propagate_to = pinnumber 30 | pinnumber++ 31 | } 32 | celltext[lines] = $0 33 | lines++ 34 | } 35 | close(f) 36 | 37 | for(i = 0 ; i < lines; i++) { 38 | $0 = celltext[i] 39 | if($0 ~/^B 5.*name=.*dir=/) { 40 | pinname = get_pinname($0) 41 | if(!(pinname in outpin) && $0 !~/propagate_to/ && propagate_to >= 0) { 42 | sub(/ *} *$/, " propagate_to=" propagate_to " }") 43 | } 44 | } 45 | print $0 > f 46 | } 47 | close(f) 48 | } 49 | close("ls *.sym") 50 | } 51 | 52 | function get_pinname(pinname) 53 | { 54 | sub(/^.*name *= */,"", pinname) 55 | sub(/ +.*/,"", pinname) 56 | return pinname 57 | } 58 | 59 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/scripts/create_images.tcl: -------------------------------------------------------------------------------- 1 | ## xschem script to generate symbol images 2 | proc create_images {src dest format_list width height viewport} { 3 | # loop over image format list {svg png ps pdf} 4 | foreach type $format_list { 5 | # loop over all symbol files 6 | foreach i [glob $src/*.sym] { 7 | xschem clear_drawing 8 | # place symbol at 0,0 9 | xschem instance $i 0 0 0 0 {} 10 | # build image file name 11 | set imagefile $dest/[file rootname [file tail $i]].$type 12 | # generate image and save to disk 13 | eval xschem print $type $imagefile $width $height $viewport 14 | puts "creating: $imagefile" 15 | } 16 | } 17 | xschem clear_drawing 18 | xschem redraw 19 | } 20 | 21 | xschem toggle_colorscheme 22 | # src dir dst dir formats w h viewport 23 | create_images sky130_fd_pr sky130_fd_pr/doc { svg } 300 150 {-50 -50 150 50} 24 | xschem toggle_colorscheme 25 | 26 | ## to add transparent background: 27 | # 28 | # sed -i '/^\.l0/ a \ fill-opacity:0;' *.svg 29 | 30 | 31 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/scripts/create_png: -------------------------------------------------------------------------------- 1 | # in doc/ directories: 2 | for i in ../*.sym; do echo C {$i} 0 0 0 0 {} > `basename -s .sym $i`.sch; done 3 | for i in ./*.sch; do xschem $i --tcl='set initial_geometry 320x250' --png --plotfile `basename -s .sch $i`.png -r --quit; done 4 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/scripts/remove_empty_lines.awk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/awk -f 2 | 3 | FNR == 1 { 4 | if (_filename_ != "") 5 | endfile(_filename_) 6 | _filename_ = FILENAME 7 | #print "processing: " FILENAME >"/dev/stderr" 8 | beginfile(FILENAME) 9 | } 10 | 11 | END { endfile(_filename_) } 12 | 13 | ###### begin user code ######################## 14 | 15 | BEGIN{ 16 | } 17 | 18 | { 19 | if(FNR==2 && $0 ~/^ *$/) { 20 | found=1 21 | next 22 | } 23 | } 24 | 25 | 26 | ###### end user code ######################## 27 | 28 | 29 | { 30 | __a[__lines++] = $0 31 | } 32 | 33 | function beginfile(f) 34 | { 35 | __lines=0 36 | found=0 37 | } 38 | 39 | function endfile(f, i) 40 | { 41 | if(found) { 42 | print "patching: " f >"/dev/stderr" 43 | for(i=0;i<__lines;i++) 44 | { 45 | print __a[i] > f 46 | } 47 | close(f) 48 | } 49 | } 50 | 51 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/scripts/sky130_models.tcl: -------------------------------------------------------------------------------- 1 | 2 | 3 | # /home/schippes/projects/foundry/skywater-pdk/libraries/sky130_fd_sc_hd/latest 4 | proc sky130_models {} { 5 | global SKYWATER_STDCELLS 6 | set l {} 7 | if {![info exists SKYWATER_STDCELLS]} { 8 | puts "ERROR: SKYWATER_STDCELLS TCL variable undefined, please set in xschemrc and restart xschem" 9 | return {***** ERROR: missing TCL var SKYWATER_STDCELLS} 10 | } 11 | foreach i [xschem symbols] { 12 | if { [regexp {stdcells} $i] } { 13 | set cell [lindex ${i} 1] 14 | regsub {/latest *$} $SKYWATER_STDCELLS {} prefix 15 | regsub {.*/} $prefix {} prefix 16 | append prefix __ 17 | regsub {.*/} $cell {} cell 18 | regsub {\.sym} $cell {.spice} spice 19 | regsub {_[^_]+\.sym} $cell {} dir 20 | append l .include\ $SKYWATER_STDCELLS/cells/$dir/$prefix$spice\n 21 | } 22 | } 23 | return $l 24 | } 25 | 26 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_fd_pr/cap_mim_m3_1.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.0.0 file_version=1.2 } 2 | G {} 3 | K {type=capacitor 4 | format="@spiceprefix@name @pinlist sky130_fd_pr__@model W=@W L=@L MF=@MF m=@MF" 5 | template="name=C1 model=cap_mim_m3_1 W=1 L=1 MF=1 spiceprefix=X" 6 | } 7 | V {} 8 | S {} 9 | E {} 10 | L 4 0 2.5 0 30 {} 11 | L 4 0 -30 0 -5 {} 12 | L 4 -10 -5 10 -5 {} 13 | B 5 -2.5 -32.5 2.5 -27.5 {name=c0 dir=inout} 14 | B 5 -2.5 27.5 2.5 32.5 {name=c1 dir=inout} 15 | A 4 -0 23.75 21.25 61.92751306414704 56.14497387170592 {} 16 | T {c0} 5 -27.5 0 0 0.15 0.15 {layer=7} 17 | T {c1} 5 18.75 0 0 0.15 0.15 {layer=7} 18 | T {MF=@MF} 17.5 18.75 0 0 0.2 0.2 {layer=13} 19 | T {@name} 15 -28.75 0 0 0.2 0.2 {} 20 | T {@W / @L} 15 6.25 0 0 0.2 0.2 {layer=13} 21 | T {@model} 15 -11.25 0 0 0.2 0.2 {} 22 | T {tcleval(C=[ev \{@MF * (@W * @L * 2e-15 + ( @W + @L ) * 0.38e-15)\}])} -7.5 8.75 0 1 0.2 0.2 {layer=13} 23 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_fd_pr/cap_mim_m3_2.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | } 3 | G {} 4 | K {type=capacitor 5 | format="@spiceprefix@name @pinlist sky130_fd_pr__@model W=@W L=@L MF=@MF m=@MF" 6 | template="name=C1 model=cap_mim_m3_2 W=1 L=1 MF=1 spiceprefix=X" 7 | } 8 | V {} 9 | S {} 10 | E {} 11 | L 4 0 2.5 0 30 {} 12 | L 4 0 -30 0 -5 {} 13 | L 4 -10 -5 10 -5 {} 14 | B 5 -2.5 -32.5 2.5 -27.5 {name=c0 dir=inout} 15 | B 5 -2.5 27.5 2.5 32.5 {name=c1 dir=inout} 16 | A 4 -0 23.75 21.25 61.92751306414704 56.14497387170592 {} 17 | T {c0} 5 -27.5 0 0 0.15 0.15 {layer=7} 18 | T {c1} 5 18.75 0 0 0.15 0.15 {layer=7} 19 | T {m=@MF} 17.5 18.75 0 0 0.2 0.2 {layer=13} 20 | T {@name} 15 -28.75 0 0 0.2 0.2 {} 21 | T {@W / @L} 15 6.25 0 0 0.2 0.2 {layer=13} 22 | T {@model} 15 -11.25 0 0 0.2 0.2 {} 23 | T {tcleval(C=[ev \{@MF * (@W * @L * 2e-15 + ( @W + @L ) * 0.38e-15)\}])} -7.5 8.75 0 1 0.2 0.2 {layer=13} 24 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_fd_pr/cap_var_hvt.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.0.0 file_version=1.2 } 2 | G {} 3 | K {type=varactor 4 | format="@spiceprefix@name @pinlist sky130_fd_pr__@model W=@W L=@L VM=@VM" 5 | template="name=C1 model=cap_var_hvt W=0.5 L=0.5 VM=1 spiceprefix=X" 6 | } 7 | V {} 8 | S {} 9 | E {} 10 | L 4 0 2.5 0 30 {} 11 | L 4 0 -30 0 -5 {} 12 | L 4 -10 -5 10 -5 {} 13 | L 4 -15 20 0 20 {} 14 | L 4 -40 20 -25 20 {} 15 | L 4 -15 10 -15 30 {} 16 | B 5 -2.5 -32.5 2.5 -27.5 {name=c0 dir=inout} 17 | B 5 -2.5 27.5 2.5 32.5 {name=c1 dir=inout} 18 | B 5 -42.5 17.5 -37.5 22.5 {name=b dir=inout} 19 | A 4 -0 23.75 21.25 61.92751306414704 56.14497387170592 {} 20 | P 4 4 -15 20 -25 10 -25 30 -15 20 {fill=true} 21 | T {c0} 5 -27.5 0 0 0.15 0.15 {layer=7} 22 | T {c1} 5 18.75 0 0 0.15 0.15 {layer=7} 23 | T {n+} -10 10 0 0 0.15 0.15 {} 24 | T {b} -35 8.75 0 0 0.15 0.15 {layer=7} 25 | T {@name} 15 -28.75 0 0 0.2 0.2 {} 26 | T {@W / @L * @VM} 15 6.25 0 0 0.2 0.2 {layer=13} 27 | T {@model} 15 -11.25 0 0 0.2 0.2 {} 28 | T {tcleval(C=[ev \{@W * @L * 7.6e-15\}])} -5 -23.75 0 1 0.2 0.2 {layer=13} 29 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_fd_pr/cap_var_lvt.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.0.0 file_version=1.2 } 2 | G {} 3 | K {type=varactor 4 | format="@spiceprefix@name @pinlist sky130_fd_pr__@model W=@W L=@L VM=@VM m=@VM" 5 | template="name=C1 model=cap_var_lvt W=0.5 L=0.5 VM=1 spiceprefix=X" 6 | } 7 | V {} 8 | S {} 9 | E {} 10 | L 4 0 2.5 0 30 {} 11 | L 4 0 -30 0 -5 {} 12 | L 4 -10 -5 10 -5 {} 13 | L 4 -15 20 0 20 {} 14 | L 4 -40 20 -25 20 {} 15 | L 4 -15 10 -15 30 {} 16 | B 5 -2.5 -32.5 2.5 -27.5 {name=c0 dir=inout} 17 | B 5 -2.5 27.5 2.5 32.5 {name=c1 dir=inout} 18 | B 5 -42.5 17.5 -37.5 22.5 {name=b dir=inout} 19 | A 4 -0 23.75 21.25 61.92751306414704 56.14497387170592 {} 20 | P 4 4 -15 20 -25 10 -25 30 -15 20 {fill=true} 21 | T {c0} 5 -27.5 0 0 0.15 0.15 {layer=7} 22 | T {c1} 5 18.75 0 0 0.15 0.15 {layer=7} 23 | T {n+} -10 10 0 0 0.15 0.15 {} 24 | T {b} -35 8.75 0 0 0.15 0.15 {layer=7} 25 | T {@name} 15 -28.75 0 0 0.2 0.2 {} 26 | T {@W / @L * @VM} 15 6.25 0 0 0.2 0.2 {layer=13} 27 | T {@model} 15 -11.25 0 0 0.2 0.2 {} 28 | T {tcleval(C=[ev \{@VM * (@W * @L * 7.6e-15)\}])} -5 -23.75 0 1 0.2 0.2 {layer=13} 29 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_fd_pr/doc/devices.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/sky130_fd_pr/doc/devices.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/buf_1.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@A @VGND @VNB @VPB @VPWR @@X @prefix\\\\buf_1" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -20 -20 -20 20 {} 27 | L 4 -20 -20 20 0 {} 28 | L 4 -20 20 20 0 {} 29 | L 4 20 0 40 0 {} 30 | L 4 -40 0 -20 0 {} 31 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 32 | B 5 37.5 -2.5 42.5 2.5 {name=X dir=out } 33 | T {A} -35 -14 0 0 0.2 0.2 {} 34 | T {X} 35 -14 0 1 0.2 0.2 {} 35 | T {@name} 2.5 15 0 0 0.2 0.2 {} 36 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 37 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/buf_12.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@A @VGND @VNB @VPB @VPWR @@X @prefix\\\\buf_12" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -20 -20 -20 20 {} 27 | L 4 -20 -20 20 0 {} 28 | L 4 -20 20 20 0 {} 29 | L 4 20 0 40 0 {} 30 | L 4 -40 0 -20 0 {} 31 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 32 | B 5 37.5 -2.5 42.5 2.5 {name=X dir=out } 33 | T {A} -35 -14 0 0 0.2 0.2 {} 34 | T {X} 35 -14 0 1 0.2 0.2 {} 35 | T {@name} 2.5 15 0 0 0.2 0.2 {} 36 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 37 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/buf_16.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@A @VGND @VNB @VPB @VPWR @@X @prefix\\\\buf_16" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -20 -20 -20 20 {} 27 | L 4 -20 -20 20 0 {} 28 | L 4 -20 20 20 0 {} 29 | L 4 20 0 40 0 {} 30 | L 4 -40 0 -20 0 {} 31 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 32 | B 5 37.5 -2.5 42.5 2.5 {name=X dir=out } 33 | T {A} -35 -14 0 0 0.2 0.2 {} 34 | T {X} 35 -14 0 1 0.2 0.2 {} 35 | T {@name} 2.5 15 0 0 0.2 0.2 {} 36 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 37 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/buf_2.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {function1="0" 18 | type=primitive 19 | format="@name @@A @VGND @VNB @VPB @VPWR @@X @prefix\\\\buf_2" 20 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 21 | extra="VGND VNB VPB VPWR prefix" 22 | verilogprefix=sky130_fd_sc_hd__ 23 | highlight=true} 24 | V {} 25 | S {} 26 | E {} 27 | L 4 -20 -20 -20 20 {} 28 | L 4 -20 -20 20 0 {} 29 | L 4 -20 20 20 0 {} 30 | L 4 20 0 40 0 {} 31 | L 4 -40 0 -20 0 {} 32 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 33 | B 5 37.5 -2.5 42.5 2.5 {name=X dir=out } 34 | T {A} -35 -14 0 0 0.2 0.2 {} 35 | T {X} 35 -14 0 1 0.2 0.2 {} 36 | T {@name} 2.5 15 0 0 0.2 0.2 {} 37 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 38 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/buf_4.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | function1="0" 19 | format="@name @@A @VGND @VNB @VPB @VPWR @@X @prefix\\\\buf_4" 20 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 21 | extra="VGND VNB VPB VPWR prefix" 22 | verilogprefix=sky130_fd_sc_hd__ 23 | highlight=true} 24 | V {} 25 | S {} 26 | E {} 27 | L 4 -20 -20 -20 20 {} 28 | L 4 -20 -20 20 0 {} 29 | L 4 -20 20 20 0 {} 30 | L 4 20 0 40 0 {} 31 | L 4 -40 0 -20 0 {} 32 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 33 | B 5 37.5 -2.5 42.5 2.5 {name=X dir=out } 34 | T {A} -35 -14 0 0 0.2 0.2 {} 35 | T {X} 35 -14 0 1 0.2 0.2 {} 36 | T {@name} 2.5 15 0 0 0.2 0.2 {} 37 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 38 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/buf_6.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | function1="0" 19 | format="@name @@A @VGND @VNB @VPB @VPWR @@X @prefix\\\\buf_6" 20 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 21 | extra="VGND VNB VPB VPWR prefix" 22 | verilogprefix=sky130_fd_sc_hd__ 23 | highlight=true} 24 | V {} 25 | S {} 26 | E {} 27 | L 4 -20 -20 -20 20 {} 28 | L 4 -20 -20 20 0 {} 29 | L 4 -20 20 20 0 {} 30 | L 4 20 0 40 0 {} 31 | L 4 -40 0 -20 0 {} 32 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 33 | B 5 37.5 -2.5 42.5 2.5 {name=X dir=out } 34 | T {A} -35 -14 0 0 0.2 0.2 {} 35 | T {X} 35 -14 0 1 0.2 0.2 {} 36 | T {@name} 2.5 15 0 0 0.2 0.2 {} 37 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 38 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/buf_8.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | function1="0" 19 | format="@name @@A @VGND @VNB @VPB @VPWR @@X @prefix\\\\buf_8" 20 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 21 | extra="VGND VNB VPB VPWR prefix" 22 | verilogprefix=sky130_fd_sc_hd__ 23 | highlight=true} 24 | V {} 25 | S {} 26 | E {} 27 | L 4 -20 -20 -20 20 {} 28 | L 4 -20 -20 20 0 {} 29 | L 4 -20 20 20 0 {} 30 | L 4 20 0 40 0 {} 31 | L 4 -40 0 -20 0 {} 32 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 33 | B 5 37.5 -2.5 42.5 2.5 {name=X dir=out } 34 | T {A} -35 -14 0 0 0.2 0.2 {} 35 | T {X} 35 -14 0 1 0.2 0.2 {} 36 | T {@name} 2.5 15 0 0 0.2 0.2 {} 37 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 38 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/bufbuf_16.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@A @VGND @VNB @VPB @VPWR @@X @prefix\\\\bufbuf_16" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -5 -20 -5 20 {} 27 | L 4 -5 -20 25 0 {} 28 | L 4 -5 20 25 0 {} 29 | L 4 25 0 40 0 {} 30 | L 4 -20 -10 -20 10 {} 31 | L 4 -20 -10 -10 0 {} 32 | L 4 -20 10 -10 0 {} 33 | L 4 -10 0 -5 0 {} 34 | L 4 -40 0 -20 0 {} 35 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 36 | B 5 37.5 -2.5 42.5 2.5 {name=X dir=out } 37 | T {A} -35 -14 0 0 0.2 0.2 {} 38 | T {X} 35 -14 0 1 0.2 0.2 {} 39 | T {@name} 2.5 15 0 0 0.2 0.2 {} 40 | T {@symname} -7.5 -35 0 0 0.2 0.2 {} 41 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/bufbuf_8.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@A @VGND @VNB @VPB @VPWR @@X @prefix\\\\bufbuf_8" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -5 -20 -5 20 {} 27 | L 4 -5 -20 25 0 {} 28 | L 4 -5 20 25 0 {} 29 | L 4 25 0 40 0 {} 30 | L 4 -20 -10 -20 10 {} 31 | L 4 -20 -10 -10 0 {} 32 | L 4 -20 10 -10 0 {} 33 | L 4 -10 0 -5 0 {} 34 | L 4 -40 0 -20 0 {} 35 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 36 | B 5 37.5 -2.5 42.5 2.5 {name=X dir=out } 37 | T {A} -35 -14 0 0 0.2 0.2 {} 38 | T {X} 35 -14 0 1 0.2 0.2 {} 39 | T {@name} 2.5 15 0 0 0.2 0.2 {} 40 | T {@symname} -7.5 -35 0 0 0.2 0.2 {} 41 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/bufinv_16.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@A @VGND @VNB @VPB @VPWR @@Y @prefix\\\\bufinv_16" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -5 -20 -5 20 {} 27 | L 4 -5 -20 20 0 {} 28 | L 4 -5 20 20 0 {} 29 | L 4 -20 -10 -20 10 {} 30 | L 4 -20 -10 -10 0 {} 31 | L 4 -20 10 -10 0 {} 32 | L 4 -10 0 -5 0 {} 33 | L 4 -40 0 -20 0 {} 34 | L 4 30 0 40 0 {} 35 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 36 | B 5 37.5 -2.5 42.5 2.5 {name=Y dir=out } 37 | A 4 25 0 5 180 360 {} 38 | T {A} -35 -14 0 0 0.2 0.2 {} 39 | T {Y} 35 -14 0 1 0.2 0.2 {} 40 | T {@name} 2.5 15 0 0 0.2 0.2 {} 41 | T {@symname} 2.5 -25 0 0 0.2 0.2 {} 42 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/bufinv_8.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@A @VGND @VNB @VPB @VPWR @@Y @prefix\\\\bufinv_8" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -5 -20 -5 20 {} 27 | L 4 -5 -20 20 0 {} 28 | L 4 -5 20 20 0 {} 29 | L 4 -20 -10 -20 10 {} 30 | L 4 -20 -10 -10 0 {} 31 | L 4 -20 10 -10 0 {} 32 | L 4 -10 0 -5 0 {} 33 | L 4 -40 0 -20 0 {} 34 | L 4 30 0 40 0 {} 35 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 36 | B 5 37.5 -2.5 42.5 2.5 {name=Y dir=out } 37 | A 4 25 0 5 180 360 {} 38 | T {A} -35 -14 0 0 0.2 0.2 {} 39 | T {Y} 35 -14 0 1 0.2 0.2 {} 40 | T {@name} 2.5 15 0 0 0.2 0.2 {} 41 | T {@symname} 2.5 -25 0 0 0.2 0.2 {} 42 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/clkbuf_1.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | function1="0" 19 | format="@name @@A @VGND @VNB @VPB @VPWR @@X @prefix\\\\clkbuf_1" 20 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 21 | extra="VGND VNB VPB VPWR prefix" 22 | verilogprefix=sky130_fd_sc_hd__ 23 | highlight=true} 24 | V {} 25 | S {} 26 | E {} 27 | L 4 -20 -20 -20 20 {} 28 | L 4 -20 -20 20 0 {} 29 | L 4 -20 20 20 0 {} 30 | L 4 20 0 40 0 {} 31 | L 4 -40 0 -20 0 {} 32 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 33 | B 5 37.5 -2.5 42.5 2.5 {name=X dir=out } 34 | T {A} -35 -14 0 0 0.2 0.2 {} 35 | T {X} 35 -14 0 1 0.2 0.2 {} 36 | T {@name} 2.5 15 0 0 0.2 0.2 {} 37 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 38 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/clkbuf_16.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | function1="0" 19 | format="@name @@A @VGND @VNB @VPB @VPWR @@X @prefix\\\\clkbuf_16" 20 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 21 | extra="VGND VNB VPB VPWR prefix" 22 | verilogprefix=sky130_fd_sc_hd__ 23 | highlight=true} 24 | V {} 25 | S {} 26 | E {} 27 | L 4 -20 -20 -20 20 {} 28 | L 4 -20 -20 20 0 {} 29 | L 4 -20 20 20 0 {} 30 | L 4 20 0 40 0 {} 31 | L 4 -40 0 -20 0 {} 32 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 33 | B 5 37.5 -2.5 42.5 2.5 {name=X dir=out } 34 | T {A} -35 -14 0 0 0.2 0.2 {} 35 | T {X} 35 -14 0 1 0.2 0.2 {} 36 | T {@name} 2.5 15 0 0 0.2 0.2 {} 37 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 38 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/clkbuf_2.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | function1="0" 19 | format="@name @@A @VGND @VNB @VPB @VPWR @@X @prefix\\\\clkbuf_2" 20 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 21 | extra="VGND VNB VPB VPWR prefix" 22 | verilogprefix=sky130_fd_sc_hd__ 23 | highlight=true} 24 | V {} 25 | S {} 26 | E {} 27 | L 4 -20 -20 -20 20 {} 28 | L 4 -20 -20 20 0 {} 29 | L 4 -20 20 20 0 {} 30 | L 4 20 0 40 0 {} 31 | L 4 -40 0 -20 0 {} 32 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 33 | B 5 37.5 -2.5 42.5 2.5 {name=X dir=out } 34 | T {A} -35 -14 0 0 0.2 0.2 {} 35 | T {X} 35 -14 0 1 0.2 0.2 {} 36 | T {@name} 2.5 15 0 0 0.2 0.2 {} 37 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 38 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/clkbuf_4.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | function1="0" 19 | format="@name @@A @VGND @VNB @VPB @VPWR @@X @prefix\\\\clkbuf_4" 20 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 21 | extra="VGND VNB VPB VPWR prefix" 22 | verilogprefix=sky130_fd_sc_hd__ 23 | highlight=true} 24 | V {} 25 | S {} 26 | E {} 27 | L 4 -20 -20 -20 20 {} 28 | L 4 -20 -20 20 0 {} 29 | L 4 -20 20 20 0 {} 30 | L 4 20 0 40 0 {} 31 | L 4 -40 0 -20 0 {} 32 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 33 | B 5 37.5 -2.5 42.5 2.5 {name=X dir=out } 34 | T {A} -35 -14 0 0 0.2 0.2 {} 35 | T {X} 35 -14 0 1 0.2 0.2 {} 36 | T {@name} 2.5 15 0 0 0.2 0.2 {} 37 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 38 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/clkbuf_8.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@A @VGND @VNB @VPB @VPWR @@X @prefix\\\\clkbuf_8" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -20 -20 -20 20 {} 27 | L 4 -20 -20 20 0 {} 28 | L 4 -20 20 20 0 {} 29 | L 4 20 0 40 0 {} 30 | L 4 -40 0 -20 0 {} 31 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 32 | B 5 37.5 -2.5 42.5 2.5 {name=X dir=out } 33 | T {A} -35 -14 0 0 0.2 0.2 {} 34 | T {X} 35 -14 0 1 0.2 0.2 {} 35 | T {@name} 2.5 15 0 0 0.2 0.2 {} 36 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 37 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/clkinv_1.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@A @VGND @VNB @VPB @VPWR @@Y @prefix\\\\clkinv_1" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -20 -20 -20 20 {} 27 | L 4 -20 -20 20 0 {} 28 | L 4 -20 20 20 0 {} 29 | L 4 30 0 40 0 {} 30 | L 4 -40 0 -20 0 {} 31 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 32 | B 5 37.5 -2.5 42.5 2.5 {name=Y dir=out } 33 | A 4 25 0 5 180 360 {} 34 | T {A} -35 -14 0 0 0.2 0.2 {} 35 | T {Y} 35 -14 0 1 0.2 0.2 {} 36 | T {@name} 2.5 15 0 0 0.2 0.2 {} 37 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 38 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/clkinv_16.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@A @VGND @VNB @VPB @VPWR @@Y @prefix\\\\clkinv_16" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -20 -20 -20 20 {} 27 | L 4 -20 -20 20 0 {} 28 | L 4 -20 20 20 0 {} 29 | L 4 30 0 40 0 {} 30 | L 4 -40 0 -20 0 {} 31 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 32 | B 5 37.5 -2.5 42.5 2.5 {name=Y dir=out } 33 | A 4 25 0 5 180 360 {} 34 | T {A} -35 -14 0 0 0.2 0.2 {} 35 | T {Y} 35 -14 0 1 0.2 0.2 {} 36 | T {@name} 2.5 15 0 0 0.2 0.2 {} 37 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 38 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/clkinv_2.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | function1="0 ~" 19 | format="@name @@A @VGND @VNB @VPB @VPWR @@Y @prefix\\\\clkinv_2" 20 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 21 | extra="VGND VNB VPB VPWR prefix" 22 | verilogprefix=sky130_fd_sc_hd__ 23 | highlight=true} 24 | V {} 25 | S {} 26 | E {} 27 | L 4 -20 -20 -20 20 {} 28 | L 4 -20 -20 20 0 {} 29 | L 4 -20 20 20 0 {} 30 | L 4 30 0 40 0 {} 31 | L 4 -40 0 -20 0 {} 32 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 33 | B 5 37.5 -2.5 42.5 2.5 {name=Y dir=out } 34 | A 4 25 0 5 180 360 {} 35 | T {A} -35 -14 0 0 0.2 0.2 {} 36 | T {Y} 35 -14 0 1 0.2 0.2 {} 37 | T {@name} 2.5 15 0 0 0.2 0.2 {} 38 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 39 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/clkinv_4.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@A @VGND @VNB @VPB @VPWR @@Y @prefix\\\\clkinv_4" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -20 -20 -20 20 {} 27 | L 4 -20 -20 20 0 {} 28 | L 4 -20 20 20 0 {} 29 | L 4 30 0 40 0 {} 30 | L 4 -40 0 -20 0 {} 31 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 32 | B 5 37.5 -2.5 42.5 2.5 {name=Y dir=out } 33 | A 4 25 0 5 180 360 {} 34 | T {A} -35 -14 0 0 0.2 0.2 {} 35 | T {Y} 35 -14 0 1 0.2 0.2 {} 36 | T {@name} 2.5 15 0 0 0.2 0.2 {} 37 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 38 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/clkinv_8.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@A @VGND @VNB @VPB @VPWR @@Y @prefix\\\\clkinv_8" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -20 -20 -20 20 {} 27 | L 4 -20 -20 20 0 {} 28 | L 4 -20 20 20 0 {} 29 | L 4 30 0 40 0 {} 30 | L 4 -40 0 -20 0 {} 31 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 32 | B 5 37.5 -2.5 42.5 2.5 {name=Y dir=out } 33 | A 4 25 0 5 180 360 {} 34 | T {A} -35 -14 0 0 0.2 0.2 {} 35 | T {Y} 35 -14 0 1 0.2 0.2 {} 36 | T {@name} 2.5 15 0 0 0.2 0.2 {} 37 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 38 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/clkinvlp_2.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@A @VGND @VNB @VPB @VPWR @@Y @prefix\\\\clkinvlp_2" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -20 -20 -20 20 {} 27 | L 4 -20 -20 20 0 {} 28 | L 4 -20 20 20 0 {} 29 | L 4 30 0 40 0 {} 30 | L 4 -40 0 -20 0 {} 31 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 32 | B 5 37.5 -2.5 42.5 2.5 {name=Y dir=out } 33 | A 4 25 0 5 180 360 {} 34 | T {A} -35 -14 0 0 0.2 0.2 {} 35 | T {Y} 35 -14 0 1 0.2 0.2 {} 36 | T {@name} 2.5 15 0 0 0.2 0.2 {} 37 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 38 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/clkinvlp_4.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@A @VGND @VNB @VPB @VPWR @@Y @prefix\\\\clkinvlp_4" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -20 -20 -20 20 {} 27 | L 4 -20 -20 20 0 {} 28 | L 4 -20 20 20 0 {} 29 | L 4 30 0 40 0 {} 30 | L 4 -40 0 -20 0 {} 31 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 32 | B 5 37.5 -2.5 42.5 2.5 {name=Y dir=out } 33 | A 4 25 0 5 180 360 {} 34 | T {A} -35 -14 0 0 0.2 0.2 {} 35 | T {Y} 35 -14 0 1 0.2 0.2 {} 36 | T {@name} 2.5 15 0 0 0.2 0.2 {} 37 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 38 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/conb_1.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | function0="H" 19 | function1="L" 20 | format="@name @VGND @VNB @VPB @VPWR @@HI @@LO @prefix\\\\conb_1" 21 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 22 | extra="VGND VNB VPB VPWR prefix" 23 | verilogprefix=sky130_fd_sc_hd__ 24 | highlight=true} 25 | V {} 26 | S {} 27 | E {} 28 | L 4 -20 -30 40 -30 {} 29 | L 4 -20 30 40 30 {} 30 | L 4 -20 -30 -20 30 {} 31 | L 4 40 -30 40 30 {} 32 | L 4 40 -20 60 -20 {} 33 | L 4 40 20 60 20 {} 34 | B 5 57.5 -22.5 62.5 -17.5 {name=HI dir=out goto=0 propag=0} 35 | B 5 57.5 17.5 62.5 22.5 {name=LO dir=out goto=1 propag=1} 36 | T {@symname} -10 -56 0 0 0.3 0.3 {hcenter=true} 37 | T {@name} 45 -42 0 0 0.2 0.2 {} 38 | T {HI} 35 -24 0 1 0.2 0.2 {} 39 | T {LO} 35 16 0 1 0.2 0.2 {} 40 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/decap_12.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | K {type=primitive 17 | format="@name @VGND @VNB @VPB @VPWR @prefix\\\\decap_12" 18 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 19 | extra="VGND VNB VPB VPWR prefix" 20 | verilogprefix=sky130_fd_sc_hd__ 21 | highlight=true} 22 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 23 | T {@name} 75 -22 0 0 0.2 0.2 {} 24 | L 4 -70 -10 70 -10 {} 25 | L 4 -70 10 70 10 {} 26 | L 4 -70 -10 -70 10 {} 27 | L 4 70 -10 70 10 {} 28 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/decap_3.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | K {type=primitive 17 | format="@name @VGND @VNB @VPB @VPWR @prefix\\\\decap_3" 18 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 19 | extra="VGND VNB VPB VPWR prefix" 20 | verilogprefix=sky130_fd_sc_hd__ 21 | highlight=true} 22 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 23 | T {@name} 75 -22 0 0 0.2 0.2 {} 24 | L 4 -70 -10 70 -10 {} 25 | L 4 -70 10 70 10 {} 26 | L 4 -70 -10 -70 10 {} 27 | L 4 70 -10 70 10 {} 28 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/decap_4.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | K {type=primitive 17 | format="@name @VGND @VNB @VPB @VPWR @prefix\\\\decap_4" 18 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 19 | extra="VGND VNB VPB VPWR prefix" 20 | verilogprefix=sky130_fd_sc_hd__ 21 | highlight=true} 22 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 23 | T {@name} 75 -22 0 0 0.2 0.2 {} 24 | L 4 -70 -10 70 -10 {} 25 | L 4 -70 10 70 10 {} 26 | L 4 -70 -10 -70 10 {} 27 | L 4 70 -10 70 10 {} 28 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/decap_6.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | K {type=primitive 17 | format="@name @VGND @VNB @VPB @VPWR @prefix\\\\decap_6" 18 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 19 | extra="VGND VNB VPB VPWR prefix" 20 | verilogprefix=sky130_fd_sc_hd__ 21 | highlight=true} 22 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 23 | T {@name} 75 -22 0 0 0.2 0.2 {} 24 | L 4 -70 -10 70 -10 {} 25 | L 4 -70 10 70 10 {} 26 | L 4 -70 -10 -70 10 {} 27 | L 4 70 -10 70 10 {} 28 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/decap_8.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | K {type=primitive 17 | format="@name @VGND @VNB @VPB @VPWR @prefix\\\\decap_8" 18 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 19 | extra="VGND VNB VPB VPWR prefix" 20 | verilogprefix=sky130_fd_sc_hd__ 21 | highlight=true} 22 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 23 | T {@name} 75 -22 0 0 0.2 0.2 {} 24 | L 4 -70 -10 70 -10 {} 25 | L 4 -70 10 70 10 {} 26 | L 4 -70 -10 -70 10 {} 27 | L 4 70 -10 70 10 {} 28 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/diode_2.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | K {type=primitive 17 | format="@name @@DIODE @VGND @VNB @VPB @VPWR @prefix\\\\diode_2" 18 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 19 | extra="VGND VNB VPB VPWR prefix" 20 | verilogprefix=sky130_fd_sc_hd__ 21 | } 22 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 23 | T {@name} 75 -22 0 0 0.2 0.2 {} 24 | L 4 -70 -10 70 -10 {} 25 | L 4 -70 10 70 10 {} 26 | L 4 -70 -10 -70 10 {} 27 | L 4 70 -10 70 10 {} 28 | B 5 -92.5 -2.5 -87.5 2.5 {name=DIODE dir=in } 29 | L 4 -90 0 -70 0 {} 30 | T {DIODE} -65 -4 0 0 0.2 0.2 {} 31 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/dlclkp_1.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | K {type=primitive 17 | format="@name @@CLK @@GATE @VGND @VNB @VPB @VPWR @@GCLK @prefix\\\\dlclkp_1" 18 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 19 | extra="VGND VNB VPB VPWR prefix" 20 | verilogprefix=sky130_fd_sc_hd__ 21 | } 22 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 23 | T {@name} 75 -32 0 0 0.2 0.2 {} 24 | L 4 -70 -20 70 -20 {} 25 | L 4 -70 20 70 20 {} 26 | L 4 -70 -20 -70 20 {} 27 | L 4 70 -20 70 20 {} 28 | B 5 -92.5 -12.5 -87.5 -7.5 {name=CLK dir=in } 29 | L 4 -90 -10 -70 -10 {} 30 | T {CLK} -65 -14 0 0 0.2 0.2 {} 31 | B 5 -92.5 7.5 -87.5 12.5 {name=GATE dir=in } 32 | L 4 -90 10 -70 10 {} 33 | T {GATE} -65 6 0 0 0.2 0.2 {} 34 | B 5 87.5 -12.5 92.5 -7.5 {name=GCLK dir=out } 35 | L 4 70 -10 90 -10 {} 36 | T {GCLK} 65 -14 0 1 0.2 0.2 {} 37 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/dlclkp_2.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | K {type=primitive 17 | format="@name @@CLK @@GATE @VGND @VNB @VPB @VPWR @@GCLK @prefix\\\\dlclkp_2" 18 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 19 | extra="VGND VNB VPB VPWR prefix" 20 | verilogprefix=sky130_fd_sc_hd__ 21 | } 22 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 23 | T {@name} 75 -32 0 0 0.2 0.2 {} 24 | L 4 -70 -20 70 -20 {} 25 | L 4 -70 20 70 20 {} 26 | L 4 -70 -20 -70 20 {} 27 | L 4 70 -20 70 20 {} 28 | B 5 -92.5 -12.5 -87.5 -7.5 {name=CLK dir=in } 29 | L 4 -90 -10 -70 -10 {} 30 | T {CLK} -65 -14 0 0 0.2 0.2 {} 31 | B 5 -92.5 7.5 -87.5 12.5 {name=GATE dir=in } 32 | L 4 -90 10 -70 10 {} 33 | T {GATE} -65 6 0 0 0.2 0.2 {} 34 | B 5 87.5 -12.5 92.5 -7.5 {name=GCLK dir=out } 35 | L 4 70 -10 90 -10 {} 36 | T {GCLK} 65 -14 0 1 0.2 0.2 {} 37 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/dlclkp_4.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | K {type=primitive 17 | format="@name @@CLK @@GATE @VGND @VNB @VPB @VPWR @@GCLK @prefix\\\\dlclkp_4" 18 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 19 | extra="VGND VNB VPB VPWR prefix" 20 | verilogprefix=sky130_fd_sc_hd__ 21 | } 22 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 23 | T {@name} 75 -32 0 0 0.2 0.2 {} 24 | L 4 -70 -20 70 -20 {} 25 | L 4 -70 20 70 20 {} 26 | L 4 -70 -20 -70 20 {} 27 | L 4 70 -20 70 20 {} 28 | B 5 -92.5 -12.5 -87.5 -7.5 {name=CLK dir=in } 29 | L 4 -90 -10 -70 -10 {} 30 | T {CLK} -65 -14 0 0 0.2 0.2 {} 31 | B 5 -92.5 7.5 -87.5 12.5 {name=GATE dir=in } 32 | L 4 -90 10 -70 10 {} 33 | T {GATE} -65 6 0 0 0.2 0.2 {} 34 | B 5 87.5 -12.5 92.5 -7.5 {name=GCLK dir=out } 35 | L 4 70 -10 90 -10 {} 36 | T {GCLK} 65 -14 0 1 0.2 0.2 {} 37 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/dlxtn_2.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | K {type=primitive 17 | format="@name @@D @@GATE_N @VGND @VNB @VPB @VPWR @@Q @prefix\\\\dlxtn_2" 18 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 19 | extra="VGND VNB VPB VPWR prefix" 20 | verilogprefix=sky130_fd_sc_hd__ 21 | } 22 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 23 | T {@name} 75 -32 0 0 0.2 0.2 {} 24 | L 4 -70 -20 70 -20 {} 25 | L 4 -70 20 70 20 {} 26 | L 4 -70 -20 -70 20 {} 27 | L 4 70 -20 70 20 {} 28 | B 5 -92.5 -12.5 -87.5 -7.5 {name=D dir=in } 29 | L 4 -90 -10 -70 -10 {} 30 | T {D} -65 -14 0 0 0.2 0.2 {} 31 | B 5 -92.5 7.5 -87.5 12.5 {name=GATE_N dir=in } 32 | L 4 -90 10 -70 10 {} 33 | T {GATE_N} -65 6 0 0 0.2 0.2 {} 34 | B 5 87.5 -12.5 92.5 -7.5 {name=Q dir=out } 35 | L 4 70 -10 90 -10 {} 36 | T {Q} 65 -14 0 1 0.2 0.2 {} 37 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/dlxtn_4.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | K {type=primitive 17 | format="@name @@D @@GATE_N @VGND @VNB @VPB @VPWR @@Q @prefix\\\\dlxtn_4" 18 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 19 | extra="VGND VNB VPB VPWR prefix" 20 | verilogprefix=sky130_fd_sc_hd__ 21 | } 22 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 23 | T {@name} 75 -32 0 0 0.2 0.2 {} 24 | L 4 -70 -20 70 -20 {} 25 | L 4 -70 20 70 20 {} 26 | L 4 -70 -20 -70 20 {} 27 | L 4 70 -20 70 20 {} 28 | B 5 -92.5 -12.5 -87.5 -7.5 {name=D dir=in } 29 | L 4 -90 -10 -70 -10 {} 30 | T {D} -65 -14 0 0 0.2 0.2 {} 31 | B 5 -92.5 7.5 -87.5 12.5 {name=GATE_N dir=in } 32 | L 4 -90 10 -70 10 {} 33 | T {GATE_N} -65 6 0 0 0.2 0.2 {} 34 | B 5 87.5 -12.5 92.5 -7.5 {name=Q dir=out } 35 | L 4 70 -10 90 -10 {} 36 | T {Q} 65 -14 0 1 0.2 0.2 {} 37 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/doc/test_sim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/sky130_stdcells/doc/test_sim.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/fill_1.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | K {type=primitive 17 | format="@name @VGND @VNB @VPB @VPWR @prefix\\\\fill_1" 18 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 19 | extra="VGND VNB VPB VPWR prefix" 20 | verilogprefix=sky130_fd_sc_hd__ 21 | highlight=true} 22 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 23 | T {@name} 75 -22 0 0 0.2 0.2 {} 24 | L 4 -70 -10 70 -10 {} 25 | L 4 -70 10 70 10 {} 26 | L 4 -70 -10 -70 10 {} 27 | L 4 70 -10 70 10 {} 28 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/fill_2.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | K {type=primitive 17 | format="@name @VGND @VNB @VPB @VPWR @prefix\\\\fill_2" 18 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 19 | extra="VGND VNB VPB VPWR prefix" 20 | verilogprefix=sky130_fd_sc_hd__ 21 | highlight=true} 22 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 23 | T {@name} 75 -22 0 0 0.2 0.2 {} 24 | L 4 -70 -10 70 -10 {} 25 | L 4 -70 10 70 10 {} 26 | L 4 -70 -10 -70 10 {} 27 | L 4 70 -10 70 10 {} 28 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/fill_4.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | K {type=primitive 17 | format="@name @VGND @VNB @VPB @VPWR @prefix\\\\fill_4" 18 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 19 | extra="VGND VNB VPB VPWR prefix" 20 | verilogprefix=sky130_fd_sc_hd__ 21 | highlight=true} 22 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 23 | T {@name} 75 -22 0 0 0.2 0.2 {} 24 | L 4 -70 -10 70 -10 {} 25 | L 4 -70 10 70 10 {} 26 | L 4 -70 -10 -70 10 {} 27 | L 4 70 -10 70 10 {} 28 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/fill_8.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | K {type=primitive 17 | format="@name @VGND @VNB @VPB @VPWR @prefix\\\\fill_8" 18 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 19 | extra="VGND VNB VPB VPWR prefix" 20 | verilogprefix=sky130_fd_sc_hd__ 21 | highlight=true} 22 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 23 | T {@name} 75 -22 0 0 0.2 0.2 {} 24 | L 4 -70 -10 70 -10 {} 25 | L 4 -70 10 70 10 {} 26 | L 4 -70 -10 -70 10 {} 27 | L 4 70 -10 70 10 {} 28 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/inv_1.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | function1="0 ~" 19 | format="@name @@A @VGND @VNB @VPB @VPWR @@Y @prefix\\\\inv_1" 20 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 21 | extra="VGND VNB VPB VPWR prefix" 22 | verilogprefix=sky130_fd_sc_hd__ 23 | highlight=true 24 | } 25 | V {} 26 | S {} 27 | E {} 28 | L 4 -20 -20 -20 20 {} 29 | L 4 -20 -20 20 0 {} 30 | L 4 -20 20 20 0 {} 31 | L 4 30 0 40 0 {} 32 | L 4 -40 0 -20 0 {} 33 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1} 34 | B 5 37.5 -2.5 42.5 2.5 {name=Y dir=out } 35 | A 4 25 0 5 180 360 {} 36 | T {A} -35 -14 0 0 0.2 0.2 {} 37 | T {Y} 36.25 -14 0 1 0.2 0.2 {} 38 | T {@name} 2.5 15 0 0 0.2 0.2 {} 39 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 40 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/inv_12.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@A @VGND @VNB @VPB @VPWR @@Y @prefix\\\\inv_12" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -20 -20 -20 20 {} 27 | L 4 -20 -20 20 0 {} 28 | L 4 -20 20 20 0 {} 29 | L 4 30 0 40 0 {} 30 | L 4 -40 0 -20 0 {} 31 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 32 | B 5 37.5 -2.5 42.5 2.5 {name=Y dir=out } 33 | A 4 25 0 5 180 360 {} 34 | T {A} -35 -14 0 0 0.2 0.2 {} 35 | T {Y} 35 -14 0 1 0.2 0.2 {} 36 | T {@name} 2.5 15 0 0 0.2 0.2 {} 37 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 38 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/inv_16.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@A @VGND @VNB @VPB @VPWR @@Y @prefix\\\\inv_16" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -20 -20 -20 20 {} 27 | L 4 -20 -20 20 0 {} 28 | L 4 -20 20 20 0 {} 29 | L 4 30 0 40 0 {} 30 | L 4 -40 0 -20 0 {} 31 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 32 | B 5 37.5 -2.5 42.5 2.5 {name=Y dir=out } 33 | A 4 25 0 5 180 360 {} 34 | T {A} -35 -14 0 0 0.2 0.2 {} 35 | T {Y} 35 -14 0 1 0.2 0.2 {} 36 | T {@name} 2.5 15 0 0 0.2 0.2 {} 37 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 38 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/inv_2.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | function1="0 ~" 19 | format="@name @@A @VGND @VNB @VPB @VPWR @@Y @prefix\\\\inv_2" 20 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 21 | extra="VGND VNB VPB VPWR prefix" 22 | verilogprefix=sky130_fd_sc_hd__ 23 | highlight=true} 24 | V {} 25 | S {} 26 | E {} 27 | L 4 -20 -20 -20 20 {} 28 | L 4 -20 -20 20 0 {} 29 | L 4 -20 20 20 0 {} 30 | L 4 30 0 40 0 {} 31 | L 4 -40 0 -20 0 {} 32 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 33 | B 5 37.5 -2.5 42.5 2.5 {name=Y dir=out } 34 | A 4 25 0 5 180 360 {} 35 | T {A} -35 -14 0 0 0.2 0.2 {} 36 | T {Y} 35 -14 0 1 0.2 0.2 {} 37 | T {@name} 2.5 15 0 0 0.2 0.2 {} 38 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 39 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/inv_4.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@A @VGND @VNB @VPB @VPWR @@Y @prefix\\\\inv_4" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -20 -20 -20 20 {} 27 | L 4 -20 -20 20 0 {} 28 | L 4 -20 20 20 0 {} 29 | L 4 30 0 40 0 {} 30 | L 4 -40 0 -20 0 {} 31 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 32 | B 5 37.5 -2.5 42.5 2.5 {name=Y dir=out } 33 | A 4 25 0 5 180 360 {} 34 | T {A} -35 -14 0 0 0.2 0.2 {} 35 | T {Y} 35 -14 0 1 0.2 0.2 {} 36 | T {@name} 2.5 15 0 0 0.2 0.2 {} 37 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 38 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/inv_6.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@A @VGND @VNB @VPB @VPWR @@Y @prefix\\\\inv_6" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -20 -20 -20 20 {} 27 | L 4 -20 -20 20 0 {} 28 | L 4 -20 20 20 0 {} 29 | L 4 30 0 40 0 {} 30 | L 4 -40 0 -20 0 {} 31 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 32 | B 5 37.5 -2.5 42.5 2.5 {name=Y dir=out } 33 | A 4 25 0 5 180 360 {} 34 | T {A} -35 -14 0 0 0.2 0.2 {} 35 | T {Y} 35 -14 0 1 0.2 0.2 {} 36 | T {@name} 2.5 15 0 0 0.2 0.2 {} 37 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 38 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/inv_8.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@A @VGND @VNB @VPB @VPWR @@Y @prefix\\\\inv_8" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -20 -20 -20 20 {} 27 | L 4 -20 -20 20 0 {} 28 | L 4 -20 20 20 0 {} 29 | L 4 30 0 40 0 {} 30 | L 4 -40 0 -20 0 {} 31 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in goto=1 propag=1 } 32 | B 5 37.5 -2.5 42.5 2.5 {name=Y dir=out } 33 | A 4 25 0 5 180 360 {} 34 | T {A} -35 -14 0 0 0.2 0.2 {} 35 | T {Y} 35 -14 0 1 0.2 0.2 {} 36 | T {@name} 2.5 15 0 0 0.2 0.2 {} 37 | T {@symname} -7.5 -25 0 0 0.2 0.2 {} 38 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/lpflow_bleeder_1.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@SHORT @VGND @VNB @VPB @VPWR @prefix\\\\lpflow_bleeder_1" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -70 -10 70 -10 {} 27 | L 4 -70 10 70 10 {} 28 | L 4 -70 -10 -70 10 {} 29 | L 4 70 -10 70 10 {} 30 | L 4 -90 0 -70 0 {} 31 | B 5 -92.5 -2.5 -87.5 2.5 {name=SHORT dir=in } 32 | T {@symname} 0 -31 0 0 0.3 0.3 {hcenter=true} 33 | T {@name} 75 -22 0 0 0.2 0.2 {} 34 | T {SHORT} -65 -4 0 0 0.2 0.2 {} 35 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/lpflow_decapkapwr_12.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@KAPWR @VGND @VNB @VPB @VPWR @prefix\\\\lpflow_decapkapwr_12" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -70 -10 70 -10 {} 27 | L 4 -70 10 70 10 {} 28 | L 4 -70 -10 -70 10 {} 29 | L 4 70 -10 70 10 {} 30 | L 4 -90 0 -70 0 {} 31 | B 5 -92.5 -2.5 -87.5 2.5 {name=KAPWR dir=in } 32 | T {@symname} 0 -36 0 0 0.3 0.3 {hcenter=true} 33 | T {@name} 75 -22 0 0 0.2 0.2 {} 34 | T {KAPWR} -65 -4 0 0 0.2 0.2 {} 35 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/lpflow_decapkapwr_3.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@KAPWR @VGND @VNB @VPB @VPWR @prefix\\\\lpflow_decapkapwr_3" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -70 -10 70 -10 {} 27 | L 4 -70 10 70 10 {} 28 | L 4 -70 -10 -70 10 {} 29 | L 4 70 -10 70 10 {} 30 | L 4 -90 0 -70 0 {} 31 | B 5 -92.5 -2.5 -87.5 2.5 {name=KAPWR dir=in } 32 | T {@symname} 0 -36 0 0 0.3 0.3 {hcenter=true} 33 | T {@name} 75 -22 0 0 0.2 0.2 {} 34 | T {KAPWR} -65 -4 0 0 0.2 0.2 {} 35 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/lpflow_decapkapwr_4.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@KAPWR @VGND @VNB @VPB @VPWR @prefix\\\\lpflow_decapkapwr_4" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -70 -10 70 -10 {} 27 | L 4 -70 10 70 10 {} 28 | L 4 -70 -10 -70 10 {} 29 | L 4 70 -10 70 10 {} 30 | L 4 -90 0 -70 0 {} 31 | B 5 -92.5 -2.5 -87.5 2.5 {name=KAPWR dir=in } 32 | T {@symname} 0 -36 0 0 0.3 0.3 {hcenter=true} 33 | T {@name} 75 -22 0 0 0.2 0.2 {} 34 | T {KAPWR} -65 -4 0 0 0.2 0.2 {} 35 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/lpflow_decapkapwr_6.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@KAPWR @VGND @VNB @VPB @VPWR @prefix\\\\lpflow_decapkapwr_6" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -70 -10 70 -10 {} 27 | L 4 -70 10 70 10 {} 28 | L 4 -70 -10 -70 10 {} 29 | L 4 70 -10 70 10 {} 30 | L 4 -90 0 -70 0 {} 31 | B 5 -92.5 -2.5 -87.5 2.5 {name=KAPWR dir=in } 32 | T {@symname} 0 -36 0 0 0.3 0.3 {hcenter=true} 33 | T {@name} 75 -22 0 0 0.2 0.2 {} 34 | T {KAPWR} -65 -4 0 0 0.2 0.2 {} 35 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/lpflow_decapkapwr_8.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @@KAPWR @VGND @VNB @VPB @VPWR @prefix\\\\lpflow_decapkapwr_8" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -70 -10 70 -10 {} 27 | L 4 -70 10 70 10 {} 28 | L 4 -70 -10 -70 10 {} 29 | L 4 70 -10 70 10 {} 30 | L 4 -90 0 -70 0 {} 31 | B 5 -92.5 -2.5 -87.5 2.5 {name=KAPWR dir=in } 32 | T {@symname} 0 -36 0 0 0.3 0.3 {hcenter=true} 33 | T {@name} 75 -22 0 0 0.2 0.2 {} 34 | T {KAPWR} -65 -4 0 0 0.2 0.2 {} 35 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/macro_sparecell.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | G {} 17 | K {type=primitive 18 | format="@name @VGND @VNB @VPB @VPWR @@LO @prefix\\\\macro_sparecell" 19 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 20 | extra="VGND VNB VPB VPWR prefix" 21 | verilogprefix=sky130_fd_sc_hd__ 22 | highlight=true} 23 | V {} 24 | S {} 25 | E {} 26 | L 4 -70 -10 70 -10 {} 27 | L 4 -70 10 70 10 {} 28 | L 4 -70 -10 -70 10 {} 29 | L 4 70 -10 70 10 {} 30 | L 4 70 0 90 0 {} 31 | B 5 87.5 -2.5 92.5 2.5 {name=LO dir=out } 32 | T {@symname} 0 -36 0 0 0.3 0.3 {hcenter=true} 33 | T {@name} 75 -22 0 0 0.2 0.2 {} 34 | T {LO} 65 -4 0 1 0.2 0.2 {} 35 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/probe_p_8.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | K {type=primitive 17 | format="@name @@A @VGND @VNB @VPB @VPWR @@X @prefix\\\\probe_p_8" 18 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 19 | extra="VGND VNB VPB VPWR prefix" 20 | verilogprefix=sky130_fd_sc_hd__ 21 | highlight=true} 22 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 23 | T {@name} 75 -22 0 0 0.2 0.2 {} 24 | L 4 -70 -10 70 -10 {} 25 | L 4 -70 10 70 10 {} 26 | L 4 -70 -10 -70 10 {} 27 | L 4 70 -10 70 10 {} 28 | B 5 -92.5 -2.5 -87.5 2.5 {name=A dir=in goto=1 propag=1 } 29 | L 4 -90 0 -70 0 {} 30 | T {A} -65 -4 0 0 0.2 0.2 {} 31 | B 5 87.5 -2.5 92.5 2.5 {name=X dir=out } 32 | L 4 70 0 90 0 {} 33 | T {X} 65 -4 0 1 0.2 0.2 {} 34 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/probec_p_8.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | K {type=primitive 17 | format="@name @@A @VGND @VNB @VPB @VPWR @@X @prefix\\\\probec_p_8" 18 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 19 | extra="VGND VNB VPB VPWR prefix" 20 | verilogprefix=sky130_fd_sc_hd__ 21 | highlight=true} 22 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 23 | T {@name} 75 -22 0 0 0.2 0.2 {} 24 | L 4 -70 -10 70 -10 {} 25 | L 4 -70 10 70 10 {} 26 | L 4 -70 -10 -70 10 {} 27 | L 4 70 -10 70 10 {} 28 | B 5 -92.5 -2.5 -87.5 2.5 {name=A dir=in goto=1 propag=1 } 29 | L 4 -90 0 -70 0 {} 30 | T {A} -65 -4 0 0 0.2 0.2 {} 31 | B 5 87.5 -2.5 92.5 2.5 {name=X dir=out } 32 | L 4 70 0 90 0 {} 33 | T {X} 65 -4 0 1 0.2 0.2 {} 34 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/scripts/place_all_gates.awk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/awk -f 2 | 3 | 4 | BEGIN { 5 | 6 | skywater_dir = "/home/schippes/skywater-pdk/sky130_fd_sc_hd/" 7 | xschem_dir="/home/schippes/.xschem/xschem_library/xschem_sky130/sky130_stdcells/" 8 | 9 | pipe = "ls " xschem_dir "*.sym|sort" 10 | # /home/schippes/skywater-pdk/sky130_fd_sc_hd/cells/sdlclkp/sky130_fd_sc_hd__sdlclkp_1.spice 11 | x = 0; y = 0 12 | while( pipe | getline line) { 13 | cell = line; sub(/^.*sky130_stdcells/, "sky130_stdcells", cell) 14 | print "C {" cell "} " x, y, 0, 0, "{}" 15 | x+=260 16 | if(x > 7000) { x=0; y+=240 } 17 | } 18 | close(pipe) 19 | } 20 | 21 | 22 | function file_exists(file, tmp) { 23 | n=(getline tmp < file); 24 | if (n > 0) { 25 | #print "Found: " file; 26 | close(file) 27 | return 1; 28 | } else if (n == 0) { 29 | close(file) 30 | # print "Empty: " file; 31 | return 1; 32 | } else { 33 | # print "Error: " file; 34 | return 0; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/scripts/resize.awk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/gawk -f 2 | 3 | 4 | 5 | FNR == 1 { 6 | if (_filename_ != "") 7 | endfile(_filename_) 8 | _filename_ = FILENAME 9 | #print "processing: " FILENAME >"/dev/stderr" 10 | beginfile(FILENAME) 11 | } 12 | 13 | END { endfile(_filename_) } 14 | 15 | ###### begin user code ######################## 16 | 17 | BEGIN{ 18 | } 19 | 20 | # T {CLK_N} -125 -54 0 0 0.2 0.2 {} 21 | # B 5 -152.5 -32.5 -147.5 -27.5 {name=D dir=in } 22 | # L 4 -150 -30 -130 -30 {} 23 | 24 | { 25 | if($1 == "T") { 26 | a = $3; $3 = (a < -96) ? a+60 : (a > 96) ? a-60 : a 27 | } 28 | if($1 == "B" || $1 == "L") { 29 | a = $3; $3 = (a < -96) ? a+60 : (a > 96) ? a-60 : a 30 | a = $5; $5 = (a < -96) ? a+60 : (a > 96) ? a-60 : a 31 | } 32 | found = 1 33 | } 34 | 35 | ###### end user code ######################## 36 | 37 | 38 | { 39 | __a[__lines++] = $0 40 | } 41 | 42 | function beginfile(f) 43 | { 44 | __lines=0 45 | found=0 46 | } 47 | 48 | function endfile(f, i) 49 | { 50 | if(found) { 51 | print "patching: " f >"/dev/stderr" 52 | for(i=0;i<__lines;i++) 53 | { 54 | print __a[i] > f 55 | } 56 | close(f) 57 | } 58 | } 59 | 60 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/tap_1.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | K {type=primitive 17 | format="@name @VGND @VNB @VPB @VPWR @prefix\\\\tap_1" 18 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 19 | extra="VGND VNB VPB VPWR prefix" 20 | verilogprefix=sky130_fd_sc_hd__ 21 | highlight=true} 22 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 23 | T {@name} 75 -22 0 0 0.2 0.2 {} 24 | L 4 -70 -10 70 -10 {} 25 | L 4 -70 10 70 10 {} 26 | L 4 -70 -10 -70 10 {} 27 | L 4 70 -10 70 10 {} 28 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/tap_2.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | K {type=primitive 17 | format="@name @VGND @VNB @VPB @VPWR @prefix\\\\tap_2" 18 | template="name=x1 VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 19 | extra="VGND VNB VPB VPWR prefix" 20 | verilogprefix=sky130_fd_sc_hd__ 21 | highlight=true} 22 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 23 | T {@name} 75 -22 0 0 0.2 0.2 {} 24 | L 4 -70 -10 70 -10 {} 25 | L 4 -70 10 70 10 {} 26 | L 4 -70 -10 -70 10 {} 27 | L 4 70 -10 70 10 {} 28 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/tapvgnd2_1.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | K {type=primitive 17 | format="@name @VGND @VPB @VPWR @prefix\\\\tapvgnd2_1" 18 | template="name=x1 VGND=VGND VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 19 | extra="VGND VPB VPWR prefix" 20 | verilogprefix=sky130_fd_sc_hd__ 21 | highlight=true} 22 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 23 | T {@name} 75 -22 0 0 0.2 0.2 {} 24 | L 4 -70 -10 70 -10 {} 25 | L 4 -70 10 70 10 {} 26 | L 4 -70 -10 -70 10 {} 27 | L 4 70 -10 70 10 {} 28 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/tapvgnd_1.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | K {type=primitive 17 | format="@name @VGND @VPB @VPWR @prefix\\\\tapvgnd_1" 18 | template="name=x1 VGND=VGND VPB=VPB VPWR=VPWR prefix=sky130_fd_sc_hd__ " 19 | extra="VGND VPB VPWR prefix" 20 | verilogprefix=sky130_fd_sc_hd__ 21 | highlight=true} 22 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 23 | T {@name} 75 -22 0 0 0.2 0.2 {} 24 | L 4 -70 -10 70 -10 {} 25 | L 4 -70 10 70 10 {} 26 | L 4 -70 -10 -70 10 {} 27 | L 4 70 -10 70 10 {} 28 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_stdcells/tapvpwrvgnd_1.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2022 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | } 16 | K {type=primitive 17 | format="@name @VGND @VPWR @prefix\\\\tapvpwrvgnd_1" 18 | template="name=x1 VGND=VGND VPWR=VPWR prefix=sky130_fd_sc_hd__ " 19 | extra="VGND VPWR prefix" 20 | verilogprefix=sky130_fd_sc_hd__ 21 | highlight=true} 22 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 23 | T {@name} 75 -22 0 0 0.2 0.2 {} 24 | L 4 -70 -10 70 -10 {} 25 | L 4 -70 10 70 10 {} 26 | L 4 -70 -10 -70 10 {} 27 | L 4 70 -10 70 10 {} 28 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/LACG.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.9 file_version=1.2} 2 | K {type=subcircuit 3 | format="@name @pinlist @symname" 4 | template="name=x1" 5 | } 6 | T {@symname} -36 -6 0 0 0.3 0.3 {} 7 | T {@name} 135 -22 0 0 0.2 0.2 {} 8 | L 4 -130 -10 130 -10 {} 9 | L 4 -130 10 130 10 {} 10 | L 4 -130 -10 -130 10 {} 11 | L 4 130 -10 130 10 {} 12 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/README.md: -------------------------------------------------------------------------------- 1 | ## CONTENTS 2 | - `all_sky130_gates.sch` a list of all the sky130 'high density' standard cells in all available sizing. 3 | - `gates.sch` generic process agnostic standard cell set 4 | - `gates_sky130.sch` Sky130 Standard cell library, these are from the high density (hs) set 5 | - `test_bipolar.sch` test pnp bipolar transistor 6 | - `test_comparator.sch` monte-carlo test run of a cmos self calibrating comparator 7 | - `test_diode.sch` test various well/diffusion diodes 8 | - `test_format_override.sch` xschem feature test to redefine netlisting rule for a component 9 | - `test_inv.sch` ring oscillator test with 01v8 and 01v8_lvt transistors 10 | - `test_nmos.sch` test the various n-channel mos flavors 11 | - `test_nmos_sizes.sch` test model binning with different sized mos 12 | - `test_pmos.sch` test the various p-channel mos flavors 13 | - `test_res.sch` test various diffusion / poly / well resistors 14 | - `test_stdcells.sch` simple test circuit with some standard cells (combinatrial / sequential) 15 | - `test_varactor.sch` mos capacitor test 16 | - `test_vpp_cap.sch` vertical metal capacitor test 17 | - `top.sch` top level schematic containing all the other 18 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/adder_16bit.sym: -------------------------------------------------------------------------------- 1 | G {type=subcircuit 2 | format="@name @pinlist @symname" 3 | template="name=x0" 4 | } 5 | 6 | T {@symname} -49.5 -6 0 0 0.3 0.3 {} 7 | T {@name} 135 -52 0 0 0.2 0.2 {} 8 | L 4 -130 -40 130 -40 {} 9 | L 4 -130 40 130 40 {} 10 | L 4 -130 -40 -130 40 {} 11 | L 4 130 -40 130 40 {} 12 | B 5 -152.5 -32.5 -147.5 -27.5 {name=A[15:0] dir=in } 13 | L 4 -150 -30 -130 -30 {} 14 | T {A[15:0]} -125 -34 0 0 0.2 0.2 {} 15 | B 5 147.5 -32.5 152.5 -27.5 {name=S[15:0] dir=out } 16 | L 4 130 -30 150 -30 {} 17 | T {S[15:0]} 125 -34 0 1 0.2 0.2 {} 18 | B 5 -152.5 -12.5 -147.5 -7.5 {name=B[15:0] dir=in } 19 | L 4 -150 -10 -130 -10 {} 20 | T {B[15:0]} -125 -14 0 0 0.2 0.2 {} 21 | B 5 147.5 -12.5 152.5 -7.5 {name=COUT dir=out } 22 | L 4 130 -10 150 -10 {} 23 | T {COUT} 125 -14 0 1 0.2 0.2 {} 24 | B 5 147.5 7.5 152.5 12.5 {name=SG dir=out } 25 | L 4 130 10 150 10 {} 26 | T {SG} 125 6 0 1 0.2 0.2 {} 27 | B 5 -152.5 7.5 -147.5 12.5 {name=CIN dir=in } 28 | L 4 -150 10 -130 10 {} 29 | T {CIN} -125 6 0 0 0.2 0.2 {} 30 | B 5 147.5 27.5 152.5 32.5 {name=SP dir=out } 31 | L 4 130 30 150 30 {} 32 | T {SP} 125 26 0 1 0.2 0.2 {} 33 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/adder_1bit.sym: -------------------------------------------------------------------------------- 1 | G {type=subcircuit 2 | format="@name @pinlist @symname" 3 | template="name=x0" 4 | } 5 | 6 | T {@symname} -45 -6 0 0 0.3 0.3 {} 7 | T {@name} 135 -42 0 0 0.2 0.2 {} 8 | L 4 -130 -30 130 -30 {} 9 | L 4 -130 30 130 30 {} 10 | L 4 -130 -30 -130 30 {} 11 | L 4 130 -30 130 30 {} 12 | B 5 147.5 -22.5 152.5 -17.5 {name=S dir=out } 13 | L 4 130 -20 150 -20 {} 14 | T {S} 125 -24 0 1 0.2 0.2 {} 15 | B 5 -152.5 -22.5 -147.5 -17.5 {name=A dir=in } 16 | L 4 -150 -20 -130 -20 {} 17 | T {A} -125 -24 0 0 0.2 0.2 {} 18 | B 5 -152.5 -2.5 -147.5 2.5 {name=B dir=in } 19 | L 4 -150 0 -130 0 {} 20 | T {B} -125 -4 0 0 0.2 0.2 {} 21 | B 5 147.5 -2.5 152.5 2.5 {name=G dir=out } 22 | L 4 130 0 150 0 {} 23 | T {G} 125 -4 0 1 0.2 0.2 {} 24 | B 5 -152.5 17.5 -147.5 22.5 {name=CIN dir=in } 25 | L 4 -150 20 -130 20 {} 26 | T {CIN} -125 16 0 0 0.2 0.2 {} 27 | B 5 147.5 17.5 152.5 22.5 {name=P dir=out } 28 | L 4 130 20 150 20 {} 29 | T {P} 125 16 0 1 0.2 0.2 {} 30 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/adder_256bit.sym: -------------------------------------------------------------------------------- 1 | G {type=subcircuit 2 | format="@name @pinlist @symname" 3 | template="name=x0" 4 | } 5 | 6 | T {@symname} -54 -6 0 0 0.3 0.3 {} 7 | T {@name} 135 -52 0 0 0.2 0.2 {} 8 | L 4 -130 -40 130 -40 {} 9 | L 4 -130 40 130 40 {} 10 | L 4 -130 -40 -130 40 {} 11 | L 4 130 -40 130 40 {} 12 | B 5 -152.5 -32.5 -147.5 -27.5 {name=A[255:0] dir=in } 13 | L 4 -150 -30 -130 -30 {} 14 | T {A[255:0]} -125 -34 0 0 0.2 0.2 {} 15 | B 5 147.5 -32.5 152.5 -27.5 {name=S[255:0] dir=out } 16 | L 4 130 -30 150 -30 {} 17 | T {S[255:0]} 125 -34 0 1 0.2 0.2 {} 18 | B 5 -152.5 -12.5 -147.5 -7.5 {name=B[255:0] dir=in } 19 | L 4 -150 -10 -130 -10 {} 20 | T {B[255:0]} -125 -14 0 0 0.2 0.2 {} 21 | B 5 147.5 -12.5 152.5 -7.5 {name=COUT dir=out } 22 | L 4 130 -10 150 -10 {} 23 | T {COUT} 125 -14 0 1 0.2 0.2 {} 24 | B 5 147.5 7.5 152.5 12.5 {name=SG dir=out } 25 | L 4 130 10 150 10 {} 26 | T {SG} 125 6 0 1 0.2 0.2 {} 27 | B 5 -152.5 7.5 -147.5 12.5 {name=CIN dir=in } 28 | L 4 -150 10 -130 10 {} 29 | T {CIN} -125 6 0 0 0.2 0.2 {} 30 | B 5 147.5 27.5 152.5 32.5 {name=SP dir=out } 31 | L 4 130 30 150 30 {} 32 | T {SP} 125 26 0 1 0.2 0.2 {} 33 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/adder_32bit.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.0.0 file_version=1.2 } 2 | G {} 3 | K {type=subcircuit 4 | format="@name @pinlist @symname" 5 | template="name=x0" 6 | } 7 | V {} 8 | S {} 9 | E {} 10 | L 4 -130 -40 130 -40 {} 11 | L 4 -130 40 130 40 {} 12 | L 4 -130 -40 -130 40 {} 13 | L 4 130 -40 130 40 {} 14 | L 4 -150 -30 -130 -30 {} 15 | L 4 130 -30 150 -30 {} 16 | L 4 -150 -10 -130 -10 {} 17 | L 4 130 -10 150 -10 {} 18 | L 4 130 10 150 10 {} 19 | L 4 -150 10 -130 10 {} 20 | L 4 130 30 150 30 {} 21 | B 5 -152.5 -32.5 -147.5 -27.5 {name=A[31:0] dir=in } 22 | B 5 147.5 -32.5 152.5 -27.5 {name=S[31:0] dir=out } 23 | B 5 -152.5 -12.5 -147.5 -7.5 {name=B[31:0] dir=in } 24 | B 5 147.5 -12.5 152.5 -7.5 {name=COUT dir=out } 25 | B 5 147.5 7.5 152.5 12.5 {name=SG dir=out } 26 | B 5 -152.5 7.5 -147.5 12.5 {name=CIN dir=in } 27 | B 5 147.5 27.5 152.5 32.5 {name=SP dir=out } 28 | T {@symname} -49.5 -6 0 0 0.3 0.3 {} 29 | T {@name} 135 -52 0 0 0.2 0.2 {} 30 | T {A[31:0]} -125 -34 0 0 0.2 0.2 {} 31 | T {S[31:0]} 125 -34 0 1 0.2 0.2 {} 32 | T {B[31:0]} -125 -14 0 0 0.2 0.2 {} 33 | T {COUT} 125 -14 0 1 0.2 0.2 {} 34 | T {SG} 125 6 0 1 0.2 0.2 {} 35 | T {CIN} -125 6 0 0 0.2 0.2 {} 36 | T {SP} 125 26 0 1 0.2 0.2 {} 37 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/adder_4bit.sch: -------------------------------------------------------------------------------- 1 | v {xschem version=2.8.2 file_version=1.0} 2 | G {} 3 | V {} 4 | S {} 5 | E {} 6 | C {devices/ipin} 110 -220 0 0 {name=p1 lab=A[3:0]} 7 | C {devices/ipin} 110 -190 0 0 {name=p2 lab=B[3:0]} 8 | C {devices/ipin} 110 -150 0 0 {name=p3 lab=CIN} 9 | C {devices/opin} 210 -220 0 0 {name=p4 lab=S[3:0]} 10 | C {devices/title.sym} 160 -30 0 0 {name=l2} 11 | C {sky130_tests/cla_4bits} 700 -390 0 0 {name=x2} 12 | C {devices/lab_pin} 550 -440 0 0 {name=p14 lab=P[3:0]} 13 | C {devices/lab_pin} 850 -400 0 1 {name=p15 lab=C1} 14 | C {devices/lab_pin} 850 -380 0 1 {name=p16 lab=C2} 15 | C {devices/lab_pin} 550 -420 0 0 {name=p17 lab=G[3:0]} 16 | C {devices/lab_pin} 850 -360 0 1 {name=p18 lab=C3} 17 | C {devices/lab_pin} 850 -340 0 1 {name=p19 lab=COUT} 18 | C {devices/lab_pin} 550 -400 0 0 {name=p20 lab=CIN} 19 | C {devices/lab_pin} 850 -440 0 1 {name=p36 lab=SG} 20 | C {devices/lab_pin} 850 -420 0 1 {name=p37 lab=SP} 21 | C {devices/opin} 210 -140 0 0 { name=p7 lab=SP } 22 | C {devices/opin} 210 -160 0 0 { name=p8 lab=SG } 23 | C {sky130_tests/adder_1bit} 700 -200 0 0 {name=x0[3:0]} 24 | C {devices/lab_pin} 550 -180 0 0 {name=p9 lab=C3,C2,C1,CIN} 25 | C {devices/lab_pin} 550 -220 0 0 {name=l3 lab=A[3:0]} 26 | C {devices/lab_pin} 550 -200 0 0 {name=l6 lab=B[3:0]} 27 | C {devices/lab_pin} 850 -220 0 1 {name=l7 lab=S[3:0]} 28 | C {devices/lab_pin} 850 -200 0 1 {name=l8 lab=G[3:0]} 29 | C {devices/lab_pin} 850 -180 0 1 {name=l9 lab=P[3:0]} 30 | C {devices/opin} 210 -190 0 0 {name=p5 lab=COUT} 31 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/adder_4bit.sym: -------------------------------------------------------------------------------- 1 | G {type=subcircuit 2 | format="@name @pinlist @symname" 3 | template="name=x0" 4 | } 5 | 6 | T {@symname} -45 -6 0 0 0.3 0.3 {} 7 | T {@name} 135 -52 0 0 0.2 0.2 {} 8 | L 4 -130 -40 130 -40 {} 9 | L 4 -130 40 130 40 {} 10 | L 4 -130 -40 -130 40 {} 11 | L 4 130 -40 130 40 {} 12 | B 5 -152.5 -32.5 -147.5 -27.5 {name=A[3:0] dir=in } 13 | L 4 -150 -30 -130 -30 {} 14 | T {A[3:0]} -125 -34 0 0 0.2 0.2 {} 15 | B 5 147.5 -32.5 152.5 -27.5 {name=S[3:0] dir=out } 16 | L 4 130 -30 150 -30 {} 17 | T {S[3:0]} 125 -34 0 1 0.2 0.2 {} 18 | B 5 -152.5 -12.5 -147.5 -7.5 {name=B[3:0] dir=in } 19 | L 4 -150 -10 -130 -10 {} 20 | T {B[3:0]} -125 -14 0 0 0.2 0.2 {} 21 | B 5 147.5 -12.5 152.5 -7.5 {name=COUT dir=out } 22 | L 4 130 -10 150 -10 {} 23 | T {COUT} 125 -14 0 1 0.2 0.2 {} 24 | B 5 147.5 7.5 152.5 12.5 {name=SG dir=out } 25 | L 4 130 10 150 10 {} 26 | T {SG} 125 6 0 1 0.2 0.2 {} 27 | B 5 -152.5 7.5 -147.5 12.5 {name=CIN dir=in } 28 | L 4 -150 10 -130 10 {} 29 | T {CIN} -125 6 0 0 0.2 0.2 {} 30 | B 5 147.5 27.5 152.5 32.5 {name=SP dir=out } 31 | L 4 130 30 150 30 {} 32 | T {SP} 125 26 0 1 0.2 0.2 {} 33 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/adder_64bit.sym: -------------------------------------------------------------------------------- 1 | G {type=subcircuit 2 | format="@name @pinlist @symname" 3 | template="name=x0" 4 | } 5 | 6 | T {@symname} -49.5 -6 0 0 0.3 0.3 {} 7 | T {@name} 135 -52 0 0 0.2 0.2 {} 8 | L 4 -130 -40 130 -40 {} 9 | L 4 -130 40 130 40 {} 10 | L 4 -130 -40 -130 40 {} 11 | L 4 130 -40 130 40 {} 12 | B 5 -152.5 -32.5 -147.5 -27.5 {name=A[63:0] dir=in } 13 | L 4 -150 -30 -130 -30 {} 14 | T {A[63:0]} -125 -34 0 0 0.2 0.2 {} 15 | B 5 147.5 -32.5 152.5 -27.5 {name=S[63:0] dir=out } 16 | L 4 130 -30 150 -30 {} 17 | T {S[63:0]} 125 -34 0 1 0.2 0.2 {} 18 | B 5 -152.5 -12.5 -147.5 -7.5 {name=B[63:0] dir=in } 19 | L 4 -150 -10 -130 -10 {} 20 | T {B[63:0]} -125 -14 0 0 0.2 0.2 {} 21 | B 5 147.5 -12.5 152.5 -7.5 {name=COUT dir=out } 22 | L 4 130 -10 150 -10 {} 23 | T {COUT} 125 -14 0 1 0.2 0.2 {} 24 | B 5 147.5 7.5 152.5 12.5 {name=SG dir=out } 25 | L 4 130 10 150 10 {} 26 | T {SG} 125 6 0 1 0.2 0.2 {} 27 | B 5 -152.5 7.5 -147.5 12.5 {name=CIN dir=in } 28 | L 4 -150 10 -130 10 {} 29 | T {CIN} -125 6 0 0 0.2 0.2 {} 30 | B 5 147.5 27.5 152.5 32.5 {name=SP dir=out } 31 | L 4 130 30 150 30 {} 32 | T {SP} 125 26 0 1 0.2 0.2 {} 33 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/all_sky130_gates.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2} 2 | G {} 3 | K {type=subcircuit 4 | format="@name @pinlist @symname" 5 | template="name=x1" 6 | } 7 | V {} 8 | S {} 9 | E {} 10 | L 4 -130 -10 130 -10 {} 11 | L 4 -130 10 130 10 {} 12 | L 4 -130 -10 -130 10 {} 13 | L 4 130 -10 130 10 {} 14 | T {@symname} -60 -6 0 0 0.3 0.3 {} 15 | T {@name} 135 -22 0 0 0.2 0.2 {} 16 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/bandgap.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.9 file_version=1.2} 2 | G {type=subcircuit 3 | format="@name @pinlist @symname" 4 | template="name=x1" 5 | } 6 | 7 | T {@symname} -49.5 -6 0 0 0.3 0.3 {} 8 | T {@name} 135 -62 0 0 0.2 0.2 {} 9 | L 4 -130 -50 130 -50 {} 10 | L 4 -130 50 130 50 {} 11 | L 4 -130 -50 -130 50 {} 12 | L 4 130 -50 130 50 {} 13 | B 5 -152.5 -42.5 -147.5 -37.5 {name=START dir=in } 14 | L 4 -150 -40 -130 -40 {} 15 | T {START} -125 -44 0 0 0.2 0.2 {} 16 | B 5 -152.5 -22.5 -147.5 -17.5 {name=CLK dir=in } 17 | L 4 -150 -20 -130 -20 {} 18 | T {CLK} -125 -24 0 0 0.2 0.2 {} 19 | B 5 -152.5 -2.5 -147.5 2.5 {name=EN_N dir=in } 20 | L 4 -150 0 -130 0 {} 21 | T {EN_N} -125 -4 0 0 0.2 0.2 {} 22 | B 5 147.5 -42.5 152.5 -37.5 {name=VBG dir=out } 23 | L 4 130 -40 150 -40 {} 24 | T {VBG} 125 -44 0 1 0.2 0.2 {} 25 | B 5 -152.5 17.5 -147.5 22.5 {name=VCC dir=in } 26 | L 4 -150 20 -130 20 {} 27 | T {VCC} -125 16 0 0 0.2 0.2 {} 28 | B 5 -152.5 37.5 -147.5 42.5 {name=VSS dir=in } 29 | L 4 -150 40 -130 40 {} 30 | T {VSS} -125 36 0 0 0.2 0.2 {} 31 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/bandgap_opamp.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.9 file_version=1.2 } 2 | G {} 3 | K {type=subcircuit 4 | format="@name @pinlist @symname" 5 | template="name=x1" 6 | } 7 | V {} 8 | S {} 9 | E {} 10 | L 4 -60 -50 60 0 {} 11 | L 4 -60 50 60 0 {} 12 | L 4 -60 -50 -60 150 {} 13 | L 4 -80 110 -60 110 {} 14 | L 4 -80 30 -60 30 {} 15 | L 4 -80 -30 -60 -30 {} 16 | L 4 60 0 80 0 {} 17 | L 4 -80 130 -60 130 {} 18 | L 4 -80 150 -60 150 {} 19 | L 4 -80 90 -60 90 {} 20 | L 4 -80 70 -60 70 {} 21 | B 5 -82.5 107.5 -77.5 112.5 {name=EN_N dir=in } 22 | B 5 -82.5 27.5 -77.5 32.5 {name=MINUS dir=in } 23 | B 5 -82.5 -32.5 -77.5 -27.5 {name=PLUS dir=in } 24 | B 5 77.5 -2.5 82.5 2.5 {name=DIFFOUT dir=out } 25 | B 5 -82.5 127.5 -77.5 132.5 {name=VCC dir=in } 26 | B 5 -82.5 147.5 -77.5 152.5 {name=VSS dir=in } 27 | B 5 -82.5 87.5 -77.5 92.5 {name=ADJ dir=in } 28 | B 5 -82.5 67.5 -77.5 72.5 {name=START dir=in } 29 | T {@symname} -46.5 -66 0 0 0.3 0.3 {} 30 | T {@name} 15 -32 0 0 0.2 0.2 {} 31 | T {EN_N} -55 106 0 0 0.2 0.2 {} 32 | T {MINUS} -55 21 0 0 0.2 0.2 {} 33 | T {PLUS} -55 -29 0 0 0.2 0.2 {} 34 | T {DIFFOUT} 35 -4 0 1 0.2 0.2 {} 35 | T {VCC} -55 126 0 0 0.2 0.2 {} 36 | T {VSS} -55 146 0 0 0.2 0.2 {} 37 | T {ADJ} -55 86 0 0 0.2 0.2 {} 38 | T {START} -55 66 0 0 0.2 0.2 {} 39 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/cla_2bits.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.0.0 file_version=1.2 } 2 | G {} 3 | K {type=subcircuit 4 | format="@name @pinlist @symname" 5 | template="name=x0" 6 | } 7 | V {} 8 | S {} 9 | E {} 10 | L 4 -130 -60 130 -60 {} 11 | L 4 -130 60 130 60 {} 12 | L 4 -130 -60 -130 60 {} 13 | L 4 130 -60 130 60 {} 14 | L 4 130 -50 150 -50 {} 15 | L 4 130 -30 150 -30 {} 16 | L 4 130 -10 150 -10 {} 17 | L 4 -150 -50 -130 -50 {} 18 | L 4 130 10 150 10 {} 19 | L 4 -150 -30 -130 -30 {} 20 | L 4 -150 -10 -130 -10 {} 21 | B 5 147.5 -52.5 152.5 -47.5 {name=SG dir=out } 22 | B 5 147.5 -32.5 152.5 -27.5 {name=SP dir=out } 23 | B 5 147.5 -12.5 152.5 -7.5 {name=C1 dir=out } 24 | B 5 -152.5 -52.5 -147.5 -47.5 {name=P[1:0] dir=in } 25 | B 5 147.5 7.5 152.5 12.5 {name=C2 dir=out } 26 | B 5 -152.5 -32.5 -147.5 -27.5 {name=G[1:0] dir=in } 27 | B 5 -152.5 -12.5 -147.5 -7.5 {name=C0 dir=in } 28 | T {@symname} -40.5 -6 0 0 0.3 0.3 {} 29 | T {@name} 135 -72 0 0 0.2 0.2 {} 30 | T {SG} 125 -54 0 1 0.2 0.2 {} 31 | T {SP} 125 -34 0 1 0.2 0.2 {} 32 | T {C1} 125 -14 0 1 0.2 0.2 {} 33 | T {P[1:0]} -125 -54 0 0 0.2 0.2 {} 34 | T {C2} 125 6 0 1 0.2 0.2 {} 35 | T {G[1:0]} -125 -34 0 0 0.2 0.2 {} 36 | T {C0} -125 -14 0 0 0.2 0.2 {} 37 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/cla_4bits.sym: -------------------------------------------------------------------------------- 1 | G {type=subcircuit 2 | format="@name @pinlist @symname" 3 | template="name=x0" 4 | } 5 | 6 | T {@symname} -40.5 -6 0 0 0.3 0.3 {} 7 | T {@name} 135 -72 0 0 0.2 0.2 {} 8 | L 4 -130 -60 130 -60 {} 9 | L 4 -130 60 130 60 {} 10 | L 4 -130 -60 -130 60 {} 11 | L 4 130 -60 130 60 {} 12 | B 5 147.5 -52.5 152.5 -47.5 {name=SG dir=out } 13 | L 4 130 -50 150 -50 {} 14 | T {SG} 125 -54 0 1 0.2 0.2 {} 15 | B 5 147.5 -32.5 152.5 -27.5 {name=SP dir=out } 16 | L 4 130 -30 150 -30 {} 17 | T {SP} 125 -34 0 1 0.2 0.2 {} 18 | B 5 147.5 -12.5 152.5 -7.5 {name=C1 dir=out } 19 | L 4 130 -10 150 -10 {} 20 | T {C1} 125 -14 0 1 0.2 0.2 {} 21 | B 5 -152.5 -52.5 -147.5 -47.5 {name=P[3:0] dir=in } 22 | L 4 -150 -50 -130 -50 {} 23 | T {P[3:0]} -125 -54 0 0 0.2 0.2 {} 24 | B 5 147.5 7.5 152.5 12.5 {name=C2 dir=out } 25 | L 4 130 10 150 10 {} 26 | T {C2} 125 6 0 1 0.2 0.2 {} 27 | B 5 -152.5 -32.5 -147.5 -27.5 {name=G[3:0] dir=in } 28 | L 4 -150 -30 -130 -30 {} 29 | T {G[3:0]} -125 -34 0 0 0.2 0.2 {} 30 | B 5 147.5 27.5 152.5 32.5 {name=C3 dir=out } 31 | L 4 130 30 150 30 {} 32 | T {C3} 125 26 0 1 0.2 0.2 {} 33 | B 5 147.5 47.5 152.5 52.5 {name=C4 dir=out } 34 | L 4 130 50 150 50 {} 35 | T {C4} 125 46 0 1 0.2 0.2 {} 36 | B 5 -152.5 -12.5 -147.5 -7.5 {name=C0 dir=in } 37 | L 4 -150 -10 -130 -10 {} 38 | T {C0} -125 -14 0 0 0.2 0.2 {} 39 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/gain_stage.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | } 3 | G {} 4 | K {type=subcircuit 5 | format="@name @pinlist @symname" 6 | template="name=x1" 7 | } 8 | V {} 9 | S {} 10 | E {} 11 | L 4 -40 -30 -40 30 {} 12 | L 4 -60 0 -40 0 {} 13 | L 4 40 0 60 0 {} 14 | L 4 -20 110 0 110 {} 15 | L 4 -20 130 0 130 {} 16 | L 4 -40 -30 30 0 {} 17 | L 4 -40 30 30 0 {} 18 | L 4 0 13.125 0 130 {bus=true} 19 | L 4 -20 90 0 90 {} 20 | L 4 -20 70 0 70 {} 21 | L 4 -20 50 0 50 {} 22 | B 5 -62.5 -2.5 -57.5 2.5 {name=IN dir=in } 23 | B 5 57.5 -2.5 62.5 2.5 {name=OUT dir=out } 24 | B 5 -22.5 107.5 -17.5 112.5 {name=VCC dir=in } 25 | B 5 -22.5 127.5 -17.5 132.5 {name=VSS dir=in } 26 | B 5 -22.5 87.5 -17.5 92.5 {name=START_N dir=in } 27 | B 5 -22.5 67.5 -17.5 72.5 {name=START dir=in } 28 | B 5 -22.5 47.5 -17.5 52.5 {name=EN_N dir=in } 29 | A 4 35 -0 5 180 360 {} 30 | T {@symname} -58 -48.5 0 0 0.3 0.3 {} 31 | T {@name} 21.25 -23.25 0 0 0.2 0.2 {} 32 | T {IN} -35 -4 0 0 0.2 0.2 {} 33 | T {OUT} 15 -4 0 1 0.2 0.2 {} 34 | T {VCC} 5 106 0 0 0.2 0.2 {} 35 | T {VSS} 5 126 0 0 0.2 0.2 {} 36 | T {START_N} 5 86 0 0 0.2 0.2 {} 37 | T {START} 5 66 0 0 0.2 0.2 {} 38 | T {EN_N} 5 46 0 0 0.2 0.2 {} 39 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/gates.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License.} 15 | K {type=subcircuit 16 | format="@name @pinlist @symname" 17 | template="name=x1" 18 | } 19 | T {@symname} -40.5 -6 0 0 0.3 0.3 {} 20 | T {@name} 135 -22 0 0 0.2 0.2 {} 21 | L 4 -130 -10 130 -10 {} 22 | L 4 -130 10 130 10 {} 23 | L 4 -130 -10 -130 10 {} 24 | L 4 130 -10 130 10 {} 25 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/gates_sky130.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2} 2 | K {type=subcircuit 3 | format="@name @pinlist @symname" 4 | template="name=x1" 5 | } 6 | T {@symname} -40.5 -6 0 0 0.3 0.3 {} 7 | T {@name} 135 -22 0 0 0.2 0.2 {} 8 | L 4 -130 -10 130 -10 {} 9 | L 4 -130 10 130 10 {} 10 | L 4 -130 -10 -130 10 {} 11 | L 4 130 -10 130 10 {} 12 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/giant_label.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.9 file_version=1.2 } 2 | G {} 3 | K {type=label 4 | format="*.alias @lab" 5 | template="name=l1 sig_type=std_logic lab=xxx text=yyy"} 6 | V {} 7 | S {} 8 | E {} 9 | B 5 -1.25 -1.25 1.25 1.25 {name=p dir=in} 10 | T {@text} -7.5 31.875 0 1 2 2 {} 11 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/giant_label2.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.9 file_version=1.2 } 2 | G {} 3 | K {type=label 4 | format="*.alias @lab" 5 | template="name=l1 sig_type=std_logic lab=xxx text=yyy"} 6 | V {} 7 | S {} 8 | E {} 9 | B 5 -1.25 -1.25 1.25 1.25 {name=p dir=in} 10 | T {@text} 0 0 0 0 12 12 {} 11 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/logic_ngspice.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.9 file_version=1.2} 2 | K {type=subcircuit 3 | format="@name @pinlist @symname" 4 | template="name=x1" 5 | } 6 | T {@symname} -76.5 -6 0 0 0.3 0.3 {} 7 | T {@name} 135 -22 0 0 0.2 0.2 {} 8 | L 4 -130 -10 130 -10 {} 9 | L 4 -130 10 130 10 {} 10 | L 4 -130 -10 -130 10 {} 11 | L 4 130 -10 130 10 {} 12 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/lvnand.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.9 file_version=1.2 } 2 | G {} 3 | K {type=subcircuit 4 | format="@name @pinlist @VCCPIN @VSSPIN @symname WidthN=@WidthN LenN=@LenN WidthP=@WidthP LenP=@LenP m=@m" 5 | template="name=x1 WidthN=1 LenN=0.15 WidthP=1 LenP=0.15 VCCPIN=VCC VSSPIN=VSS m=1" 6 | extra="VCCPIN VSSPIN" 7 | function2="0 1 & ~" 8 | } 9 | V {} 10 | S {} 11 | E {} 12 | L 4 -50 -20 -20 -20 {} 13 | L 4 -50 20 -20 20 {} 14 | L 4 -20 -30 -20 30 {} 15 | L 4 -20 30 15 30 {} 16 | L 4 -20 -30 15 -30 {} 17 | L 4 55 0 70 0 {} 18 | B 5 -52.5 -22.5 -47.5 -17.5 {name=A dir=in goto=2 } 19 | B 5 -52.5 17.5 -47.5 22.5 {name=B dir=in goto=2 } 20 | B 5 67.5 -2.5 72.5 2.5 {name=Y dir=out } 21 | A 4 15 0 30 270 180 {} 22 | A 4 50 0 5 0 360 {} 23 | T {@name} -13.75 5 0 0 0.2 0.2 {} 24 | T {@symname} -15 -15 0 0 0.2 0.2 {} 25 | T {A} -45 -34 0 0 0.2 0.2 {} 26 | T {B} -45 6 0 0 0.2 0.2 {} 27 | T {Y} 65 -14 0 1 0.2 0.2 {} 28 | T {@WidthP / @LenP} -15 -45 0 0 0.2 0.2 {} 29 | T {@WidthN / @LenN} -15 35 0 0 0.2 0.2 {} 30 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/n_diffamp.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.9 file_version=1.2 } 2 | G {} 3 | K {type=subcircuit 4 | format="@name @pinlist @symname" 5 | template="name=x1" 6 | } 7 | V {} 8 | S {} 9 | E {} 10 | L 4 -60 -70 60 0 {} 11 | L 4 -60 70 60 0 {} 12 | L 4 60 0 80 0 {} 13 | L 4 -80 -40 -60 -40 {} 14 | L 4 -80 40 -60 40 {} 15 | L 4 -60 -70 -60 70 {} 16 | L 4 -20 47.5 -20 80 {} 17 | B 5 77.5 -2.5 82.5 2.5 {name=OUT sig_type=std_logic dir=out } 18 | B 5 -82.5 -42.5 -77.5 -37.5 {name=MINUS sig_type=std_logic dir=in } 19 | B 5 -82.5 37.5 -77.5 42.5 {name=PLUS sig_type=std_logic dir=in } 20 | B 5 -22.5 77.5 -17.5 82.5 {name=NBIAS sig_type=std_logic dir=in } 21 | T {@symname} -58.5 -16 0 0 0.3 0.3 {} 22 | T {@name} -5 -52 0 0 0.2 0.2 {} 23 | T {OUT} 45 -4 0 1 0.2 0.2 {} 24 | T {MINUS} -55 -44 0 0 0.2 0.2 {} 25 | T {PLUS} -55 36 0 0 0.2 0.2 {} 26 | T {NBIAS} -15 46 0 0 0.2 0.2 {} 27 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/ngspice_flop.sch: -------------------------------------------------------------------------------- 1 | v {xschem version=3.0.0 file_version=1.2 } 2 | G {} 3 | K {} 4 | V {} 5 | S {.model todig_3v3 adc_bridge(in_high=2.2 in_low=1.1 6 | + rise_delay=10n fall_delay=10n) 7 | .model toana_3v3 dac_bridge(out_high=3.3 out_low=0) 8 | 9 | .model ddflop d_dff(ic=0 rise_delay=1n fall_delay=1n) 10 | 11 | AA2D1 [A_GND] [d_gnd] todig_3v3 12 | 13 | AA2D2 [A_IN] [d_in] todig_3v3 14 | AA2D3 [A_CLK] [d_clk] todig_3v3 15 | 16 | A1 d_in d_clk d_gnd d_gnd d_out NULL ddflop 17 | 18 | AD2A1 [d_out] [A_OUT] toana_3v3 19 | } 20 | E {} 21 | C {devices/iopin.sym} 220 -250 0 0 {name=p1 lab=A_VDD} 22 | C {devices/ipin.sym} 180 -190 0 0 {name=p2 lab=A_IN} 23 | C {devices/opin.sym} 370 -190 0 0 {name=p3 lab=A_OUT} 24 | C {devices/ipin.sym} 180 -170 0 0 {name=p4 lab=A_CLK} 25 | C {devices/iopin.sym} 220 -120 0 0 {name=p5 lab=A_GND} 26 | C {devices/title.sym} 160 -30 0 0 {name=l1 author="Stefan Schippers"} 27 | C {devices/noconn.sym} 220 -250 0 0 {name=l2} 28 | C {devices/noconn.sym} 180 -190 0 1 {name=l3} 29 | C {devices/noconn.sym} 180 -170 0 1 {name=l4} 30 | C {devices/noconn.sym} 220 -120 0 0 {name=l5} 31 | C {devices/noconn.sym} 370 -190 0 0 {name=l6} 32 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/ngspice_flop.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.0.0 file_version=1.2 } 2 | G {} 3 | K {type=subcircuit 4 | format="@name @pinlist @symname" 5 | template="name=x1" 6 | } 7 | V {} 8 | S {} 9 | E {} 10 | L 4 -130 -40 130 -40 {} 11 | L 4 -130 40 130 40 {} 12 | L 4 -130 -40 -130 40 {} 13 | L 4 130 -40 130 40 {} 14 | L 4 130 -20 150 -20 {} 15 | L 4 -150 -30 -130 -30 {} 16 | L 4 -150 -10 -130 -10 {} 17 | L 4 -130 -20 -120 -10 {} 18 | L 4 -130 0 -120 -10 {} 19 | L 7 -150 30 -130 30 {} 20 | L 7 -150 10 -130 10 {} 21 | B 5 147.5 -22.5 152.5 -17.5 {name=A_OUT dir=out } 22 | B 5 -152.5 -32.5 -147.5 -27.5 {name=A_IN dir=in } 23 | B 5 -152.5 -12.5 -147.5 -7.5 {name=A_CLK dir=in } 24 | B 5 -152.5 27.5 -147.5 32.5 {name=A_GND dir=inout } 25 | B 5 -152.5 7.5 -147.5 12.5 {name=A_VDD dir=inout } 26 | T {@symname} -52 -16 0 0 0.3 0.3 {} 27 | T {@name} 135 -52 0 0 0.2 0.2 {} 28 | T {A_OUT} 125 -24 0 1 0.2 0.2 {} 29 | T {A_IN} -115 -34 0 0 0.2 0.2 {} 30 | T {A_CLK} -115 -14 0 0 0.2 0.2 {} 31 | T {A_GND} -115 26 0 0 0.2 0.2 {} 32 | T {A_VDD} -115 6 0 0 0.2 0.2 {} 33 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/not.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=subcircuit 18 | format="@name @pinlist @VCCPIN @VSSPIN @symname W_N=@W_N L_N=@L_N W_P=@W_P L_P=@L_P m=@m" 19 | template="name=x1 m=1 20 | + W_N=1 L_N=0.15 W_P=2 L_P=0.15 21 | + VCCPIN=VCC VSSPIN=VSS" 22 | extra="VCCPIN VSSPIN" 23 | } 24 | V {} 25 | S {} 26 | E {} 27 | L 4 -40 0 -27.5 0 {} 28 | L 4 -27.5 -20 -27.5 20 {} 29 | L 4 -27.5 -20 16.25 0 {} 30 | L 4 -27.5 20 16.25 0 {} 31 | L 4 23.75 0 40 -0 {} 32 | B 5 37.5 -2.5 42.5 2.5 {name=y dir=out verilog_type=wire} 33 | B 5 -42.5 -2.5 -37.5 2.5 {name=a dir=in} 34 | A 4 20 0 3.75 360 360 {} 35 | T {n:@W_N / @L_N} -35 35 2 1 0.2 0.2 {} 36 | T {p:@W_P / @L_P} -35 -22.5 2 1 0.2 0.2 {} 37 | T {@name} -26.25 -5 0 0 0.2 0.2 {} 38 | T {m=@m} -10 -37.5 2 1 0.25 0.2 {} 39 | T {@symname} -5 40 0 0 0.2 0.2 {layer=13 hcenter=true} 40 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/segment.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.9 file_version=1.2 } 2 | G {} 3 | K {type=label 4 | format="*.alias @lab" 5 | template="name=l1 sig_type=std_logic lab=xxx"} 6 | V {} 7 | S {} 8 | E {} 9 | B 5 -0.3125 39.6875 0.3125 40.3125 {name=p dir=in} 10 | P 1 7 -0 40 -40 -0 -520 -0 -560 40 -520 80 -40 80 0 40 {fill=true} 11 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/simulate_ff.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.9 file_version=1.2} 2 | K {type=subcircuit 3 | format="@name @pinlist @symname" 4 | template="name=x1" 5 | } 6 | T {@symname} -67.5 -6 0 0 0.3 0.3 {} 7 | T {@name} 135 -22 0 0 0.2 0.2 {} 8 | L 4 -130 -10 130 -10 {} 9 | L 4 -130 10 130 10 {} 10 | L 4 -130 -10 -130 10 {} 11 | L 4 130 -10 130 10 {} 12 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/srlatch.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.9 file_version=1.2 } 2 | G {} 3 | K {type=subcircuit 4 | function3="0 1 & d 0 ~ 1 2 & & | ~ 3 & |" 5 | function4="0 1 2 & & 3 ~ |" 6 | format="@name @pinlist @symname" 7 | template="name=x1" 8 | } 9 | V {} 10 | S {} 11 | E {} 12 | L 4 -50 -40 50 -40 {} 13 | L 4 -50 40 50 40 {} 14 | L 4 -50 -40 -50 40 {} 15 | L 4 50 -40 50 40 {} 16 | L 4 -70 -30 -50 -30 {} 17 | L 4 50 -30 70 -30 {} 18 | L 4 50 30 70 30 {} 19 | L 4 -70 30 -50 30 {} 20 | L 4 -70 0 -50 0 {} 21 | B 5 -72.5 -32.5 -67.5 -27.5 {name=S sig_type=std_logic dir=in goto=3} 22 | B 5 -72.5 -2.5 -67.5 2.5 {name=CLK sig_type=std_logic dir=in goto=3} 23 | B 5 -72.5 27.5 -67.5 32.5 {name=R sig_type=std_logic dir=in goto=3} 24 | B 5 67.5 -32.5 72.5 -27.5 {name=Q sig_type=std_logic dir=out goto=4} 25 | B 5 67.5 27.5 72.5 32.5 {name=QN sig_type=std_logic dir=out } 26 | T {@symname} 0.5 -66 0 0 0.3 0.3 { hcenter=true} 27 | T {@name} 55 -52 0 0 0.2 0.2 {} 28 | T {S} -45 -34 0 0 0.2 0.2 {} 29 | T {Q} 45 -34 0 1 0.2 0.2 {} 30 | T {QN} 45 26 0 1 0.2 0.2 {} 31 | T {R} -45 26 0 0 0.2 0.2 {} 32 | T {CLK} -45 -4 0 0 0.2 0.2 {} 33 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/stimuli.bandgap_opamp: -------------------------------------------------------------------------------- 1 | unit n 2 | voltage VCC 3 | slope 0.1 4 | format hspice_simple 5 | 6 | param vbl VDL 7 | param delta 0.005 8 | param zero 1000 9 | param sense 1000 10 | 11 | alias read mm pp 12 | set EN_N 0 13 | set PLUS '{pp}' slope=4 14 | set MINUS '{mm}' slope=4 15 | s sense 16 | set MINUS '{vbl}' 17 | set PLUS '{vbl}' 18 | s zero 19 | set EN 1 20 | s 1000 21 | endalias 22 | 23 | beginfile stimuli_bandgap_opamp.cir 24 | 25 | set VSS 0 r=400 26 | set VCC 1 r=1000 27 | set START 1 28 | set ADJ 0.9 29 | s 2 30 | set MINUS '{vbl}' 31 | set PLUS '{vbl}' 32 | set EN_N 0 33 | s 40 34 | read {vbl} {vbl}-{delta} 35 | read {vbl} {vbl}+{delta} 36 | read {vbl}+{delta} {vbl} 37 | read {vbl}-{delta} {vbl} 38 | s 18 39 | 40 | 41 | endfile 42 | 43 | 44 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/stimuli.tb_bandgap_opamp: -------------------------------------------------------------------------------- 1 | 2 | unit n 3 | voltage VCC 4 | slope 1 5 | format hspice_simple 6 | 7 | param eq 1000 8 | param vcommon 0.6 9 | param vdelta 0.001 10 | param eval 1000 11 | 12 | beginfile stimuli_tb_bandgap_opamp.cir 13 | set vss 0 14 | set vcc 1 15 | set en_n 1 16 | set plus vcommon 17 | set minus vcommon 18 | set start 0 19 | s 100 20 | set en_n 0 21 | s eq-100 22 | set start 1 23 | s 1 24 | set minus vcommon+vdelta 25 | s eval-1 26 | 27 | set minus vcommon 28 | set start 0 29 | s eq 30 | set start 1 31 | s 1 32 | set minus vcommon-vdelta 33 | s eval-1 34 | 35 | 36 | endfile 37 | 38 | 39 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/stimuli.test_carry_lookahead: -------------------------------------------------------------------------------- 1 | unit n 2 | voltage {VCC} 3 | slope 0.1 4 | format hspice_simple 5 | 6 | buswidth A 256 [ ] 7 | buswidth B 256 [ ] 8 | 9 | beginfile stimuli_test_carry_lookahead.cir 10 | set VCC 0 11 | set VSS 0 12 | set CIN 0 13 | set A 0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000 14 | set B 0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000 15 | s 1 16 | slope 5 17 | set VCC {VCC} 18 | s 5 19 | slope 0.1 20 | 21 | set A ffff_ffff_ffff_ffff_ffff_ffff_ffff_ffff_ffff_ffff_ffff_ffff_ffff_ffff_ffff_ffff 22 | s 43.5 23 | set CIN 1 24 | s 200 25 | 26 | endfile -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/stimuli.test_comparator: -------------------------------------------------------------------------------- 1 | unit n 2 | voltage VCC 3 | slope 0.1 4 | format hspice_simple 5 | 6 | param vbl VDL 7 | param delta 0.002 8 | param zero 20 9 | param sense 20 10 | 11 | alias read mm pp 12 | set EN 1 13 | s zero-0.7 14 | set CAL 0 15 | s 0.7 16 | set PLUS '{pp}' slope=4 17 | set MINUS '{mm}' slope=4 18 | s sense-1 19 | set LATCHF 0 20 | s 1 21 | set LATCHF 1 22 | set CAL 1 23 | set EN 0 24 | 25 | set MINUS '{vbl}' 26 | set PLUS '{vbl}' 27 | s 20 28 | endalias 29 | 30 | beginfile stimuli_test_comparator.cir 31 | 32 | set VSS 0 r=400 33 | set VCC 1 r=1000 34 | set RSTF 0 35 | s 2 36 | set RSTF 1 37 | set MINUS '{vbl}' 38 | set PLUS '{vbl}' 39 | set CAL 1 40 | set LATCHF 1 41 | set EN 0 42 | s 40 43 | set EN 1 44 | read {vbl} {vbl}-{delta} 45 | read {vbl} {vbl}+{delta} 46 | read {vbl}+{delta} {vbl} 47 | read {vbl}-{delta} {vbl} 48 | s 18 49 | 50 | 51 | endfile 52 | 53 | 54 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/tb_bandgap.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=subcircuit 18 | format="@name @pinlist @symname" 19 | template="name=x1" 20 | } 21 | V {} 22 | S {} 23 | E {} 24 | L 4 -130 -10 130 -10 {} 25 | L 4 -130 10 130 10 {} 26 | L 4 -130 -10 -130 10 {} 27 | L 4 130 -10 130 10 {} 28 | T {@symname} -48.5 -6 0 0 0.3 0.3 {} 29 | T {@name} 135 -22 0 0 0.2 0.2 {} 30 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/tb_bandgap_opamp.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2} 2 | K {type=subcircuit 3 | format="@name @pinlist @symname" 4 | template="name=x1" 5 | } 6 | T {@symname} -90 -6 0 0 0.3 0.3 {} 7 | T {@name} 135 -22 0 0 0.2 0.2 {} 8 | L 4 -130 -10 130 -10 {} 9 | L 4 -130 10 130 10 {} 10 | L 4 -130 -10 -130 10 {} 11 | L 4 130 -10 130 10 {} 12 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/tb_ft_test.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.9 file_version=1.2} 2 | K {type=subcircuit 3 | format="@name @pinlist @symname" 4 | template="name=x1" 5 | } 6 | T {@symname} -63 -6 0 0 0.3 0.3 {} 7 | T {@name} 135 -22 0 0 0.2 0.2 {} 8 | L 4 -130 -10 130 -10 {} 9 | L 4 -130 10 130 10 {} 10 | L 4 -130 -10 -130 10 {} 11 | L 4 130 -10 130 10 {} 12 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/tb_ft_test_2.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.9 file_version=1.2} 2 | K {type=subcircuit 3 | format="@name @pinlist @symname" 4 | template="name=x1" 5 | } 6 | T {@symname} -85.5 -6 0 0 0.3 0.3 {} 7 | T {@name} 135 -22 0 0 0.2 0.2 {} 8 | L 4 -130 -10 130 -10 {} 9 | L 4 -130 10 130 10 {} 10 | L 4 -130 -10 -130 10 {} 11 | L 4 130 -10 130 10 {} 12 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/tb_reram.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=subcircuit 18 | format="@name @pinlist @symname" 19 | template="name=x1" 20 | } 21 | V {} 22 | S {} 23 | E {} 24 | L 4 -130 -10 130 -10 {} 25 | L 4 -130 10 130 10 {} 26 | L 4 -130 -10 -130 10 {} 27 | L 4 130 -10 130 10 {} 28 | T {@symname} -48.5 -6 0 0 0.3 0.3 {} 29 | T {@name} 135 -22 0 0 0.2 0.2 {} 30 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/test_ac.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2} 2 | K {type=subcircuit 3 | format="@name @pinlist @symname" 4 | template="name=x1" 5 | } 6 | T {@symname} -49.5 -6 0 0 0.3 0.3 {} 7 | T {@name} 135 -22 0 0 0.2 0.2 {} 8 | L 4 -130 -10 130 -10 {} 9 | L 4 -130 10 130 10 {} 10 | L 4 -130 -10 -130 10 {} 11 | L 4 130 -10 130 10 {} 12 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/test_analog.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=subcircuit 18 | format="@name @pinlist @symname" 19 | template="name=x1" 20 | } 21 | T {@symname} -54 -6 0 0 0.3 0.3 {} 22 | T {@name} 135 -22 0 0 0.2 0.2 {} 23 | L 4 -130 -10 130 -10 {} 24 | L 4 -130 10 130 10 {} 25 | L 4 -130 -10 -130 10 {} 26 | L 4 130 -10 130 10 {} 27 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/test_bipolar.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=subcircuit 18 | format="@name @pinlist @symname" 19 | template="name=x1" 20 | } 21 | V {} 22 | S {} 23 | E {} 24 | L 4 -130 -10 130 -10 {} 25 | L 4 -130 10 130 10 {} 26 | L 4 -130 -10 -130 10 {} 27 | L 4 130 -10 130 10 {} 28 | T {@symname} -48.5 -6 0 0 0.3 0.3 {} 29 | T {@name} 135 -22 0 0 0.2 0.2 {} 30 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/test_carry_lookahead.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.8.2 file_version=1.1} 2 | G {type=subcircuit 3 | format="@name @pinlist @symname" 4 | verilog_stop=true 5 | template="name=x1" 6 | xxschematic="/home/schippes/sense2pr4.sch" 7 | } 8 | V {} 9 | S {} 10 | E {} 11 | L 4 -130 -10 130 -10 {} 12 | L 4 -130 10 130 10 {} 13 | L 4 -130 -10 -130 10 {} 14 | L 4 130 -10 130 10 {} 15 | T {@symname} -67.5 -6 0 0 0.3 0.3 {} 16 | T {@name} 135 -22 0 0 0.2 0.2 {} 17 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/test_comparator.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=subcircuit 18 | format="@name @pinlist @symname" 19 | template="name=x1" 20 | } 21 | T {@symname} -54 -6 0 0 0.3 0.3 {} 22 | T {@name} 135 -22 0 0 0.2 0.2 {} 23 | L 4 -130 -10 130 -10 {} 24 | L 4 -130 10 130 10 {} 25 | L 4 -130 -10 -130 10 {} 26 | L 4 130 -10 130 10 {} 27 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/test_diode.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=subcircuit 18 | format="@name @pinlist @symname" 19 | template="name=x1" 20 | } 21 | V {} 22 | S {} 23 | E {} 24 | L 4 -130 -10 130 -10 {} 25 | L 4 -130 10 130 10 {} 26 | L 4 -130 -10 -130 10 {} 27 | L 4 130 -10 130 10 {} 28 | T {@symname} -48.5 -6 0 0 0.3 0.3 {} 29 | T {@name} 135 -22 0 0 0.2 0.2 {} 30 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/test_ff.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=subcircuit 18 | format="@name @pinlist @symname" 19 | template="name=x1" 20 | } 21 | T {@symname} -54 -6 0 0 0.3 0.3 {} 22 | T {@name} 135 -22 0 0 0.2 0.2 {} 23 | L 4 -130 -10 130 -10 {} 24 | L 4 -130 10 130 10 {} 25 | L 4 -130 -10 -130 10 {} 26 | L 4 130 -10 130 10 {} 27 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/test_format_override.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License.} 15 | G {} 16 | K {type=subcircuit 17 | format="@name @pinlist @symname" 18 | template="name=x1" 19 | } 20 | V {} 21 | S {} 22 | E {} 23 | L 4 -130 -10 130 -10 {} 24 | L 4 -130 10 130 10 {} 25 | L 4 -130 -10 -130 10 {} 26 | L 4 130 -10 130 10 {} 27 | T {@symname} -70.5 -6 0 0 0.3 0.3 {} 28 | T {@name} 135 -22 0 0 0.2 0.2 {} 29 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/test_inv.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=subcircuit 18 | format="@name @pinlist @symname" 19 | template="name=x1" 20 | } 21 | T {@symname} -54 -6 0 0 0.3 0.3 {} 22 | T {@name} 135 -22 0 0 0.2 0.2 {} 23 | L 4 -130 -10 130 -10 {} 24 | L 4 -130 10 130 10 {} 25 | L 4 -130 -10 -130 10 {} 26 | L 4 130 -10 130 10 {} 27 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/test_mim_cap.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=subcircuit 18 | format="@name @pinlist @symname" 19 | template="name=x1" 20 | } 21 | V {} 22 | S {} 23 | E {} 24 | L 4 -130 -10 130 -10 {} 25 | L 4 -130 10 130 10 {} 26 | L 4 -130 -10 -130 10 {} 27 | L 4 130 -10 130 10 {} 28 | T {@symname} -48.5 -6 0 0 0.3 0.3 {} 29 | T {@name} 135 -22 0 0 0.2 0.2 {} 30 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/test_mos_binning.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2} 2 | K {type=subcircuit 3 | format="@name @pinlist @symname" 4 | template="name=x1" 5 | } 6 | T {@symname} -90 -6 0 0 0.3 0.3 {} 7 | T {@name} 135 -22 0 0 0.2 0.2 {} 8 | L 4 -130 -10 130 -10 {} 9 | L 4 -130 10 130 10 {} 10 | L 4 -130 -10 -130 10 {} 11 | L 4 130 -10 130 10 {} 12 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/test_multisim.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2} 2 | K {type=subcircuit 3 | format="@name @pinlist @symname" 4 | template="name=x1" 5 | } 6 | T {@symname} -76.5 -6 0 0 0.3 0.3 {} 7 | T {@name} 135 -22 0 0 0.2 0.2 {} 8 | L 4 -130 -10 130 -10 {} 9 | L 4 -130 10 130 10 {} 10 | L 4 -130 -10 -130 10 {} 11 | L 4 130 -10 130 10 {} 12 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/test_nand2_noschematic.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2} 2 | K {type=subcircuit 3 | format="@name @pinlist @symname" 4 | template="name=x1" 5 | } 6 | T {@symname} -117 -6 0 0 0.3 0.3 {} 7 | T {@name} 135 -22 0 0 0.2 0.2 {} 8 | L 4 -130 -10 130 -10 {} 9 | L 4 -130 10 130 10 {} 10 | L 4 -130 -10 -130 10 {} 11 | L 4 130 -10 130 10 {} 12 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/test_nmos.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=subcircuit 18 | format="@name @pinlist @symname" 19 | template="name=x1" 20 | } 21 | T {@symname} -58.5 -6 0 0 0.3 0.3 {} 22 | T {@name} 135 -22 0 0 0.2 0.2 {} 23 | L 4 -130 -10 130 -10 {} 24 | L 4 -130 10 130 10 {} 25 | L 4 -130 -10 -130 10 {} 26 | L 4 130 -10 130 10 {} 27 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/test_nmos_sizes.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=subcircuit 18 | format="@name @pinlist @symname" 19 | template="name=x1" 20 | } 21 | T {@symname} -54 -6 0 0 0.3 0.3 {} 22 | T {@name} 135 -22 0 0 0.2 0.2 {} 23 | L 4 -130 -10 130 -10 {} 24 | L 4 -130 10 130 10 {} 25 | L 4 -130 -10 -130 10 {} 26 | L 4 130 -10 130 10 {} 27 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/test_pmos.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=subcircuit 18 | format="@name @pinlist @symname" 19 | template="name=x1" 20 | } 21 | T {@symname} -58.5 -6 0 0 0.3 0.3 {} 22 | T {@name} 135 -22 0 0 0.2 0.2 {} 23 | L 4 -130 -10 130 -10 {} 24 | L 4 -130 10 130 10 {} 25 | L 4 -130 -10 -130 10 {} 26 | L 4 130 -10 130 10 {} 27 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/test_res.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=subcircuit 18 | format="@name @pinlist @symname" 19 | template="name=x1" 20 | } 21 | V {} 22 | S {} 23 | E {} 24 | L 4 -130 -10 130 -10 {} 25 | L 4 -130 10 130 10 {} 26 | L 4 -130 -10 -130 10 {} 27 | L 4 130 -10 130 10 {} 28 | T {@symname} -48.5 -6 0 0 0.3 0.3 {} 29 | T {@name} 135 -22 0 0 0.2 0.2 {} 30 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/test_s_xfer.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2} 2 | K {type=subcircuit 3 | format="@name @pinlist @symname" 4 | template="name=x1" 5 | } 6 | T {@symname} -67.5 -6 0 0 0.3 0.3 {} 7 | T {@name} 135 -22 0 0 0.2 0.2 {} 8 | L 4 -130 -10 130 -10 {} 9 | L 4 -130 10 130 10 {} 10 | L 4 -130 -10 -130 10 {} 11 | L 4 130 -10 130 10 {} 12 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/test_stdcells.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=subcircuit 18 | format="@name @pinlist @symname" 19 | template="name=x1" 20 | } 21 | T {@symname} -54 -6 0 0 0.3 0.3 {} 22 | T {@name} 135 -22 0 0 0.2 0.2 {} 23 | L 4 -130 -10 130 -10 {} 24 | L 4 -130 10 130 10 {} 25 | L 4 -130 -10 -130 10 {} 26 | L 4 130 -10 130 10 {} 27 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/test_sweep_mos_w.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License.} 15 | G {} 16 | K {type=subcircuit 17 | format="@name @pinlist @symname" 18 | template="name=x1" 19 | } 20 | V {} 21 | S {} 22 | E {} 23 | L 4 -130 -10 130 -10 {} 24 | L 4 -130 10 130 10 {} 25 | L 4 -130 -10 -130 10 {} 26 | L 4 130 -10 130 10 {} 27 | T {@symname} -90 -6 0 0 0.3 0.3 {} 28 | T {@name} 135 -22 0 0 0.2 0.2 {} 29 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/test_varactor.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=subcircuit 18 | format="@name @pinlist @symname" 19 | template="name=x1" 20 | } 21 | V {} 22 | S {} 23 | E {} 24 | L 4 -130 -10 130 -10 {} 25 | L 4 -130 10 130 10 {} 26 | L 4 -130 -10 -130 10 {} 27 | L 4 130 -10 130 10 {} 28 | T {@symname} -48.5 -6 0 0 0.3 0.3 {} 29 | T {@name} 135 -22 0 0 0.2 0.2 {} 30 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/test_vpp_cap.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=subcircuit 18 | format="@name @pinlist @symname" 19 | template="name=x1" 20 | } 21 | V {} 22 | S {} 23 | E {} 24 | L 4 -130 -10 130 -10 {} 25 | L 4 -130 10 130 10 {} 26 | L 4 -130 -10 -130 10 {} 27 | L 4 130 -10 130 10 {} 28 | T {@symname} -48.5 -6 0 0 0.3 0.3 {} 29 | T {@name} 135 -22 0 0 0.2 0.2 {} 30 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/sky130_tests/zero_opamp.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=3.1.0 file_version=1.2 2 | } 3 | G {} 4 | K {type=subcircuit 5 | format="@name @pinlist @symname" 6 | template="name=x1" 7 | } 8 | V {} 9 | S {} 10 | E {} 11 | L 4 -60 -50 60 0 {} 12 | L 4 -60 50 60 0 {} 13 | L 4 -80 90 -60 90 {} 14 | L 4 -80 30 -60 30 {} 15 | L 4 -80 -30 -60 -30 {} 16 | L 4 60 0 80 0 {} 17 | L 4 -80 110 -60 110 {} 18 | L 4 -80 130 -60 130 {} 19 | L 4 -80 70 -60 70 {} 20 | L 4 -60 -50 -60 50 {} 21 | L 4 -60 50 -60 130 {bus=true} 22 | B 5 -82.5 87.5 -77.5 92.5 {name=EN_N dir=in } 23 | B 5 -82.5 27.5 -77.5 32.5 {name=MINUS dir=in } 24 | B 5 -82.5 -32.5 -77.5 -27.5 {name=PLUS dir=in } 25 | B 5 77.5 -2.5 82.5 2.5 {name=DIFFOUT dir=out } 26 | B 5 -82.5 107.5 -77.5 112.5 {name=VCC dir=in } 27 | B 5 -82.5 127.5 -77.5 132.5 {name=VSS dir=in } 28 | B 5 -82.5 67.5 -77.5 72.5 {name=ADJ dir=in } 29 | T {@symname} -46.5 -66 0 0 0.3 0.3 {} 30 | T {@name} 15 -32 0 0 0.2 0.2 {} 31 | T {EN_N} -55 86 0 0 0.2 0.2 {} 32 | T {MINUS} -55 21 0 0 0.2 0.2 {} 33 | T {PLUS} -55 -29 0 0 0.2 0.2 {} 34 | T {DIFFOUT} 35 -4 0 1 0.2 0.2 {} 35 | T {VCC} -55 106 0 0 0.2 0.2 {} 36 | T {VSS} -55 126 0 0 0.2 0.2 {} 37 | T {ADJ} -55 66 0 0 0.2 0.2 {} 38 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/AND2.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=stdcell 18 | vhdl_stop=true 19 | verilog_stop=true 20 | format="@name @pinlist @VCCPIN @VSSPIN @VCCBPIN @VSSBPIN @symname" 21 | template="name=x1 VCCPIN=VCC VSSPIN=VSS VCCBPIN=VCC VSSBPIN=VSS" 22 | generic_type="VCCPIN=string VSSPIN=string VCCBPIN=string VSSBPIN=string" 23 | extra="VCCPIN VSSPIN VCCBPIN VSSBPIN"} 24 | V {} 25 | S {} 26 | E {} 27 | L 4 -60 -20 -30 -20 {} 28 | L 4 -60 20 -30 20 {} 29 | L 4 -30 -30 -30 30 {} 30 | L 4 -30 30 5 30 {} 31 | L 4 -30 -30 5 -30 {} 32 | L 4 35 0 60 0 {} 33 | B 5 57.5 -2.5 62.5 2.5 {name=Y dir=out verilog_type=wire} 34 | B 5 -62.5 -22.5 -57.5 -17.5 {name=A dir=in} 35 | B 5 -62.5 17.5 -57.5 22.5 {name=B dir=in} 36 | A 4 5 0 30 270 180 {} 37 | T {@name} -28.75 -5 0 0 0.2 0.2 {} 38 | T {@symname} -25 -45 0 0 0.2 0.2 {} 39 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/AND2I.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=stdcell 18 | vhdl_stop=true 19 | verilog_stop=true 20 | format="@name @pinlist @VCCPIN @VSSPIN @VCCBPIN @VSSBPIN @symname" 21 | template="name=x1 VCCPIN=VCC VSSPIN=VSS VCCBPIN=VCC VSSBPIN=VSS" 22 | generic_type="VCCPIN=string VSSPIN=string VCCBPIN=string VSSBPIN=string" 23 | extra="VCCPIN VSSPIN VCCBPIN VSSBPIN"} 24 | V {} 25 | S {} 26 | E {} 27 | L 4 -60 20 -30 20 {} 28 | L 4 -30 -30 -30 30 {} 29 | L 4 -30 30 5 30 {} 30 | L 4 -30 -30 5 -30 {} 31 | L 4 35 0 60 0 {} 32 | L 4 -60 -20 -40 -20 {} 33 | B 5 57.5 -2.5 62.5 2.5 {name=Y dir=out verilog_type=wire} 34 | B 5 -62.5 -22.5 -57.5 -17.5 {name=A dir=in} 35 | B 5 -62.5 17.5 -57.5 22.5 {name=B dir=in} 36 | A 4 5 0 30 270 180 {} 37 | A 4 -35 -20 5 0 360 {} 38 | T {@name} -28.75 -5 0 0 0.2 0.2 {} 39 | T {@symname} -25 -45 0 0 0.2 0.2 {} 40 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/BUF.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=stdcell 18 | vhdl_stop=true 19 | verilog_stop=true 20 | format="@name @pinlist @VCCPIN @VSSPIN @VCCBPIN @VSSBPIN @symname" 21 | template="name=x1 VCCPIN=VCC VSSPIN=VSS VCCBPIN=VCC VSSBPIN=VSS" 22 | generic_type="VCCPIN=string VSSPIN=string VCCBPIN=string VSSBPIN=string" 23 | extra="VCCPIN VSSPIN VCCBPIN VSSBPIN"} 24 | V {} 25 | S {} 26 | E {} 27 | L 4 -20 -20 -20 20 {} 28 | L 4 -20 -20 20 0 {} 29 | L 4 -20 20 20 0 {} 30 | L 4 20 0 40 0 {} 31 | L 4 -40 -0 -20 0 {} 32 | B 5 37.5 -2.5 42.5 2.5 {name=Y dir=out verilog_type=wire} 33 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in} 34 | T {@name} 2.5 15 0 0 0.2 0.2 {} 35 | T {@symname} 2.5 -25 0 0 0.2 0.2 {} 36 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/INV.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=stdcell 18 | vhdl_stop=true 19 | verilog_stop=true 20 | format="@name @pinlist @VCCPIN @VSSPIN @VCCBPIN @VSSBPIN @symname" 21 | template="name=x1 VCCPIN=VCC VSSPIN=VSS VCCBPIN=VCC VSSBPIN=VSS" 22 | generic_type="VCCPIN=string VSSPIN=string VCCBPIN=string VSSBPIN=string" 23 | extra="VCCPIN VSSPIN VCCBPIN VSSBPIN"} 24 | V {} 25 | S {} 26 | E {} 27 | L 4 -20 -20 -20 20 {} 28 | L 4 -20 -20 20 0 {} 29 | L 4 -20 20 20 0 {} 30 | L 4 30 0 40 0 {} 31 | L 4 -40 -0 -20 0 {} 32 | B 5 37.5 -2.5 42.5 2.5 {name=Y dir=out verilog_type=wire} 33 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in} 34 | A 4 25 0 5 180 360 {} 35 | T {@name} 0 15 0 0 0.2 0.2 {} 36 | T {@symname} 0 -25 0 0 0.2 0.2 {} 37 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/NAND2.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=stdcell 18 | vhdl_stop=true 19 | verilog_stop=true 20 | format="@name @pinlist @VCCPIN @VSSPIN @VCCBPIN @VSSBPIN @symname" 21 | template="name=x1 VCCPIN=VCC VSSPIN=VSS VCCBPIN=VCC VSSBPIN=VSS" 22 | generic_type="VCCPIN=string VSSPIN=string VCCBPIN=string VSSBPIN=string" 23 | extra="VCCPIN VSSPIN VCCBPIN VSSBPIN"} 24 | V {} 25 | S {} 26 | E {} 27 | L 4 -60 -20 -30 -20 {} 28 | L 4 -60 20 -30 20 {} 29 | L 4 -30 -30 -30 30 {} 30 | L 4 -30 30 5 30 {} 31 | L 4 -30 -30 5 -30 {} 32 | L 4 45 0 60 0 {} 33 | B 5 57.5 -2.5 62.5 2.5 {name=Y dir=out verilog_type=wire} 34 | B 5 -62.5 -22.5 -57.5 -17.5 {name=A dir=in} 35 | B 5 -62.5 17.5 -57.5 22.5 {name=B dir=in} 36 | A 4 5 0 30 270 180 {} 37 | A 4 40 0 5 0 360 {} 38 | T {@name} -28.75 -5 0 0 0.2 0.2 {} 39 | T {@symname} -25 -45 0 0 0.2 0.2 {} 40 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/TBUF.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=stdcell 18 | vhdl_stop=true 19 | verilog_stop=true 20 | format="@name @pinlist @VCCPIN @VSSPIN @VCCBPIN @VSSBPIN @symname" 21 | template="name=x1 VCCPIN=VCC VSSPIN=VSS VCCBPIN=VCC VSSBPIN=VSS" 22 | generic_type="VCCPIN=string VSSPIN=string VCCBPIN=string VSSBPIN=string" 23 | extra="VCCPIN VSSPIN VCCBPIN VSSBPIN"} 24 | V {} 25 | S {} 26 | E {} 27 | L 4 -20 -20 -20 20 {} 28 | L 4 -20 -20 20 0 {} 29 | L 4 -20 20 20 0 {} 30 | L 4 20 0 40 0 {} 31 | L 4 -40 -0 -20 0 {} 32 | L 4 -40 40 0 40 {} 33 | L 4 0 10 -0 40 {} 34 | B 5 37.5 -2.5 42.5 2.5 {name=Y dir=out verilog_type=wire} 35 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in} 36 | B 5 -42.5 37.5 -37.5 42.5 {name=E dir=in} 37 | T {@name} 7.5 15 0 0 0.2 0.2 {} 38 | T {@symname} 7.5 -25 0 0 0.2 0.2 {} 39 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/TBUFI.sym: -------------------------------------------------------------------------------- 1 | v {xschem version=2.9.8 file_version=1.2 2 | * Copyright 2021 Stefan Frederik Schippers 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | 16 | } 17 | G {type=stdcell 18 | vhdl_stop=true 19 | verilog_stop=true 20 | format="@name @pinlist @VCCPIN @VSSPIN @VCCBPIN @VSSBPIN @symname" 21 | template="name=x1 VCCPIN=VCC VSSPIN=VSS VCCBPIN=VCC VSSBPIN=VSS" 22 | generic_type="VCCPIN=string VSSPIN=string VCCBPIN=string VSSBPIN=string" 23 | extra="VCCPIN VSSPIN VCCBPIN VSSBPIN"} 24 | V {} 25 | S {} 26 | E {} 27 | L 4 -20 -20 -20 20 {} 28 | L 4 -20 -20 20 0 {} 29 | L 4 -20 20 20 0 {} 30 | L 4 20 0 40 0 {} 31 | L 4 -40 -0 -20 0 {} 32 | L 4 -40 40 0 40 {} 33 | L 4 0 20.625 -0 40 {} 34 | B 5 37.5 -2.5 42.5 2.5 {name=Y dir=out verilog_type=wire} 35 | B 5 -42.5 -2.5 -37.5 2.5 {name=A dir=in} 36 | B 5 -42.5 37.5 -37.5 42.5 {name=E dir=in} 37 | A 4 0 15.625 5 0 360 {} 38 | T {@name} 7.5 15 0 0 0.2 0.2 {} 39 | T {@symname} 7.5 -25 0 0 0.2 0.2 {} 40 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/AND2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/AND2.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/AND2I.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/AND2I.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/AND3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/AND3.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/AND4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/AND4.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/AND5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/AND5.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/AND8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/AND8.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/AO21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/AO21.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/AO22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/AO22.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/AOI21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/AOI21.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/AOI22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/AOI22.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/BUF.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/BUF.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/DFF.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/DFF.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/DFFI.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/DFFI.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/DFFIQ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/DFFIQ.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/DFFIR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/DFFIR.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/DFFIRQ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/DFFIRQ.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/DFFIS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/DFFIS.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/DFFISQ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/DFFISQ.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/DFFISR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/DFFISR.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/DFFISRQ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/DFFISRQ.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/DFFQ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/DFFQ.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/DFFR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/DFFR.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/DFFRQ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/DFFRQ.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/DFFS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/DFFS.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/DFFSQ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/DFFSQ.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/DFFSR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/DFFSR.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/DFFSRQ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/DFFSRQ.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/EDFF.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/EDFF.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/EDFFQ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/EDFFQ.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/FA.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/FA.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/HA.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/HA.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/INV.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/INV.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/LATCH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/LATCH.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/LATCHI.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/LATCHI.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/LATCHIQ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/LATCHIQ.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/LATCHIR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/LATCHIR.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/LATCHIRQ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/LATCHIRQ.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/LATCHIS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/LATCHIS.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/LATCHISQ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/LATCHISQ.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/LATCHQ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/LATCHQ.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/LATCHR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/LATCHR.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/LATCHRQ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/LATCHRQ.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/LATCHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/LATCHS.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/LATCHSQ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/LATCHSQ.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/MUX2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/MUX2.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/MUX2I.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/MUX2I.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/MUX4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/MUX4.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/MUX4I.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/MUX4I.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/NAND2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/NAND2.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/NAND2I.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/NAND2I.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/NAND3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/NAND3.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/NAND4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/NAND4.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/NAND5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/NAND5.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/NAND8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/NAND8.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/NOR2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/NOR2.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/NOR2I.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/NOR2I.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/NOR3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/NOR3.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/NOR4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/NOR4.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/NOR5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/NOR5.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/NOR8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/NOR8.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/OA21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/OA21.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/OA22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/OA22.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/OAI21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/OAI21.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/OAI22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/OAI22.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/OR2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/OR2.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/OR2I.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/OR2I.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/OR3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/OR3.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/OR4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/OR4.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/OR5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/OR5.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/OR8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/OR8.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/SDFF.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/SDFF.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/SDFFQ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/SDFFQ.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/TBUF.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/TBUF.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/TBUFI.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/TBUFI.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/XNOR2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/XNOR2.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/XOR2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/XOR2.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/gate_attributes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/gate_attributes.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/stdcells/doc/gates.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/stdcells/doc/gates.png -------------------------------------------------------------------------------- /xscheme/xschem_sky130/xschem_verilog_import/count_nets.awk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/awk -f 2 | 3 | 4 | 5 | /^X/{ 6 | for(i = 2; i < NF; i++) { 7 | net[$i] = 1 8 | } 9 | } 10 | 11 | END{ 12 | n = 0 13 | for(i in net) { 14 | n++ 15 | print i 16 | } 17 | # print "tot=", n 18 | } 19 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/xschem_verilog_import/counter.sym: -------------------------------------------------------------------------------- 1 | K {type=primitive 2 | format="@name @@VGND @@VPWR @@clk_i @@reset_i @@out_o[3] @@out_o[2] @@out_o[1] @@out_o[0] counter" 3 | template="name=x1 prefix=sky130_fd_sc_hd__ " 4 | extra=" prefix"} 5 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 6 | T {@name} 135 -52 0 0 0.2 0.2 {} 7 | L 4 -130 -40 130 -40 {} 8 | L 4 -130 40 130 40 {} 9 | L 4 -130 -40 -130 40 {} 10 | L 4 130 -40 130 40 {} 11 | B 5 -152.5 -32.5 -147.5 -27.5 {name=VGND dir=in } 12 | L 4 -150 -30 -130 -30 {} 13 | T {VGND} -125 -34 0 0 0.2 0.2 {} 14 | B 5 -152.5 -12.5 -147.5 -7.5 {name=VPWR dir=in } 15 | L 4 -150 -10 -130 -10 {} 16 | T {VPWR} -125 -14 0 0 0.2 0.2 {} 17 | B 5 -152.5 7.5 -147.5 12.5 {name=clk_i dir=in } 18 | L 4 -150 10 -130 10 {} 19 | T {clk_i} -125 6 0 0 0.2 0.2 {} 20 | B 5 -152.5 27.5 -147.5 32.5 {name=reset_i dir=in } 21 | L 4 -150 30 -130 30 {} 22 | T {reset_i} -125 26 0 0 0.2 0.2 {} 23 | B 5 147.5 -32.5 152.5 -27.5 {name=out_o[3:0] dir=out } 24 | L 4 130 -30 150 -30 {} 25 | T {out_o[3:0]} 125 -34 0 1 0.2 0.2 {} 26 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/xschem_verilog_import/gmon.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RIOSLaboratory/OpenXRAM/e88edcd4c903a57d91d4fbc5ed5416a090d8f45f/xscheme/xschem_sky130/xschem_verilog_import/gmon.out -------------------------------------------------------------------------------- /xscheme/xschem_sky130/xschem_verilog_import/sky130_fd_sc_hvl__lsbuflv2hv_1.sym: -------------------------------------------------------------------------------- 1 | K {type=primitive 2 | format="@name @@A @LVPWR @VGND @VNB @VPB @VPWR @@X sky130_fd_sc_hvl__lsbuflv2hv_1" 3 | template="name=x1 LVPWR=LVPWR VGND=VGND VNB=VNB VPB=VPB VPWR=VPWR prefix=sky130_fd_pr__ " 4 | extra="LVPWR VGND VNB VPB VPWR prefix"} 5 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 6 | T {@name} 135 -32 0 0 0.2 0.2 {} 7 | L 4 -130 -20 130 -20 {} 8 | L 4 -130 20 130 20 {} 9 | L 4 -130 -20 -130 20 {} 10 | L 4 130 -20 130 20 {} 11 | B 5 147.5 -12.5 152.5 -7.5 {name=A dir=inout } 12 | L 7 130 -10 150 -10 {} 13 | T {A} 125 -14 0 1 0.2 0.2 {} 14 | B 5 147.5 7.5 152.5 12.5 {name=X dir=inout } 15 | L 7 130 10 150 10 {} 16 | T {X} 125 6 0 1 0.2 0.2 {} 17 | -------------------------------------------------------------------------------- /xscheme/xschem_sky130/xschem_verilog_import/spm.sym: -------------------------------------------------------------------------------- 1 | K {type=primitive 2 | format="@name @@VGND @@VPWR @@clk @@p @@rst @@y @@x[31] @@x[30] @@x[29] @@x[28] @@x[27] @@x[26] @@x[25] @@x[24] @@x[23] @@x[22] @@x[21] @@x[20] @@x[19] @@x[18] @@x[17] @@x[16] @@x[15] @@x[14] @@x[13] @@x[12] @@x[11] @@x[10] @@x[9] @@x[8] @@x[7] @@x[6] @@x[5] @@x[4] @@x[3] @@x[2] @@x[1] @@x[0] spm" 3 | template="name=x1 prefix=sky130_fd_sc_hd__ " 4 | extra=" prefix"} 5 | T {@symname} 0 -6 0 0 0.3 0.3 {hcenter=true} 6 | T {@name} 135 -72 0 0 0.2 0.2 {} 7 | L 4 -130 -60 130 -60 {} 8 | L 4 -130 60 130 60 {} 9 | L 4 -130 -60 -130 60 {} 10 | L 4 130 -60 130 60 {} 11 | B 5 -152.5 -52.5 -147.5 -47.5 {name=VGND dir=in } 12 | L 4 -150 -50 -130 -50 {} 13 | T {VGND} -125 -54 0 0 0.2 0.2 {} 14 | B 5 -152.5 -32.5 -147.5 -27.5 {name=VPWR dir=in } 15 | L 4 -150 -30 -130 -30 {} 16 | T {VPWR} -125 -34 0 0 0.2 0.2 {} 17 | B 5 -152.5 -12.5 -147.5 -7.5 {name=clk dir=in } 18 | L 4 -150 -10 -130 -10 {} 19 | T {clk} -125 -14 0 0 0.2 0.2 {} 20 | B 5 147.5 -52.5 152.5 -47.5 {name=p dir=out } 21 | L 4 130 -50 150 -50 {} 22 | T {p} 125 -54 0 1 0.2 0.2 {} 23 | B 5 -152.5 7.5 -147.5 12.5 {name=rst dir=in } 24 | L 4 -150 10 -130 10 {} 25 | T {rst} -125 6 0 0 0.2 0.2 {} 26 | B 5 -152.5 27.5 -147.5 32.5 {name=y dir=in } 27 | L 4 -150 30 -130 30 {} 28 | T {y} -125 26 0 0 0.2 0.2 {} 29 | B 5 -152.5 47.5 -147.5 52.5 {name=x[31:0] dir=in } 30 | L 4 -150 50 -130 50 {} 31 | T {x[31:0]} -125 46 0 0 0.2 0.2 {} 32 | --------------------------------------------------------------------------------