v {xschem version=3.4.4 file_version=1.2 * * This file is part of XSCHEM, * a schematic capture and Spice/Vhdl/Verilog netlisting tool for circuit * simulation. * Copyright (C) 1998-2023 Stefan Frederik Schippers * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA } G {} K {type=regulator format="@spiceprefix@name @pinlist @symname" verilog_format="assign @#2 = @#0 ;" tedax_format="footprint @name @footprint value @name @value device @name @device spicedev @name @spicedev spiceval @name @spiceval comptag @name @comptag" template="name=U1 device=7805 footprint=TO220"} V {} S {} E {} L 4 -60 0 -50 0 {} L 4 50 0 60 0 {} L 4 -50 -20 50 -20 {} L 4 50 -20 50 20 {} L 4 -50 20 50 20 {} L 4 -50 -20 -50 20 {} L 4 0 20 0 30 {} B 5 -62.5 -2.5 -57.5 2.5 {name=IN dir=in pinnumber=1} B 5 -2.5 27.5 2.5 32.5 {name=GND dir=inout pinnumber=2} B 5 57.5 -2.5 62.5 2.5 {name=OUT dir=out pinnumber=3} T {@name} -10 -17.5 0 0 0.2 0.2 {} T {@device} -17.5 -32.5 0 0 0.2 0.2 {} T {@#0:pinnumber} -47.5 -5 0 0 0.2 0.2 {} T {@#1:pinnumber} -5 7.5 0 0 0.2 0.2 {} T {@#2:pinnumber} 47.5 -5 0 1 0.2 0.2 {}