Why is 'ddiscrete' not allowed in verilog-AMS simulation?

Status
Not open for further replies.

ruwan2

Member level 5
Joined
Nov 29, 2011
Messages
90
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
2,141
Hi,

I see the below code from verilog-AMS reference book.





When I run simulation of it in SMASH 6.3.0, it has error message:

ERROR: syntax error near discrete
C:\Users\rj\Documents\SMASH_Verilog_AMS_prj\one_bit_dac.vams(27): discrete dnet1a;

I have included `include "disciplines.vams". And that file has ddiscrete definition:

discipline logic
domain discrete;
enddiscipline

discipline ddiscrete
domain discrete;
enddiscipline


What is a solution for this? The AMS standard, or the EDA software?


Thanks,
 
Last edited:

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…