help needed in Cadence SMV
- From: bhat.vi@xxxxxxxxx
- Date: 26 Feb 2006 16:01:12 -0800
Hi,
I am trying to execute following code
I get the error :
line 30 : recursively define : ph1.state
Can anyone help me to find out why this error is occuring and what is
the work around for the same
MODULE phone(ph_2_state)
{
state : {idle,ready,red};
init(state) := idle;
next(state) :=
case {
ph_2_state = ready & next(ph_2_state) = ready : ready;
1 :
{idle,ready};
};
}
MODULE phone1(ph_2_state)
{
state : {idle,ready,red};
init(state) := idle;
next(state) :=
case {
ph_2_state = ready & next(ph_2_state) = ready : idle;
1 :
{idle,ready};
};
}
module main()
{
ph1: process phone(ph2.state);
ph2: process phone1(ph1.state);
}
Regards,
Vimal
.
- Prev by Date: do not read
- Next by Date: Re: Mouse click and keystroke recorder
- Previous by thread: do not read
- Next by thread: QA vs Software Testing
- Index(es):
Relevant Pages
|
Loading