From: Ryan F. <rya...@up...> - 2013-05-14 06:39:31
|
Hi Yoichiro, The code posted there is somewhat experimental at the moment. I've been meaning to clean that up, but I've gotten quite busy lately. The first revision in the repository will probably work, or there's a download link on the adms page in the ngspice website. Sorry about the confusion. On Tue, May 14, 2013 at 1:45 AM, <yoi...@to...> wrote: > ** > Dear Sirs, > > I am trying to compile ngspice with verilog-a model such as hicum0. But, > it seems admsXml does not create the proper codes. > My environment is Linux(RHEL4). > What I did is: > First, I downloaded adms-2.3 from https://github.com/upverter/ADMS > cd ADMS-mater > chmod 777 ./configure > ./configure > make > make install > Then, according to README.adms in ngspice source tree, > cd ngspice-24/src/spicelib/device/adms/hicum0 > admsXml admsva/hic0_full.va -Iadmsva -e > ../admst/ngspiceMakefile.am.xml > > Here, a problem arises. Resulting Makefile.am in hicum0 directory is > > ## > ## Interface: > ## created by: admsXml-2.3.0 - Tue, 14 May 2013 13:45:42 > > ## Process this file with automake to produce Makefile.in > > ADMSXMLINTERFACE=$(srcdir)/../admst > > noinst_LTLIBRARIES = lib.la > > BUILT_SOURCES = \ > .c \ > .hxx \ > acld.c \ > ask.c \ > defs.h \ > del.c \ > dest.c \ > ext.h \ > guesstopology.c \ > init.c \ > init.h \ > itf.h \ > load.c \ > mask.c \ > mdel.c \ > mpar.c \ > par.c \ > pzld.c \ > setup.c \ > temp.c \ > trunc.c > Curiously, module name is lacking in BUILT_SOURCES. In > ngspiceMakefile.am.xml, > BUILT_SOURCES = \\ > $(module).c \\ > $(module).hxx \\ > $(module)acld.c \\ > $(module)ask.c \\ > $(module)defs.h \\ > $(module)del.c \\ > $(module)dest.c \\ > $(module)ext.h \\ > $(module)guesstopology.c \\ > $(module)init.c \\ > $(module)init.h \\ > $(module)itf.h \\ > $(module)load.c \\ > $(module)mask.c \\ > $(module)mdel.c \\ > $(module)mpar.c \\ > $(module)par.c \\ > $(module)pzld.c \\ > $(module)setup.c \\ > $(module)temp.c \\ > $(module)trunc.c > > so that I guess $(module) cannot be properly replaced with 'hic0_full'. In > admsva/hic0_full.va, > "module" line is > > module hic0_full (c,b,e,s,tnode); > > The name of module is matched with the file name. > > Could you please give me any advice ? > > Sincerely, > Yoichiro Niitsu > Toshiba > > > > ------------------------------------------------------------------------------ > AlienVault Unified Security Management (USM) platform delivers complete > security visibility with the essential security capabilities. Easily and > efficiently configure, manage, and operate all of your security controls > from a single console and one unified framework. Download a free trial. > http://p.sf.net/sfu/alienvault_d2d > _______________________________________________ > Ngspice-devel mailing list > Ngs...@li... > https://lists.sourceforge.net/lists/listinfo/ngspice-devel > > |