{"id":18392224,"url":"https://github.com/lethalbit/ngspice-meson","last_synced_at":"2025-06-14T07:04:38.092Z","repository":{"id":204700152,"uuid":"711383215","full_name":"lethalbit/ngspice-meson","owner":"lethalbit","description":"Mirror of ngspice w/ meson patches for inclusion as a subproject","archived":false,"fork":false,"pushed_at":"2024-01-20T00:21:46.000Z","size":33551,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"meson","last_synced_at":"2025-04-07T03:35:30.526Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ngspice.sourceforge.io/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lethalbit.png","metadata":{"files":{"readme":"README.adms","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-29T04:48:38.000Z","updated_at":"2024-01-23T16:50:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"e9400f7b-3082-4c15-bf2e-8869504e6167","html_url":"https://github.com/lethalbit/ngspice-meson","commit_stats":null,"previous_names":["lethalbit/ngspice-meson"],"tags_count":56,"template":false,"template_full_name":null,"purl":"pkg:github/lethalbit/ngspice-meson","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lethalbit%2Fngspice-meson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lethalbit%2Fngspice-meson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lethalbit%2Fngspice-meson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lethalbit%2Fngspice-meson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lethalbit","download_url":"https://codeload.github.com/lethalbit/ngspice-meson/tar.gz/refs/heads/meson","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lethalbit%2Fngspice-meson/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259775233,"owners_count":22909199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T01:54:42.453Z","updated_at":"2025-06-14T07:04:38.042Z","avatar_url":"https://github.com/lethalbit.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"This document is covered by the Creative Commons Attribution Share-Alike (CC-BY-SA) v4.0. .\n\nAs of Jan. 2023 ADMS is deprectated and replaced by OpenVAF/OSDI.\nSee README_OSDI.md and README_OSDI_howto.\nAll references to ADMS will be removed in a future ngspice release.\n\n\n\n\n***************  Verilog A Device models in ngspice ******************************************\n\n\n1 Introduction\n\nNew compact device models today are released as Verilog-A code. Ngspice applies ADMS to\ntranslate the va code into ngspice C syntax. Currently a limited number of Verilog-A models is\nsupported: HICUM level0 and level2 (HICUM model web page), MEXTRAM (MEXTRAM\nmodel web page), EKV (EKV model web page) and PSP (NXP PSP web site).\n\n\n2 ADMS\n\nADMS is a code generator that converts electrical compact device models specified in high-level\ndescription language into ready-to-compile C code for the API of spice simulators. Based on\ntransformations specified in XML language, ADMS transforms Verilog-AMS code into other\ntarget languages. Here we use it to to translate the va code into ngspice C syntax.\nTo make use of it, a set of ngspice specific XML files is distributed with ngspice in ngspice\\\nsrc\\spicelib\\devices\\adms\\admst. Their translation is done by the code generator executable\nadmsXml (see below).\n\n\n3 How to integrate a Verilog-A model into ngspice\n\n3.1 How to setup a *.va model for ngspice\n\nUnfortunately most of the above named models’ licenses are not compatible to free software\nrules as defined by DFSG. Therefore since ngspice-28 the va model files are no longer part of\nthe standard ngspice distribution. They may however be downloaded as a tar.gz archive from the\nngspice-30 file distribution folder. After downloading, you may expand the zipped files into\nyour ngspice top level folder. The models enable dc, ac, and tran simulations. Noise simulation\nis not supported.\nOther (foreign) va model files will not compile without code tweaking, due to the limited\ncapabilities of our ADMS installation.\n\n\n3.2 Adding admsXml to your build environment\n\nThe actual admsXml code is maintained by the QUCS project and is available at GitHub.\nInformation on how to compile and install admsXml for Linux or Cygwin is available on the\nGitHub page. For MS Windows users admsXml.exe is available for download from\nhttps://sourceforge.net/projects/mot-adms/. You may copy admsXml.exe to your MSYS2 setup \ninto the folder msys64\\mingw64\\bin, if 64 bit compilation is intended.\nMore information, though partially outdated, is obtainable from the ngspice web pages \n(http://ngspice.sourceforge.net/admshowto.html) and from README-old.adms.\n\n\n3.3 Compile ngspice with ADMS\n\nIn the top level ngspice folder there are two compile scripts compile_min.sh and compile_linux.sh.\nThey contain information how to compile ngspice with ADMS. You will have to run autogen.sh\nwith the adms flag\n./autogen.sh --adms\nIn addition you have to add --enable-adms to the ./configure command. Please check chapter\n32.1 of the ngspice manual for perequisites and further details.\nCompiling ngspice with ADMS with MS Visual Studio is not supported.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flethalbit%2Fngspice-meson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flethalbit%2Fngspice-meson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flethalbit%2Fngspice-meson/lists"}