The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 19th, 2024, 4:13am
Pages: 1
Send Topic Print
a error about the 'always' process of verilog-a (Read 3038 times)
Big Data
New Member
*
Offline



Posts: 1

a error about the 'always' process of verilog-a
Jan 19th, 2016, 8:06am
 
does anyone know how to solve this error?(i'm using hspice2010):
pvaE* Not support Verilog-D syntax!!! 'always'
     file "adc.va", line# 14
always @(posedge clk)begin
     
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1998
Massachusetts, USA
Re: a error about the 'always' process of verilog-a
Reply #1 - Jan 19th, 2016, 10:04am
 
always is part of Verilog-AMS (or digital Verilog); it is not supported in Verilog-A.

You could try using the cross event

 @(cross(V(clk) - vth)) begin
Back to top
 
 

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



Posts: 67

Re: a error about the 'always' process of verilog-a
Reply #2 - Aug 6th, 2016, 7:43am
 
you can also use @(above(expr)) statement.

Thanks.
Back to top
 
 
View Profile   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.