mslib_readme

来自「ngspice又一个电子CAD仿真软件代码.功能更全」· 代码 · 共 35 行

TXT
35
字号
Mslib can create a small tmp library which can be .include to spice deck orused as tmp file with libprm.You invoke it like this: mslib deck_name [tmp_lib_name]. If second argumentis not given mslib uses deck_name.lib. Mslib then reads deck and looks forspecial commands in it. This commands are:*SUB name1 name2 ... - what subckts are used*MOD name1 name2 ... - what models are used*LIB name1 name2 ... - what libraries should be searchedYou can give full path for libraries or just the name. Mslib tries tofind them in current directory and then in directory specified in datadef.hfile. There are also some other default options defined there. Check them After all a tmp. library for the deck is created. It consist only the models and subckts that were specified in *MOD and *SUB commands. This is all. Mslib is _NOT_ a good program. It should automatically recognize what modelsor subckts were used and it should be written with flex or bison. Now itjust indicates what is my level of programming in C. There are some options that You can set for mslib in datadef.h. I tried to document all of them there, so when want to know more look to the sources.And one more thing. There is a perl program "spiceprm" that lets You useparameters in subckts. Many Intusoft's libraries use this feature. To useparameters I have written a small shell script "libprm". This programautomatic runs spiceprm and mslib on Your's deck to give a working spiceinput file. To see how this all works please read "libprm_readme" and spiceprm readme.   	

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?