The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design Languages >> Verilog-AMS >> Verilog-A to C compiler
https://designers-guide.org/forum/YaBB.pl?num=1277409274

Message started by Ravi Ganti on Jun 24th, 2010, 12:54pm

Title: Verilog-A to C compiler
Post by Ravi Ganti on Jun 24th, 2010, 12:54pm

Hi

    I am looking for a Verilog-A to C compiler. The functionality i desire to achieve is to simulate the Verilog-A code using Spectre and generate I-V curves and do the same by converting Verilog-A into C code and then by using HSPICE generate I-V curves. Then i wanted to compare both of them. Any help in this regard is greatly appreciated.

Thanks in advance.
Ravi Ganti

Title: Re: Verilog-A to C compiler
Post by patrick on Jun 24th, 2010, 1:07pm

Hi Ravi,

HSPICE supports Verilog-A since 2005.03

Patrick

Title: Re: Verilog-A to C compiler
Post by Ravi Ganti on Jun 28th, 2010, 5:00pm

Hi Patrick,

          I actually want to run Verilog-a code using NGSPICE which is an open source version of SPICE. In this regard i was planning to convert Verilog-a into C and then use this C code to run in NGSPICE.

In this regard i am looking for Verilog-a to C compiler. I am new to both NGSPICE and also Verilog-a but took this project as an academic project. Your help in this regard is highly appreciated.

Thanks
Ravi Ganti

Title: Re: Verilog-A to C compiler
Post by patrick on Jun 28th, 2010, 5:39pm

Use ADMS, see:

http://ngspice.sourceforge.net/adms.html

Title: Re: Verilog-A to C compiler
Post by Ravi Ganti on Jun 30th, 2010, 4:17pm

Hi Patrick,

      Thanks for the link. The information proved very useful. I have some issues when i try to install ADMS source code. I was wondering if you can help me with it. The following is the error message which i am getting while trying to install ADMS:
This message showed up on my terminal when i tried ./configure

checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether the C++ compiler works... no
configure: error: in `/home/ganti/Desktop/Summer_Project/Compiler related/adms-2.2.9':
configure: error: C++ compiler cannot create executables
See `config.log' for more details.


Thanks
Ravi Ganti

Title: Re: Verilog-A to C compiler
Post by Ravi Ganti on Jun 30th, 2010, 5:09pm

I just recognized that i did not have g++ installed which is one reason why i might be getting that error. I am checking for other missing programs, which could have caused my ./configure to stop.

Thanks
Ravi Ganti

Title: Re: Verilog-A to C compiler
Post by Geoffrey_Coram on Jul 1st, 2010, 5:44am


Ravi Ganti wrote on Jun 30th, 2010, 4:17pm:
I have some issues when i try to install ADMS source code. I was wondering if you can help me with it.


The SourceForge site is a better place to get help for ADMS; there's a contact e-mail for the developer (Laurent Lemaitre).

Title: Re: Verilog-A to C compiler
Post by Ravi Ganti on Jul 1st, 2010, 10:59am

Thanks, for extended support.

Best
Ravi Ganti

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.