gnucap-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnucap-devel] xml interface for gnucap


From: Lemaitre Laurent-r29173
Subject: [Gnucap-devel] xml interface for gnucap
Date: Mon, 6 Oct 2003 18:01:25 +0200

Al,

I just started the implementation of the xml scripts of gnucap.
Attached are:
1- MOS1.va: a simple MOS in verilog-AMS.
2- gnucapMODULE.h.xsl: this script creates .h file (see below)
3- d_MOS1.h: device header file for gnucap

Can you give a try to the example?
Here is how it works (I assume you installed adms):
1- admsPreprocessor MOS1.va > MOS1.ve
   This command will create MOS1.ve. This file is MOS1.va - but preprocessed.
2- admsXml MOS1.ve -e gnucapMODULE.h.xsl
   This command transforms MOS1.ve and saves
   the transformation result in d_MOS1.h according to transformation rules 
specified in gnucapMODULE.h.xsl

Since I have many questions on the gnucap interface it will be great if you
try to understand what 1- and 2- do.
Then we can focus on the implementation of MOS1 into gnucap.

What is the good place to put the xml scripts for gnucap?
I can add them to sourceforge.net (adms project). But I don't know if it is
the best choice.

Thanks,

Laurent Lemaitre
Motorola - Geneva


> -----Original Message-----
> From: Al Davis [mailto:address@hidden 
> Sent: Monday, October 06, 2003 2:10 PM
> To: Lemaitre Laurent-r29173; address@hidden
> Subject: Re: [Bug-gnucap] suggestion: xml interface for 
> gnucap using adms
> 
> 
> On Thursday 02 October 2003 06:05 pm, Lemaitre Laurent-r29173 
> wrote:
> > I am writing an open-source model compiler
> > for spice simulators.
> > The compiler takes as input Verilog-AMS
> > description of compact models and
> > transform the input according to a set
> > of xml rules (similar to xsl transforms
> > of xml documents.)
> >
> > I implemented an xml interface from
> > Verilog-AMS to spectre/CADENCE API
> > and to ads/AGILENT public API.
> >
> > Can we join our effort and write a similar
> > interface for GNUCAP?
> 
> Yes.  
> 
> Gnucap already has a model compiler, but it doesn't YET take 
> Verilog-AMS.  
> 
> I see you are presenting at BMAS on "extensions to Verilog-A 
> needed for model compilers".  I have some other ideas we can 
> share (inheritance, probes, etc.)  I will see you there.
> 
> For other readers of the list ...  http://www.bmas-conf.org .
> 
> al.
> 

Attachment: d_MOS1.h
Description: Binary data

Attachment: gnucapMODULE.h.xsl
Description: Binary data

Attachment: MOS1.va
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]