The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 19th, 2024, 8:44pm
Pages: 1
Send Topic Print
porting verilog-A code from unix to windows in hsp (Read 3257 times)
robertosung
New Member
*
Offline



Posts: 2

porting verilog-A code from unix to windows in hsp
Jan 09th, 2007, 6:54pm
 
Hi,
I have a verilog-A code that runs on unix version of hspice. But it doesn't run in
windows xp even though I have the hsp-vacomp license. The file name is
tx_datagen.va and it complains that tx_datagen.cml is not found. SO I tried
to compile it in the command prompt window.

hsp-vacomp -V 2 -W 2 -I ..\ -o tx_datagen.cml -M tx_datagen.va

It gave me the following warnings

Warning: module 'tx_datagen', memory state: 'sd_future'

to all of the following variables

  real voutodd,       voutoddnext,   voutodd_1;  
  real voutoddb,      voutoddbnext,  voutoddb_1;
  real voutoddlead,   voutoddlag,    voutoddlead_1,   voutoddlag_1;
  real voutoddblead,  voutoddblag,   voutoddblead_1,  voutoddblag_1;
  real sd_past,       sd_now,        sd_future;
  real tap111lead,    tap111lag,     tap110lead,      tap110lag;
  real tap101lead,    tap101lag,     tap100lead,      tap100lag;
  real tap011lead,    tap011lag,     tap010lead,      tap010lag;
  real tap001lead,    tap001lag,     tap000lead,      tap000lag;
 
Is there a syntax change between the two operating systems?

Thanks in advance


Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: porting verilog-A code from unix to windows in
Reply #1 - Jan 10th, 2007, 10:04am
 
Do you have the same version of HSpice installed on both platforms?  It sounds like maybe you have a newer (smarter) version installed on unix.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
robertosung
New Member
*
Offline



Posts: 2

Re: porting verilog-A code from unix to windows in
Reply #2 - Jan 10th, 2007, 11:56am
 
Actuall, I am using the same hspice version in both unix and windows which is
2006.09
It doesn't give any errors other than the warnings about memory state.
But it doesn't generate a cml file.

Thanks, Roberto
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: porting verilog-A code from unix to windows in
Reply #3 - Jan 11th, 2007, 4:02am
 
I've never used HSpice on Windows, so I can't help much.  Just a few thoughts.

Does the .val (verilog-a log) say anything?

Have you ever successfully compiled a VA model on Windows?  Does it usually put them in a model-cache directory?  Is there anything there, and/or is the directory writable?  Do you have all the `include files (disciplines.vams, constants.vams)?
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.