Is this example from verilog-AMS LRM wrong?

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
Visit site
Activity points
2,141
Hi,

I dig deep trying to use an ADC example from verilog-AMS LRM. It has errors:




for the module:




In the example, " V(out) <+ transition(result, dly, ttime);", 'out' is not a branch. It is a port. Is LRM wrong or SMASH wrong for this problem?
 

Although it's tempting to be snarky about the quality of code in the LRM and do nothing else, I resisted that temptation. I setup a quick simulation with Cadence's tool irun, and it compiled without any error.

Therefore, I think it is either a problem with SMASH itself or with something else in your design. I'd bet that it is something else in your design.

A random guess, can it possibly be that there is another source driving the output of this adc block? If not, maybe you could show what you have connected the block.
 

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…