RE: Related Question [Re: your question about digital variable access]


Subject: RE: Related Question [Re: your question about digital variable access]
From: Ian Wilson (imw@antrim.com)
Date: Wed Mar 21 2001 - 12:11:20 PST


Just a quick note on non-blocking event semantics.

This example was introduced in one of the emails:

    analog begin
        @np;
        .. more actions ..
    end

with the intention of waiting for an event on np and then performing
"more actions". The above snippet doesn't do that - since there are
no blocking events in analog behavioral code, it will behave in the
same way as if "@np;" was removed from the block.

To achieve the desired effect you probably need something like:

    real v;
    analog begin
        @(np) v = np;
        V(out) <+ v;
    end

--ian



This archive was generated by hypermail 2b28 : Wed Mar 21 2001 - 12:08:06 PST