[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: icarus, fork, and recursive tasks
> > mcu_cson (address);
> > mcu_wron (address);
> > join
> > mcu_state = 2;
>
> I don't think you want two different assignments to the same reg,
> mcu_state in the same begin end block. A begin end block is not
> procedural, not top to bottom, all at once.
That part works fine, because the mcu_* functions do a #delay before
the join. It's basically this:
mcu_state = 1;
#10
mcu_state = 2;
mcu_state is just an internal variable I can watch in gtkwave.
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user