📄 make-symbol-device-package-bsdl.ulp
字号:
#usage "<qt><nobr><b>Make Symbol, Device, Package or use Package in LBR</b>\n"
"<p>"
"Generates Symbol and Device from a text file containing a list of pin names.<br>"
"This version can use <b>BSDL</b> (<i>Boundary Scan Description Language</i>) files to create a Package for BGA<br>"
"or use a set of parameters to generate a Package.<br>"
"<p>"
"<author>Author: ed@anuff.com / librarian@cadsoft.de</author></nobr></qt>"
/*
* Copyright (c) 2004 Ed Anuff <ed@anuff.com>. All Rights Reserved.
*
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
// Rev: 1 (Eagle 4.12r04) - 2004.08.13 alf@cadsoft.de
// *****************************************************************
// Rev: 2 (Eagle 4.13) - 2004.14.09 alf@cadsoft.de
// special sorting for Pad names with 2-Alpha-Character
// *** Xilix BSM-Files without ";" in line *************************
// Xilinx = "linkage bit_vector (" and ": inout bit -- "
// BSDL = "linkage bit_vector; (" and ": inout bit; -- "
// *****************************************************************
// Rev: 3 (Eagle 4.13) - 2004.11.23 alf@cadsoft.de
// corrected parse line with "port"
// *** Xilinx BSM-Files
// "port (" - without spaces
// *** Intel .bsdl-Files
// " port (" - with spaces
// corrected Function: [Replace] character string
// *****************************************************************
// Rev: 4 (Eagle 4.13) - 2005.01.10 alf@cadsoft.de
// port: trim left spaces from string
// pars_map() corrected counter
// *****************************************************************
// Rev: 5 (Eagle 4.13) - 2005.01.27 alf@cadsoft.de
// AnalogDevice uses Tabulator not Space characters and
// some times places no space before use direction
// *****************************************************************
// Rev: 6 (Eagle 4.13) - 2005.03.23 alf@cadsoft.de
// Device and Package description font bold/italic
// *****************************************************************
// Rev: 7 (Eagle 4.14) - 2005.06.06 alf@cadsoft.de
// Accept comment "--" in line
// *****************************************************************
// Rev: 8 (Eagle 4.15) - 2005.06.28 alf@cadsoft.de
// Corrected grid and Package outlines
// allways set grid to 1.0 mm (default)
// *****************************************************************
// Rev: 9 (Eagle 4.15) - 2005.08.02 alf@cadsoft.de
// change TAB with SPACE "\t" --> " "
// Improved search end of "port" list for Xilinx-BSDL-Files
// *****************************************************************
// Rev: 10 (Eagle 4.15) - 2005.08.19 alf@cadsoft.de
// Menu to generate quad and dual pin packages
// correct port-end-parse with ");" and for AnalogDevice == "));"
// *****************************************************************
// Rev: 11 (Eagle 4.15) - 2005.10.18 alf@cadsoft.de
// new parse end of port, counts open-close Bracked
// BSDL can use multiple packages, now can select one, if more than one defined
// Also generate Symbol only
// Generate Package variant
// Scan "BSDL" in text to set BSDL-Parse-Option
// *****************************************************************
string Revision = "Rev. 11";
string HelpDE = "<qt><nobr>Dieses ULP unterst黷zt die Generierung von Symbolen, Devices und Packages.<br>" +
"Eine <b>BSDL</b>-Datei (<i>Boundary Scan Description Language</i> .bsdl) wird automatisch geparsed.<br>"+
"<b>Pin-Direction:</b> Der Bezeichner '<i>linkage</i>' wird f黵 No-Connects (NC), Power (VCC), oder Ground (GND) benutzt, wobei anhand der BSDL-Daten <br>"+
"nicht unterschieden werden kann ob es sich um einen NC oder PWR Pin handelt.<br>"+
"In einigen F鋖len kann es vorkommen das dadurch Signalpins die Direction PWR erhalten, die man manuell im Symbol-Editor 鋘dern mu
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -