diff options
author | rahulp13 | 2021-01-07 07:55:48 +0530 |
---|---|---|
committer | rahulp13 | 2021-01-07 07:55:48 +0530 |
commit | 088203b088a02eabb4606dc734e901b81f237b11 (patch) | |
tree | ebe9109661a149c82fc66599a6ce8103637d0b4a /Windows/spice/docs/README.adms | |
parent | ac223c4a69c701ad0a247401acdc48b8b6b6dba6 (diff) | |
download | eSim-088203b088a02eabb4606dc734e901b81f237b11.tar.gz eSim-088203b088a02eabb4606dc734e901b81f237b11.tar.bz2 eSim-088203b088a02eabb4606dc734e901b81f237b11.zip |
removed outdated dependencies
Diffstat (limited to 'Windows/spice/docs/README.adms')
-rw-r--r-- | Windows/spice/docs/README.adms | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/Windows/spice/docs/README.adms b/Windows/spice/docs/README.adms deleted file mode 100644 index cbda7a84..00000000 --- a/Windows/spice/docs/README.adms +++ /dev/null @@ -1,58 +0,0 @@ -This document is covered by the Creative Commons Attribution Share-Alike (CC-BY-SA) v4.0. . - -*************** Verilog A Device models in ngspice ****************************************** - - -1 Introduction - -New compact device models today are released as Verilog-A code. Ngspice applies ADMS to -translate the va code into ngspice C syntax. Currently a limited number of Verilog-A models is -supported: HICUM level0 and level2 (HICUM model web page), MEXTRAM (MEXTRAM -model web page), EKV (EKV model web page) and PSP (NXP PSP web site). - - -2 ADMS - -ADMS is a code generator that converts electrical compact device models specified in high-level -description language into ready-to-compile C code for the API of spice simulators. Based on -transformations specified in XML language, ADMS transforms Verilog-AMS code into other -target languages. Here we use it to to translate the va code into ngspice C syntax. -To make use of it, a set of ngspice specific XML files is distributed with ngspice in ngspice\ -src\spicelib\devices\adms\admst. Their translation is done by the code generator executable -admsXml (see below). - - -3 How to integrate a Verilog-A model into ngspice - -3.1 How to setup a *.va model for ngspice - -Unfortunately most of the above named models’ licenses are not compatible to free software -rules as defined by DFSG. Therefore since ngspice-28 the va model files are no longer part of -the standard ngspice distribution. They may however be downloaded as a tar.gz archive from the -ngspice-30 file distribution folder. After downloading, you may expand the zipped files into -your ngspice top level folder. The models enable dc, ac, and tran simulations. Noise simulation -is not supported. -Other (foreign) va model files will not compile without code tweaking, due to the limited -capabilities of our ADMS installation. - - -3.2 Adding admsXml to your build environment - -The actual admsXml code is maintained by the QUCS project and is available at GitHub. -Information on how to compile and install admsXml for Linux or Cygwin is available on the -GitHub page. For MS Windows users admsXml.exe is available for download from -https://sourceforge.net/projects/mot-adms/. You may copy admsXml.exe to your MSYS2 setup -into the folder msys64\mingw64\bin, if 64 bit compilation is intended. -More information, though partially outdated, is obtainable from the ngspice web pages -(http://ngspice.sourceforge.net/admshowto.html) and from README-old.adms. - - -3.3 Compile ngspice with ADMS - -In the top level ngspice folder there are two compile scripts compile_min.sh and compile_linux.sh. -They contain information how to compile ngspice with ADMS. You will have to run autogen.sh -with the adms flag -./autogen.sh --adms -In addition you have to add --enable-adms to the ./configure command. Please check chapter -32.1 of the ngspice manual for perequisites and further details. -Compiling ngspice with ADMS with MS Visual Studio is not supported. |